check snmp

Thomas Guyot-Sionnest dermoth at aei.ca
Wed Nov 19 08:17:38 CET 2008


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

On 18/11/08 08:06 PM, Patrick Morris wrote:
> On Wed, 19 Nov 2008, Thomas Guyot-Sionnest wrote:
> 
>> -----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
> 
> At the rick of stating the obvious, if the SNMP service is down, the OID
> you're checking doesn't matter. Just pick anything your server supports,
> and if the service is down, it won't work. Pretty simple stuff.

True, although you better:

1. Get an OID that will show up on all server (Windows, Linux, BSD, etc)
2. Don't get one that may vanish
3. Ideally, get one that prints something nice ("SNMP OK - 32173980"
isn't very clear about what it's chercking)

Hence, SNMPv2-MIB::sysDescr.0 :)

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

iD8DBQFJI72S6dZ+Kt5BchYRAhz2AJ99nThQRMv0lk1xAkMgxSvzfy5XzACgpryL
Bxa5T1EIckusdF4NEbMfAzI=
=6zXO
-----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