Vedr.: Critical and warnings values for a snmp check
Thomas Jens Lauritsen
tjl at topdanmark.dk
Mon Nov 21 13:04:40 CET 2005
Hi Angel,
I would write a bash plugin script to solve the problem if I were in your
shoes...
You should need a working snmp installation to get it running.
/Thomas
|---------+---------------------------------------->
| | "Angel L. Mateo" |
| | <amateo at um.es> |
| | Sendt af: |
| | nagios-users-admin at lists.sour|
| | ceforge.net |
| | |
| | |
| | 21-11-2005 12:41 |
| | |
|---------+---------------------------------------->
>--------------------------------------------------------------------------------------------------------------|
| |
| Til: nagios-users at lists.sourceforge.net |
| cc: |
| Vedr.: [Nagios-users] Critical and warnings values for a snmp check |
>--------------------------------------------------------------------------------------------------------------|
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
-------------------------------------------------------
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