check snmp

Thomas Guyot-Sionnest dermoth at aei.ca
Wed Nov 19 01:58:12 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 18/11/08 07:59 AM, Simon Kainz wrote:
> Melanie Pfefer wrote:
>> Hi
>>
>> perhaps I was not clear in my question.
>>
>> What is the OID that should be used to see if snmp service is up or down?
>>
>> thank you
> 
> Hi!
> I would suggest using snmpwalk to see which services are available
> first. This normally returns a pretty long list of values to pick one from.

An oid in SNMPv2-MIB::system (.1.3.6.1.2.1.1) is likely a good place to
start... I use SNMPv2-MIB::sysDescr.0 (.1.3.6.1.2.1.1.1.0) with negate
to return CRITICAL on failure.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJI2Sk6dZ+Kt5BchYRAjUDAKCmgJNtXRR7WJB1Hf0z09CLoQAeMgCcC51p
hl79zDqzK+uqOO2W324DJbU=
=W/4a
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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