Hello Friends,
My cacti graphs are not populating however I can see that the SNMPGEt is getting data. Poller is able to get DATA and put it in MY SQL and even the rrd files are being created but when I do rrdtool fetch <file name> AVERAGE I get all NaN.
my cacti info is as under
-----------------------
Date Mon, 10 Dec 2012 23:28:52 +0300
Cacti Version 0.8.8a
Cacti OS unix
SNMP Version NET-SNMP version: 5.7.2
RRDTool Version RRDTool 1.4.x
Hosts 2
Graphs 9
Data Sources Script/Command: 5
SNMP: 1
SNMP Query: 4
Total: 10
Poller Information
Interval 300
Type cmd.php
Items Action[0]: 9
Action[1]: 5
Total: 14
Concurrent Processes 1
Max Threads 1
PHP Servers 1
Script Timeout 25
Max OID 10
Last Run Statistics Time:0.2422 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:14 RRDsProcessed:10
PHP Information
PHP Version 5.4.7
PHP OS FreeBSD
PHP uname FreeBSD cacti.waseltel.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
PHP SNMP Installed
max_execution_time 30
memory_limit 128M
the logs are as under :
------------------------
12/10/2012 11:25:00 PM - SYSTEM STATS: Time:0.2422 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:14 RRDsProcessed:10
12/10/2012 11:25:00 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/pdsn_traffic_in_12.rrd --template traffic_in:traffic_out 1355165700:92116869:3397751734
12/10/2012 11:25:00 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/pdsn_traffic_in_11.rrd --template traffic_out:traffic_in 1355165700:3498741943:1250524512
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Time: 0.1080 s, Theads: N/A, Hosts: 2
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v2: 172.16.2.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 3397751734
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v2: 172.16.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 92116869
12/10/2012 11:25:00 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/pdsn_traffic_in_10.rrd --template traffic_in:traffic_out 1355165700:979344092673:162311480622
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v2: 172.16.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 1250524512
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v2: 172.16.2.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 3498741943
12/10/2012 11:25:00 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/pdsn_traffic_in_9.rrd --template traffic_in:traffic_out 1355165700:160164238340:1034290292246
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v2: 172.16.2.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.2, output: 162311480622
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v2: 172.16.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.2, output: 979344092673
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v2: 172.16.2.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.1, output: 1034290292246
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v2: 172.16.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.1, output: 160164238340
12/10/2012 11:25:00 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/pdsn_5min_cpu_8.rrd --template 5min_cpu 1355165700:13
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v2: 172.16.2.1, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.2.1.58.0, output: 13
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[2] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0, output: 94744380
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[2] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '172.16.2.1'.
12/10/2012 11:25:00 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/localhost_proc_7.rrd --template proc 1355165700:68
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /usr/local/share/cacti/scripts/unix_processes.pl, output: 68
12/10/2012 11:25:00 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/localhost_users_6.rrd --template users 1355165700:2
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /usr/local/share/cacti/scripts/unix_users.pl , output: 2
12/10/2012 11:25:00 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1355165700:0.24:0.05:0.02
12/10/2012 11:25:00 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.02' [map 10min->load_15min]
12/10/2012 11:25:00 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.05' [map 5min->load_5min]
12/10/2012 11:25:00 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.24' [map 1min->load_1min]
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /usr/local/share/cacti/scripts/loadavg_multi.pl, output: 1min:0.24 5min:0.05 10min:0.02
12/10/2012 11:25:00 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap 1355165700:U
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /usr/local/share/cacti/scripts/linux_memory.pl SwapFree:, output: U
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[1] DS[4] WARNING: Result from CMD not valid. Partial Result: U
12/10/2012 11:25:00 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1355165700:U
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /usr/local/share/cacti/scripts/linux_memory.pl MemFree:, output: U
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid. Partial Result: U
12/10/2012 11:25:00 PM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.15 ms)
12/10/2012 11:25:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/bin/php, ARGS: -q "/usr/local/share/cacti/cmd.php" 0 2]
12/10/2012 11:25:00 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
12/10/2012 11:24:52 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1355084689 --end=1355171089 --title='PDSN - Traffic - Gi0/2' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2012/12/09 23\:24\:49 To 2012/12/10 23\:24\:49\c" COMMENT:" \n" --vertical-label='bits per second' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/local/share/cacti/rra/pdsn_traffic_in_12.rrd":'traffic_in':AVERAGE DEF:b="/usr/local/share/cacti/rra/pdsn_traffic_in_12.rrd":'traffic_out':AVERAGE CDEF:cdefa='a,8,*' CDEF:cdefe='b,8,*' AREA:cdefa#00CF00FF:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97FF:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"
12/10/2012 11:24:52 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1355084689 --end=1355171089 --title='PDSN - Traffic - Gi0/2' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2012/12/09 23\:24\:49 To 2012/12/10 23\:24\:49\c" COMMENT:" \n" --vertical-label='bits per second' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/local/share/cacti/rra/pdsn_traffic_in_10.rrd":'traffic_in':AVERAGE DEF:b="/usr/local/share/cacti/rra/pdsn_traffic_in_10.rrd":'traffic_out':AVERAGE CDEF:cdefa='a,8,*' CDEF:cdefe='b,8,*' AREA:cdefa#00CF00FF:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97FF:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"
12/10/2012 11:24:52 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1355084689 --end=1355171089 --title='PDSN - Traffic - Gi0/1' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2012/12/09 23\:24\:49 To 2012/12/10 23\:24\:49\c" COMMENT:" \n" --vertical-label='bits per second' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/local/share/cacti/rra/pdsn_traffic_in_11.rrd":'traffic_in':AVERAGE DEF:b="/usr/local/share/cacti/rra/pdsn_traffic_in_11.rrd":'traffic_out':AVERAGE CDEF:cdefa='a,8,*' CDEF:cdefe='b,8,*' AREA:cdefa#00CF00FF:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97FF:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"
12/10/2012 11:24:52 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1355084689 --end=1355171089 --title='PDSN - Traffic - Gi0/1' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2012/12/09 23\:24\:49 To 2012/12/10 23\:24\:49\c" COMMENT:" \n" --vertical-label='bits per second' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/local/share/cacti/rra/pdsn_traffic_in_9.rrd":'traffic_in':AVERAGE DEF:b="/usr/local/share/cacti/rra/pdsn_traffic_in_9.rrd":'traffic_out':AVERAGE CDEF:cdefa='a,8,*' CDEF:cdefe='b,8,*' AREA:cdefa#00CF00FF:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97FF:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"
12/10/2012 11:24:52 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1355084689 --end=1355171089 --title='PDSN - CPU Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2012/12/09 23\:24\:49 To 2012/12/10 23\:24\:49\c" COMMENT:" \n" --vertical-label='percent' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/local/share/cacti/rra/pdsn_5min_cpu_8.rrd":'5min_cpu':AVERAGE AREA:a#FF0000FF:"CPU Usage" GPRINTLAST:"Current\:%8.0lf" GPRINTAVERAGE:"Average\:%8.0lf" GPRINTMAX:"Maximum\:%8.0lf\n"
12/10/2012 11:20:01 PM - SYSTEM STATS: Time:0.2408 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:14 RRDsProcessed:10
12/10/2012 11:20:01 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/pdsn_traffic_in_12.rrd --template traffic_in:traffic_out 1355165401:4106803896:3362563639
12/10/2012 11:20:01 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/pdsn_traffic_in_11.rrd --template traffic_out:traffic_in 1355165401:3199943613:1210603291
12/10/2012 11:20:01 PM - CMDPHP: Poller[0] Time: 0.1070 s, Theads: N/A, Hosts: 2
12/10/2012 11:20:01 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v2: 172.16.2.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 3362563639
12/10/2012 11:20:01 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v2: 172.16.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 4106803896
Really cant figure out whats wrong... plase help
Cacti Graphs not Populating
Moderators: Developers, Moderators
Re: Cacti Graphs not Populating
I have the exact same problem...
If someone could help us !
Thanks
If someone could help us !
Thanks
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cacti Graphs not Populating
Please see debugging help at 2nd link of my sig
R.
R.
Who is online
Users browsing this forum: No registered users and 6 guests