Thank you for your offer of help.
I created a new test for this... a test of
using 'Ping Latency'. It works from the commandline:
Here is part of the logfile. The logfile itself is over 800-lines long, so I'll only include the first couple dozen lines and several seconds around "Google"
Code: Select all
01/27/2006 12:45:09 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item"
01/27/2006 12:45:09 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id from host where disabled = '' order by id"
01/27/2006 12:45:09 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('path_webroot','/srv/www/htdocs/cacti')"
01/27/2006 12:45:09 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_time"
01/27/2006 12:45:09 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /srv/www/htdocs/cacti/cmd.php 0 35]
01/27/2006 12:45:10 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('date',NOW())"
01/27/2006 12:45:10 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
01/27/2006 12:45:10 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)"
01/27/2006 12:45:11 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
01/27/2006 12:45:11 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)"
01/27/2006 12:45:12 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from host where (disabled = '' and id >= 0 and id <= 35) ORDER by id"
01/27/2006 12:45:12 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT * from poller_item WHERE (host_id >= 0 and host_id <= 35) ORDER by host_id"
01/27/2006 12:45:12 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
01/27/2006 12:45:12 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)"
01/27/2006 12:45:12 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "SELECT count(*) from poller_item WHERE (action=2 AND (host_id >= 0 and host_id <= 35))"
01/27/2006 12:45:12 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
01/27/2006 12:45:12 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '3', status_event_count = '0', status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = '', min_time = '0.00000', max_time = '0.00000', cur_time = '0', avg_time = '0', total_polls = '14', failed_polls = '0', availability = '100' where hostname = '127.0.0.1'"
01/27/2006 12:45:12 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
01/27/2006 12:45:12 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_reindex.data_query_id, poller_reindex.action, poller_reindex.op, poller_reindex.assert_value, poller_reindex.arg1 from poller_reindex where poller_reindex.host_id=1"
01/27/2006 12:45:12 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /srv/www/htdocs/cacti/scripts/linux_memory.pl MemFree:, output: 2516
>>> SNIP <<<
01/27/2006 12:46:47 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
01/27/2006 12:46:47 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)"
01/27/2006 12:46:47 PM - CMDPHP: Poller[0] Host[31] SNMP: Host did not respond to SNMP
01/27/2006 12:46:47 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '1', status_event_count = '13', status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = 'Host did not respond to SNMP', min_time = '9.99999', max_time = '0.00000', cur_time = '0.00000', avg_time = '0.00000', total_polls = '14', failed_polls = '14', availability = '0' where hostname = 'HOST3.REMOVED2.com'"
01/27/2006 12:46:48 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
01/27/2006 12:46:48 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)"
01/27/2006 12:46:49 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
01/27/2006 12:46:49 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)"
01/27/2006 12:46:49 PM - CMDPHP: Poller[0] Host[35] SNMP: Host did not respond to SNMP
01/27/2006 12:46:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '1', status_event_count = '0', status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = 'Host did not respond to SNMP', min_time = '9.99999', max_time = '0.00000', cur_time = '0.00000', avg_time = '0.00000', total_polls = '1', failed_polls = '1', availability = '0' where hostname = 'www.google.com'"
01/27/2006 12:46:49 PM - CMDPHP: Poller[0] Time: 96.6888 s, Theads: N/A, Hosts: 28
01/27/2006 12:46:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
01/27/2006 12:46:50 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
01/27/2006 12:46:50 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)"
01/27/2006 12:46:50 PM - SYSTEM STATS: Time:100.6011 Method:cmd.php Processes:1 Threads:N/A Hosts:29 HostsPerProcess:29 DataSources:166 RRDsProcessed:76
01/27/2006 12:46:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:100.6011 Method:cmd.php Processes:1 Threads:N/A Hosts:29 HostsPerProcess:29 DataSources:166 RRDsProcessed:76')"
01/27/2006 12:46:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_output"
01/27/2006 12:46:50 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"