Question about use check_snmp plugin

Роман Обрядин obryadinrv at gmail.com
Mon Oct 25 16:21:41 CEST 2010


>
> Hi,
> my name is Roman.
> I have installed nagios plugins and I don't understand, why check_snmp is
> not working properly.
> for example, I use "-r" option (as describe in docs)
>
> port Fa0/14 on switch is *UP*
> inframonitor:/usr/local/icinga/libexec #
> /usr/local/icinga/libexec/check_snmp -H 192.168.111.60 -C xxxxx -o
> ifOperStatus.10014 -r *1* -m RFC1213-MIB
> SNMP *OK - 1* | RFC1213-MIB::ifOperStatus.10014=1
>
>
> port Fa0/10 on switch is *DOWN*
> inframonitor:/usr/local/icinga/libexec #
> /usr/local/icinga/libexec/check_snmp -H 192.168.111.60 -C xxxxx -o
> ifOperStatus.10010 -r *1* -m RFC1213-MIB
> SNMP *OK - 2* | RFC1213-MIB::ifOperStatus.10010=*2*
>
> Port fa0/10 is DOWN, but plugin returns the status OK(!). It is wrong.
>
> Can you help me to solve this problem?
>
> inframonitor:/usr/local/icinga/libexec # rpm -qa | grep net-snmp
> net-snmp-utils-5.4.2.1-9
> net-snmp-5.4.2.1-8.2.1
> net-snmp-libs-5.4.2.1-9
> net-snmp-mibs-5.4.2.1-9
>
> nagios-plugins-1.4.15
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101025/dacbf270/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- 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