how to make check_snmp timeout CRITICAL
Steve Shipway
s.shipway at auckland.ac.nz
Tue Oct 24 05:06:00 CEST 2006
I achieve this by using the check_snmp options to test for a known value
in the response string (eg: '.'). This way, I can alert if anyone stops
the SNMP daemon or changes the community strings.
Steve
--
Steve Shipway
ITSS, University of Auckland
(09) 3737 599 x 86487
s.shipway at auckland.ac.nz
________________________________
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Pete
Siemsen
Sent: Tuesday, 24 October 2006 1:25 p.m.
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] how to make check_snmp timeout CRITICAL
I have a host that won't do ping but will do SNMP, so I want
Nagios to check this host's reachability using SNMP. I don't care what
SNMP value I get, only that the host replies to SNMP. I tried using
check_snmp to get the sysObjectID, and it works fine. When the machine
is unreachable, check_snmp returns "SNMP problem - No data received from
host", which is fine, but Nagios still shows the host as "ok". I assume
check_snmp is returning a status of OK or something, even though the
SNMP request totally failed. What can I do?
-- Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061024/567d8f72/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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