Check_snmp and warning/critical thresholds

Pope, David DPope at bcdi.com
Wed Mar 26 15:17:56 CET 2003


Tried posting this at apan-users but not much traffic there.
Maybe someone can help me with this?

Cheers
Dave Pope

-----Original Message-----
From: Pope, David [mailto:DPope at bcdi.com] 
Sent: Tuesday, March 25, 2003 10:15 AM
To: apan-users at sourceforge.net
Subject: [Apan-users] Check_snmp and warning/critical thresholds


Hello all-
I am using the snmpget function through apan to graph the load and
temperature of my MGE-UPS. I can easily get the temperature back and graphed
no problem. However I don't get the warning and critical error messages when
the temperature exceeds a certain threshold. Here is my service.cfg

Define service{
	host_name			MGE-UPS
	service_description	TEMP
	is_volitile			0
	check_period		24x7
	max_check_attempts	3
	normal_check_interval	1
	retry_check_interval	1
	contact_groups		nt-admins
	notification_interval	120
	notification_period	24x7
	notification_options	w,u,c,r
	check_command
apan!snmpget!mib-2.33.1.2.7.0!Celsius!0:20!0:25
	}

And my apan.cfg:

MGE-UPS;TEMP;/usr/local/nagios/rrd/mge-temp.rrd;public:.1.3.6.1.2.1.33.1.2.7
.0;temp;LINE2;temp;Celsius;

I imagine I have to put the 0:20 and 0:25 argument somewhere, but where?
Whats the syntax?

Any help greatly appreciated.

Dave Pope


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Apan-users mailing list
Apan-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apan-users


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list