Cactiusers.org


It is currently Mon May 21, 2012 5:31 pm




Post new topic Reply to topic  [ 3 posts ] 
 thold - Blank "Current" values 
Author Message
User

Joined: Sat Apr 15, 2006 10:04 am
Posts: 74
Post 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


Sun Apr 15, 2007 12:17 pm
User

Joined: Sat Apr 15, 2006 10:04 am
Posts: 74
Post 
God I'm a moron... Think I just realised.. its a Sat/Sun thing... I confused "don't alert on weekends" thinking it would still update the settings page.. Doh!


Sun Apr 22, 2007 3:37 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
Odd, its not checking tholds on weekends? I should just not alert on them... I will check into it.


Tue May 01, 2007 10:09 pm
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: Google [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: