Critical and warnings values for a snmp check

Angel L. Mateo amateo at um.es
Mon Nov 21 12:41:59 CET 2005


Hello all,

	I have been using nagios for a long time, but now is the first time I
want to make something not usual (at least, for me).

	I want to check system healthy for some of my dell servers ask them for
the status by snmp. The check I run answers me the values:

1 -> other
2 -> unknown
3 -> ok
4 -> nonCriticalUpper
5 -> criticalUpper
6 -> nonRecoverableUpper
7 -> nonCriticalLower
8 -> criticalLower
9 -> nonRecoverableLower
10 -> failed

	so I want that my nagios check (I run it with the check_snmp command)
answer me "OK" for the value 3, "WARNING" for 1, 2, 4 and 7 and
"CRITICAL" for the rest.

	So, how do I have to configure the -w and -c options for the check_snmp
command?

-- 
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información     _o)
y las Comunicaciones Aplicadas (ATICA)    / \\
http://www.um.es/atica                  _(___V
Tfo: 968367590
Fax: 968398337



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
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