Why does cacti hate me -- no graph data

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
LiquidJ
Posts: 1
Joined: Mon Mar 28, 2011 3:54 pm

Why does cacti hate me -- no graph data

Post by LiquidJ »

I've created a script query to retrieve some snmp values that have an inaccessible index. Cacti is pulling in the data ok (the verbose query shows the correct values), but I cannot get cacti to graph my values. I created a data template, graph template, and associated everything. Cacti will create the data sources but it doesn't seem to want to fill in some of the values. The rra files are never created, the data source debug shows the correct rrdtool command to create the file, but it doesn't actually happen. Also, it isn't filling in the index value for the data source.

I manually created the rra file and added the index value, but I'm still not getting any graph data, I don't see an update command for the host either, here is a copy of the log file (note: host in question has id of 2):

04/07/2011 03:20:22 PM - RECACHE STATS: RecacheTime:19.4797 HostsRecached:1
04/07/2011 03:20:22 PM - PCOMMAND: Poller[0] Host[2] RECACHE: Recache successful.
04/07/2011 03:20:02 PM - PCOMMAND: Poller[0] Host[2] RECACHE: Recache for Host, data query #10
04/07/2011 03:20:02 PM - PCOMMAND: Poller[0] Host[2] WARNING: Recache Event Detected for Host
04/07/2011 03:20:02 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/html/cacti/poller_commands.php"]
04/07/2011 03:20:02 PM - SYSTEM STATS: Time:0.7106 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:7 RRDsProcessed:6
04/07/2011 03:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/b3s4bcms_traffic_in_8.rrd --template traffic_out:traffic_in 1302204002:2240830077:2605628455
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] Time: 0.2322 s, Theads: N/A, Hosts: 2
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v1: 10.30.0.55, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 2240830077
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v1: 10.30.0.55, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 2605628455
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] ASSERT: '76=U' failed. Recaching host '10.30.0.55', data query #10
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] Host[2] DS[8] *SKIPPING* Script Server: .1.3.6.1.2.1.2.2.1.10.3 (PHP < 4.3)
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] Host[2] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0, output: 386861728
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] Host[2] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 2 items in the auto reindex cache for '10.30.0.55'.
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
04/07/2011 03:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_proc_7.rrd --template proc 1302204002:86
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /var/www/html/cacti/scripts/unix_processes.pl, output: 86
04/07/2011 03:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_users_6.rrd --template users 1302204002:1
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /var/www/html/cacti/scripts/unix_users.pl , output: 1
04/07/2011 03:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1302204002:0.16:0.12:0.09
04/07/2011 03:20:02 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.09' [map 10min->load_15min]
04/07/2011 03:20:02 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.12' [map 5min->load_5min]
04/07/2011 03:20:02 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.16' [map 1min->load_1min]
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:0.16 5min:0.12 10min:0.09
04/07/2011 03:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap 1302204002:2022440
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 2022440
04/07/2011 03:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1302204002:79612
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:, output: 79612
04/07/2011 03:20:02 PM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.06 ms)
04/07/2011 03:20:02 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]
04/07/2011 03:20:02 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'


hope someone can help me figure this out.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Why does cacti hate me -- no graph data

Post by gandalf »

I'm at a loss. Is this an indexed query or is it a plain script? Please show us how you call that script and add the output as well
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests