Hi everyone,
I installed cacti and using it first time. But i 've got a problem about displaying all of graph with the same error as below:
All graph of devices I added are the same error like that. RRDTool Say:OK but the figure display -nan parameter
Please help me to solve it. Any feedbacks i really approciate!
Thanks very much and have a nice work week!!
the problem about display graph
Moderators: Developers, Moderators
Re: the problem about display graph
Check cacti log.
Run poller.php from cli.
php /var/www/html/cacti/poller.php
Any errors?
Run poller.php from cli.
php /var/www/html/cacti/poller.php
Any errors?
Re: the problem about display graph
Hi All,
I am facing the same issue regarding incomplete Graph from cacti console. Its not displaying the graph post 3rd of March.
To check the issue I manually executed php /var/www/html/cacti/poller.php and below is the output. After few lines of "ok" it goes into infinite loop of "Waiting on 1 of 1 pollers". can anyone help in this or need any logs to troubleshoot. Thanks
[root@dalccacd00 ~]# cd /var/www/html/cacti
[root@dalccacd00 cacti]# php poller.php
03/15/2016 01:49:05 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '95234', Max Runtime '298', Poller Runs: '1'
03/15/2016 01:49:05 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 95234 seconds have passed since the last poll!
03/15/2016 01:49:05 AM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Issues Found: 1, Data Sources: traffic_out(DS[2150])
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
OK u:0.00 s:0.00 r:0.55
Waiting on 1 of 1 pollers.
OK u:0.00 s:0.00 r:0.55
Waiting on 1 of 1 pollers.
OK u:0.00 s:0.00 r:0.56
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
OK u:0.00 s:0.00 r:0.56
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
OK u:0.00 s:0.00 r:0.57
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
03/15/2016 01:49:20 AM - CMDPHP: Poller[0] WARNING: Cacti Master Poller process terminated by user
03/15/2016 01:49:20 AM - POLLER: Poller[0] WARNING: Termination poller process with pid '8999'
#########################################
output of cacti log file "cacti.log" is as below.
03/15/2016 01:49:05 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '95234', Max Runtime '298', Poller Runs: '1'
03/15/2016 01:49:05 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 95234 seconds have passed since the last poll!
03/15/2016 01:49:05 AM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Issues Found: 1, Data Sources: traffic_out(DS[2150])
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.12 ms)
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /var/www/html/cacti/scripts/unix_processes.pl, output: 108
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /var/www/html/cacti/scripts/unix_users.pl , output: 3
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:, output: 79068
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 1048508
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:0.24 5min:0.05 10min:0.02
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] SNMP: Host responded to SNMP
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0, output: 1290643702
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] DS[3352] SNMP: v2: 172.17.10.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.202, output: 0
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] DS[3352] SNMP: v2: 172.17.10.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.202, output: 0
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] DS[3351] SNMP: v2: 172.17.10.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.201, output: 87303455018408
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] DS[3351] SNMP: v2: 172.17.10.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.201, output: 12830146143723
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] DS[3350] SNMP: v2: 172.17.10.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.200, output: 0
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] DS[1720] SNMP: v2: 172.17.10.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.74, output: 0
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] DS[1720] SNMP: v2: 172.17.10.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.74, output: 0
03/15/2016 01:49:07 AM - CMDPHP: Poller[0] Host[16] SNMP: Host responded to SNMP
03/15/2016 01:49:08 AM - CMDPHP: Poller[0] Host[16] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0, output: 2271479704
03/15/2016 01:49:09 AM - CMDPHP: Poller[0] Host[16] DS[2166] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:09 AM - CMDPHP: Poller[0] Host[16] DS[2166] SNMP: v2: 10.128.2.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.112, output: U
03/15/2016 01:49:09 AM - CMDPHP: Poller[0] Host[16] DS[2166] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:09 AM - CMDPHP: Poller[0] Host[16] DS[2166] SNMP: v2: 10.128.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.112, output: U
03/15/2016 01:49:10 AM - CMDPHP: Poller[0] Host[16] DS[2165] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:10 AM - CMDPHP: Poller[0] Host[16] DS[2165] SNMP: v2: 10.128.2.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.111, output: U
03/15/2016 01:49:11 AM - CMDPHP: Poller[0] Host[16] DS[2165] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:11 AM - CMDPHP: Poller[0] Host[16] DS[2165] SNMP: v2: 10.128.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.111, output: U
03/15/2016 01:49:12 AM - CMDPHP: Poller[0] Host[16] DS[2164] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:12 AM - CMDPHP: Poller[0] Host[16] DS[2164] SNMP: v2: 10.128.2.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.110, output: U
03/15/2016 01:49:13 AM - CMDPHP: Poller[0] Host[16] DS[2164] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:13 AM - CMDPHP: Poller[0] Host[16] DS[2164] SNMP: v2: 10.128.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.110, output: U
03/15/2016 01:49:13 AM - CMDPHP: Poller[0] Host[16] DS[2163] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:13 AM - CMDPHP: Poller[0] Host[16] DS[2163] SNMP: v2: 10.128.2.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.109, output: U
03/15/2016 01:49:14 AM - CMDPHP: Poller[0] Host[16] DS[2163] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:14 AM - CMDPHP: Poller[0] Host[16] DS[2163] SNMP: v2: 10.128.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.109, output: U
03/15/2016 01:49:15 AM - CMDPHP: Poller[0] Host[16] DS[2162] WARNING: Result from SNMP not valid. Partial Result: U
I am facing the same issue regarding incomplete Graph from cacti console. Its not displaying the graph post 3rd of March.
To check the issue I manually executed php /var/www/html/cacti/poller.php and below is the output. After few lines of "ok" it goes into infinite loop of "Waiting on 1 of 1 pollers". can anyone help in this or need any logs to troubleshoot. Thanks
[root@dalccacd00 ~]# cd /var/www/html/cacti
[root@dalccacd00 cacti]# php poller.php
03/15/2016 01:49:05 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '95234', Max Runtime '298', Poller Runs: '1'
03/15/2016 01:49:05 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 95234 seconds have passed since the last poll!
03/15/2016 01:49:05 AM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Issues Found: 1, Data Sources: traffic_out(DS[2150])
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
OK u:0.00 s:0.00 r:0.55
Waiting on 1 of 1 pollers.
OK u:0.00 s:0.00 r:0.55
Waiting on 1 of 1 pollers.
OK u:0.00 s:0.00 r:0.56
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
OK u:0.00 s:0.00 r:0.56
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
OK u:0.00 s:0.00 r:0.57
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
03/15/2016 01:49:20 AM - CMDPHP: Poller[0] WARNING: Cacti Master Poller process terminated by user
03/15/2016 01:49:20 AM - POLLER: Poller[0] WARNING: Termination poller process with pid '8999'
#########################################
output of cacti log file "cacti.log" is as below.
03/15/2016 01:49:05 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '95234', Max Runtime '298', Poller Runs: '1'
03/15/2016 01:49:05 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 95234 seconds have passed since the last poll!
03/15/2016 01:49:05 AM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Issues Found: 1, Data Sources: traffic_out(DS[2150])
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.12 ms)
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /var/www/html/cacti/scripts/unix_processes.pl, output: 108
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /var/www/html/cacti/scripts/unix_users.pl , output: 3
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:, output: 79068
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 1048508
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:0.24 5min:0.05 10min:0.02
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] SNMP: Host responded to SNMP
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0, output: 1290643702
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] DS[3352] SNMP: v2: 172.17.10.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.202, output: 0
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] DS[3352] SNMP: v2: 172.17.10.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.202, output: 0
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] DS[3351] SNMP: v2: 172.17.10.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.201, output: 87303455018408
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] DS[3351] SNMP: v2: 172.17.10.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.201, output: 12830146143723
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] DS[3350] SNMP: v2: 172.17.10.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.200, output: 0
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] DS[1720] SNMP: v2: 172.17.10.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.74, output: 0
03/15/2016 01:49:06 AM - CMDPHP: Poller[0] Host[12] DS[1720] SNMP: v2: 172.17.10.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.74, output: 0
03/15/2016 01:49:07 AM - CMDPHP: Poller[0] Host[16] SNMP: Host responded to SNMP
03/15/2016 01:49:08 AM - CMDPHP: Poller[0] Host[16] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0, output: 2271479704
03/15/2016 01:49:09 AM - CMDPHP: Poller[0] Host[16] DS[2166] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:09 AM - CMDPHP: Poller[0] Host[16] DS[2166] SNMP: v2: 10.128.2.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.112, output: U
03/15/2016 01:49:09 AM - CMDPHP: Poller[0] Host[16] DS[2166] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:09 AM - CMDPHP: Poller[0] Host[16] DS[2166] SNMP: v2: 10.128.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.112, output: U
03/15/2016 01:49:10 AM - CMDPHP: Poller[0] Host[16] DS[2165] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:10 AM - CMDPHP: Poller[0] Host[16] DS[2165] SNMP: v2: 10.128.2.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.111, output: U
03/15/2016 01:49:11 AM - CMDPHP: Poller[0] Host[16] DS[2165] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:11 AM - CMDPHP: Poller[0] Host[16] DS[2165] SNMP: v2: 10.128.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.111, output: U
03/15/2016 01:49:12 AM - CMDPHP: Poller[0] Host[16] DS[2164] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:12 AM - CMDPHP: Poller[0] Host[16] DS[2164] SNMP: v2: 10.128.2.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.110, output: U
03/15/2016 01:49:13 AM - CMDPHP: Poller[0] Host[16] DS[2164] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:13 AM - CMDPHP: Poller[0] Host[16] DS[2164] SNMP: v2: 10.128.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.110, output: U
03/15/2016 01:49:13 AM - CMDPHP: Poller[0] Host[16] DS[2163] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:13 AM - CMDPHP: Poller[0] Host[16] DS[2163] SNMP: v2: 10.128.2.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.109, output: U
03/15/2016 01:49:14 AM - CMDPHP: Poller[0] Host[16] DS[2163] WARNING: Result from SNMP not valid. Partial Result: U
03/15/2016 01:49:14 AM - CMDPHP: Poller[0] Host[16] DS[2163] SNMP: v2: 10.128.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.109, output: U
03/15/2016 01:49:15 AM - CMDPHP: Poller[0] Host[16] DS[2162] WARNING: Result from SNMP not valid. Partial Result: U
Re: the problem about display graph
Is all graphs not showing? Not a single one?
Is all your devices reported as UP on the devices screen?
IF you run snmp manually to the host from the cacti server, is it working?
Is all your devices reported as UP on the devices screen?
IF you run snmp manually to the host from the cacti server, is it working?
Re: the problem about display graph
Hi,
1> Yes none of the graphs are showing on my cacti console.
2> Yes devices are showing up, Please find attached screenshot for the same.
3> Below is the output of snmpwalk from cacti server.
[root@dalccacd00 ~]# snmpwalk -v 1 -c public localhost sysname
SNMPv2-MIB::sysName.0 = STRING: dalccacd00.fossil.com
[root@dalccacd00 ~]# snmpwalk -v 1 -c cr3ativ3 10.128.2.7 sysname
SNMPv2-MIB::sysName.0 = STRING: FHKAD1FSW01.fossil.com
[root@dalccacd00 ~]# snmpwalk -v 1 -c URv1nT@g3 10.128.2.7 sysname
SNMPv2-MIB::sysName.0 = STRING: FHKAD1FSW01.fossil.com
Let me know any more output required.
1> Yes none of the graphs are showing on my cacti console.
2> Yes devices are showing up, Please find attached screenshot for the same.
3> Below is the output of snmpwalk from cacti server.
[root@dalccacd00 ~]# snmpwalk -v 1 -c public localhost sysname
SNMPv2-MIB::sysName.0 = STRING: dalccacd00.fossil.com
[root@dalccacd00 ~]# snmpwalk -v 1 -c cr3ativ3 10.128.2.7 sysname
SNMPv2-MIB::sysName.0 = STRING: FHKAD1FSW01.fossil.com
[root@dalccacd00 ~]# snmpwalk -v 1 -c URv1nT@g3 10.128.2.7 sysname
SNMPv2-MIB::sysName.0 = STRING: FHKAD1FSW01.fossil.com
Let me know any more output required.
- Attachments
-
- Screenshot for cacti console
- cacti1.png (270.21 KiB) Viewed 1130 times
Re: the problem about display graph
gmishra wrote:Hi,
1> Yes none of the graphs are showing on my cacti console.
2> Yes devices are showing up, Please find attached screenshot for the same.
3> Below is the output of snmpwalk from cacti server.
[root@dalccacd00 ~]# snmpwalk -v 1 -c public localhost sysname
SNMPv2-MIB::sysName.0 = STRING:
[root@dalccacd00 ~]# snmpwalk -v 1 -c sysname
SNMPv2-MIB::sysName.0 = STRING
[root@dalccacd00 ~]# snmpwalk -v 1 -c sysname
SNMPv2-MIB::sysName.0 = STRING:
Let me know any more output required.
Remove your community and dns and ipaddress names from the post. Little bit to much information.
You are testing with version 1.
Test with version 2 that cacti is configured with. Try this OID for example as its failing in the log:
03/15/2016 01:49:09 AM - CMDPHP: Poller[0] Host[16] DS[2166] SNMP: v2: 10.128.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.112, output: U
Who is online
Users browsing this forum: No registered users and 3 guests