Output problems with check_snmp ...

Justin Hennessy jhennessy at mitchamcouncil.sa.gov.au
Wed May 12 09:16:21 CEST 2004


Hi all (again),

I am trying check the uptime of my managed switches but I have a little
problem when I put the test into Nagios.

When I run this:
/usr/local/nagios/libexec/check_snmp -H 172.16.4.1 -o
system.sysUpTime.0 -C dragonsbain

I get this:
SNMP OK - Timeticks: (563369316) 65 days, 4:54:53.16

BUT when I run this:
/usr/local/nagios/libexec/check_snmp -H 172.16.4.1 -o
system.sysUpTime.0 -C dragonsbain -w 10 -c 30

I get this:
SNMP CRITICAL - *563375231*

Can anyone shed some light on why the output changes when I put the
WARNING and CRITICAL criteria in?

Thanks,

Justin






-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
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