(Yes I've searched and read through the discussion board )
I've installed cacti 0.84 on Windows 2000. I have it setup and running.
I have data polling, and when I run the cmd.php file manually I get data returned. When I run the cmd.php file via a scheduled task I can see that the cmd.php file is returning data, but the rrd files are only being updated with NaN.
I've tried running from a batch file, and also from a full command line, etc.. without luck.
I've checked the permissions on all the files and I've for the moment assigned everyone full permissions on all of the files and folders.
Can anyone offer any suggestions?
cmd.php NaN php.exe arghhhh [FIXED!]
Moderators: Developers, Moderators
-
- Posts: 14
- Joined: Thu Jan 08, 2004 6:27 pm
- Location: Melbourne, Australia
cmd.php NaN php.exe arghhhh [FIXED!]
- Attachments
-
- cactiupdatestats.txt
- This is the batch file I'm using to run cmd.php
- (54 Bytes) Downloaded 199 times
Last edited by evilbender on Wed Feb 18, 2004 2:30 am, edited 1 time in total.
If you are seeing NaN's in your RRD files, they are probably not being updated at all. My intuition tells me permissions. You have the permissions set so rrdtool.exe can write to ALL of the files in Cacti's 'rra/' directory? Also you should make sure that the user cmd.php runs as has permission to execute rrdtool.exe.
-Ian
-Ian
-
- Posts: 14
- Joined: Thu Jan 08, 2004 6:27 pm
- Location: Melbourne, Australia
Still no go...
Yeah i've definantly checked the permissions. I've just re-assigned EVERYONE full read, write, execute access to all the files. Including perl, etc...
Still no go...
Still no go...
rrdtoll Manual (http://people.ee.ethz.ch/~oetiker/webto ... reate.html):
You can make a dump of your rrd file with:
Greetings from Luxembourg, Eric
What is your min and max and what are the values you are trying to put in the rrd?rrdtool create filename [--start|-b start time] [--step|-s step] [DS:ds-name:DSTmin:max] [RRA:CF:xff:steps:rows]
...
min and max are optional entries defining the expected range of the data supplied by this data source. If min and/or max are defined, any value outside the defined range will be regarded as *UNKNOWN*.
...
You can make a dump of your rrd file with:
and check the min max values and the last time the rrd file was updated.rrdtool dump filename.rrd > filename.xml
Greetings from Luxembourg, Eric
-
- Posts: 14
- Joined: Thu Jan 08, 2004 6:27 pm
- Location: Melbourne, Australia
Eric thanks for your reply.
I've read through the manual quite a few times.. I've also found that if I run the command manually from a dos prompt while logged in as the Administrator account the graphs will update.
c:\php\php.exe cmd.php
Strange... Can anyone offier any suggestions
I've read through the manual quite a few times.. I've also found that if I run the command manually from a dos prompt while logged in as the Administrator account the graphs will update.
c:\php\php.exe cmd.php
Strange... Can anyone offier any suggestions
- Attachments
-
- cisco-pix.zip
- XML dump of one ot he rrd files.
- (39.15 KiB) Downloaded 177 times
-
- Posts: 14
- Joined: Thu Jan 08, 2004 6:27 pm
- Location: Melbourne, Australia
It's ALIVE!
Thanks for the help, as it turns out our new sys admin has been playing with service accounts.
Now I'm off to throttle the bugger.
Now I'm off to throttle the bugger.
Who is online
Users browsing this forum: No registered users and 3 guests