[Nagios-users] Question about use check_snmp plugin

Роман Обрядин obryadinrv at gmail.com
Mon Oct 25 14:21:41 UTC 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: <http://lists.nagios.com/pipermail/nagios-users/attachments/20101025/dacbf270/attachment.html>


More information about the Nagios-users mailing list