graph nan need help!
Moderators: Developers, Moderators
-
- Posts: 34
- Joined: Thu Dec 27, 2007 3:07 am
graph nan need help!
hi,ererybody:
i make a graph by using a php command to get the value form a txt.
this command worked fine,and output is like:
cacti@Cacti-Monitor:/usr/local> php -q /usr/local/apache/htdocs/cacti/scripts/gcfe_check1.php
ATM:115 POS:65
but in graph ,i only make the ATM correct, POS show nan!
my cacti is 0.87d pla2.4
can somebody help me ???please~~~
i make a graph by using a php command to get the value form a txt.
this command worked fine,and output is like:
cacti@Cacti-Monitor:/usr/local> php -q /usr/local/apache/htdocs/cacti/scripts/gcfe_check1.php
ATM:115 POS:65
but in graph ,i only make the ATM correct, POS show nan!
my cacti is 0.87d pla2.4
can somebody help me ???please~~~
- Attachments
-
- pos_nan.JPG (31.41 KiB) Viewed 2249 times
-
- Posts: 34
- Joined: Thu Dec 27, 2007 3:07 am
i take a look on cacti.log use debug mode,just found :
SCRIPT: php -q /usr/local/apache/htdocs/cacti/scripts/gcfe_check1.php, output: ATM:69
but on the cacti box,i ran this script command like this:
php -q /usr/local/apache/htdocs/cacti/scripts/gcfe_check1.php
ATM:69 POS:90
why i lose POS:90
please help~~~
thanks alot!
SCRIPT: php -q /usr/local/apache/htdocs/cacti/scripts/gcfe_check1.php, output: ATM:69
but on the cacti box,i ran this script command like this:
php -q /usr/local/apache/htdocs/cacti/scripts/gcfe_check1.php
ATM:69 POS:90
why i lose POS:90
please help~~~
thanks alot!
-
- Posts: 34
- Joined: Thu Dec 27, 2007 3:07 am
-
- Posts: 34
- Joined: Thu Dec 27, 2007 3:07 am
Who is online
Users browsing this forum: No registered users and 0 guests