We are running cacti-0.8.6j with cmd.php on FreeBSD 4, php4, apache 1.3, rrdtool 1.0.41 -- cacti is patched to support the php4 snmp calls.
I have a some questions about the SQL Exec entry in cacti.log where is 'truncates table poller_output'
Is this an error or a process?
What is it doing exactly?
Could this be the cause of my problem?
Here is the tail of my last poller run:
Here is the tail of my last cacti.log:# tail log/cacti.log
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_224.rrd --template traffic_in:traffic_out 1184260201:227565377:702154027
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_225.rrd --template traffic_out:traffic_in 1184260201:3232840:0
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_226.rrd --template traffic_in:traffic_out 1184260201:564391289:641701871
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_227.rrd --template traffic_out:traffic_in 1184260201:2133107715:4124034983
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_228.rrd --template traffic_out:traffic_in 1184260201:3818025678:385213496
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_229.rrd --template traffic_out:traffic_in 1184260201:4776098:1920591
07/12/2007 05:10:02 PM - SYSTEM STATS: Time: 1.2066 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 6, Hosts/Process: 6
07/12/2007 05:10:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_command.action, poller_command.command from poller_command where poller_command.poller_id=0"
07/12/2007 05:10:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update settings set value='8' where name='path_html_export_ctr'"
07/12/2007 05:10:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_output"
ux-utl01-atl-02# tail log/poller.log
OK u:0.00 s:0.01 r:1.12
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_226.rrd --template traffic_in:traffic_out 1184260201:564391289:641701871
OK u:0.00 s:0.01 r:1.12
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_227.rrd --template traffic_out:traffic_in 1184260201:2133107715:4124034983
OK u:0.00 s:0.01 r:1.12
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_228.rrd --template traffic_out:traffic_in 1184260201:3818025678:385213496
OK u:0.00 s:0.01 r:1.12
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_229.rrd --template traffic_out:traffic_in 1184260201:4776098:1920591
OK u:0.00 s:0.01 r:1.12
07/12/2007 05:10:02 PM - SYSTEM STATS: Time: 1.2066 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 6, Hosts/Process: 6
Can someone help me out with this one?# tail log/cacti.log
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_224.rrd --template traffic_in:traffic_out 1184260201:227565377:702154027
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_225.rrd --template traffic_out:traffic_in 1184260201:3232840:0
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_226.rrd --template traffic_in:traffic_out 1184260201:564391289:641701871
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_227.rrd --template traffic_out:traffic_in 1184260201:2133107715:4124034983
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_228.rrd --template traffic_out:traffic_in 1184260201:3818025678:385213496
07/12/2007 05:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/support/htdocs/cacti/rra/swcsc01atl02_traffic_in_229.rrd --template traffic_out:traffic_in 1184260201:4776098:1920591
07/12/2007 05:10:02 PM - SYSTEM STATS: Time: 1.2066 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 6, Hosts/Process: 6
07/12/2007 05:10:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_command.action, poller_command.command from poller_command where poller_command.poller_id=0"
07/12/2007 05:10:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update settings set value='8' where name='path_html_export_ctr'"
07/12/2007 05:10:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_output"