Hi all,
I keep getting this "nan" string next to my current title in the graph legend. My graphs and rrd's are generated but nothing shows up on the graph itself.
Thanks for all the help in advance.
"nan" string next to current in graph
Moderators: Developers, Moderators
wait until poller.php is executed at least 4 times
- wait until poller.php is executed at least 4 times
- if nothing shows up after that, go to "Settings", set the "Poller Logging Level" to DEBUG and check cacti's log file for any errors.
- if nothing shows up after that, go to "Settings", set the "Poller Logging Level" to DEBUG and check cacti's log file for any errors.
-
- Posts: 7
- Joined: Thu Dec 02, 2004 10:16 am
RE
Please see this thread as I'm seeing this in the log file now in DEBUG mode:
"12/02/2004 11:15:04 AM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:"
I had poller.php in my crontab but in settings it mentions cmd.php.
http://forums.cacti.net/viewtopic.php?t=5672
Thanks again.
"12/02/2004 11:15:04 AM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:"
I had poller.php in my crontab but in settings it mentions cmd.php.
http://forums.cacti.net/viewtopic.php?t=5672
Thanks again.
Please execute poller.php by hand
Please execute poller.php by hand (from the command line) and post the output.
Your settings are ok.
Your settings are ok.
-
- Posts: 7
- Joined: Thu Dec 02, 2004 10:16 am
poller.php output
Here goes:
[root@wshs-dns log]# php /var/www/html/cacti/poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.2
12/02/2004 01:14:03 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cacti/cmd.php 0 2]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
12/02/2004 01:14:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap 1102011243:494412
12/02/2004 01:14:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1102011243:8900
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
12/02/2004 01:14:05 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_proc_7.rrd --template proc 1102011243:125
12/02/2004 01:14:05 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_hdd_free_11.rrd --template hdd_used:hdd_free 1102011243:2224836:9577940
12/02/2004 01:14:05 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_nxdomain_15.rrd --template 1102011243:U
12/02/2004 01:14:05 PM - SYSTEM STATS: Time: 2.0822 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
OK u:0.00 s:0.00 r:2.03
OK u:0.00 s:0.00 r:2.03
ERROR: Not enough arguments
OK u:0.00 s:0.00 r:2.03
[root@wshs-dns log]# php /var/www/html/cacti/poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.2
12/02/2004 01:14:03 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cacti/cmd.php 0 2]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
12/02/2004 01:14:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap 1102011243:494412
12/02/2004 01:14:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1102011243:8900
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
12/02/2004 01:14:05 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_proc_7.rrd --template proc 1102011243:125
12/02/2004 01:14:05 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_hdd_free_11.rrd --template hdd_used:hdd_free 1102011243:2224836:9577940
12/02/2004 01:14:05 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_nxdomain_15.rrd --template 1102011243:U
12/02/2004 01:14:05 PM - SYSTEM STATS: Time: 2.0822 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
OK u:0.00 s:0.00 r:2.03
OK u:0.00 s:0.00 r:2.03
ERROR: Not enough arguments
OK u:0.00 s:0.00 r:2.03
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Running in DEBUG will identify the problem script.ERROR: Not enough arguments
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 0 guests