unable to check_snmp in Nagios

jorge peceño Segura <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CA+XsXJU71Oapt_vGTiDnh7hNZJd+sWJruYLk93=971czL0Q9jw@mail.gmail.com>
Hi!

I'm starting to use Nagios and i'm having trouble with check_snmp command.

I've installed net-snmp 5.7.1 from source code on a ubuntu 11.10 desktop
distribution, after that i've installed Nagios 3.3.1 and nagios plugins
1.4.15 without errors on every step.

When i make a check_snmp command i get the right response but the "-r
option" does not works.

The command is like that:

/usr/local/nagios/libexec/check_snmp -H x.x.x.x -C community -o
ifOperStatus.1 -r 2

It returns that:

SNMP OK - 1 | IF-MIB::ifOperStatus.1=1 but the -r option should have
changed to CRITICAL

On other Linux distribution (debian) the same check_snmp command reutrns:
SNMP CRITICAL - *up(1)* | IF-MIB::ifOperStatus.1=up(1)

Does anybody know why the difference?

Thank You

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.