Question about use check_snmp plugin
James Pratt
jpratt at norwich.edu
Mon Oct 25 16:31:51 CEST 2010
Hi, while I cannot answer your question directly, I would advise giving these SNMP replacement plugins a look, as they simplified things considerably here, and are quite reliable IMO...
http://nagios.manubulon.com/
Cheers,
James
From: Роман Обрядин [mailto:obryadinrv at gmail.com]
Sent: Monday, October 25, 2010 10:22 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Question about use check_snmp plugin
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
------------------------------------------------------------------------------
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
_______________________________________________
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