
thold - Blank "Current" values
Hi Jimmy,
What would cause "empty" or "blank" current values for an element that seems to be working ok?
Specifically, I've working Thold notifications for DHCP, Partition info, CPU, but I've tried to add some new elements:
- Advanced Ping (loss) value, PING - Advanced Ping v1.3
- ucd Hard disk space, hdd_free
The hosts and elements are active, but theres no Current value being shown, and therefore I'm guessing no alerts.
I've checked the debug logs, and I'm best-guessing its something to do with the POPEN message (note: the POPEN message doesn't appear in the normal non-debug log).
In this example, SNMP is not in use for the host.
Heres the section from one host:
Code:
04/15/2007 06:00:05 PM - CACTID: Poller[0] DEBUG: MySQL Query ID '48': 'SELECT data_query_id, action, op, assert_value, arg1 FROM poller_reindex WHERE host_id=10'
04/15/2007 06:00:05 PM - CACTID: Poller[0] DEBUG: MySQL Query ID '48': OK
04/15/2007 06:00:05 PM - CACTID: Poller[0] DEBUG: MySQL Query ID '49': 'SELECT action, hostname, snmp_community, snmp_version, snmp_username, snmp_password, rrd_name, rrd_path, arg1, arg2, arg3, local_data_id, rrd_num, snmp_port, snmp_timeout FROM poller_item WHERE host_id=10 ORDER BY arg1'
04/15/2007 06:00:05 PM - CACTID: Poller[0] DEBUG: MySQL Query ID '49': OK
04/15/2007 06:00:05 PM - CACTID: Poller[0] Host[10] DEBUG: The POPEN returned the following File Descriptor 10
04/15/2007 06:00:05 PM - CACTID: Poller[0] Host[10] DS[272] SCRIPT: /usr/bin/perl /var/www/cacti/scripts/ping.pl iax-out.gradwell.com, output: 15.7
04/15/2007 06:00:05 PM - PHPSVR: Poller[0] DEBUG: INC: '/var/www/cacti/scripts/ss_fping.php' FUNC: 'ss_fping' PARMS: 'iax-out.gradwell.com 20 ICMP'
04/15/2007 06:00:05 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select thold_data.cdef, thold_data.rra_id, thold_data.data_id, thold_data.lastread, thold_data.oldvalue, data_template_rrd.data_source_name as name, data_template_rrd.data_source_type_id from thold_data LEFT JOIN data_template_rrd on (data_template_rrd.id = thold_data.data_id)"
04/15/2007 06:00:05 PM - CACTID: Poller[0] Host[10] DS[276] SS[0] SERVER: /var/www/cacti/scripts/ss_fping.php ss_fping iax-out.gradwell.com 20 ICMP , output: min:15.3900 avg:15.6395 max:15.9400 dev:0.1604 loss:0.0000
04/15/2007 06:00:05 PM - CACTID: Poller[0] DEBUG: MySQL Insert ID '20': 'INSERT INTO poller_output (local_data_id, rrd_name, time, output) VALUES (272,'ping','2007-04-15 18:00:04','15.7'),(276,'','2007-04-15 18:00:04','min:15.3900 avg:15.6395 max:15.9400 dev:0.1604 loss:0.0000')'
04/15/2007 06:00:05 PM - CACTID: Poller[0] DEBUG: MySQL Insert ID '20': OK
04/15/2007 06:00:05 PM - CACTID: Poller[0] Host[10] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function