I have an interesting issue when using the Nagios plugin to make an SNMP
query to a Netscreen 208.
I have two Nagios servers -- Gentoo and CentOS -- and one of the check_snmp
commands are not working on CentOS server (Nagios03) when I run it *exactly*
from the command line like I do in Gentoo (Nagios01)
e.g.
>From CentOS (does not work)
[EMAIL PROTECTED] plugins]# pwd
/usr/lib/nagios/plugins
[EMAIL PROTECTED] plugins]# ./check_snmp -C myPublicString -o
nsVpnMonP2State.0-l DC_VPN_Status -c 1: -H
10.0.11.9
DC_VPN_Status problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c myPublicString 10.0.11.9:161
nsVpnMonP2State.0
>From Gentoo (works)
nagios01 libexec # pwd
/usr/nagios/libexec
nagios01 libexec # ./check_snmp -C myPublicString -o nsVpnMonP2State.0 -l
DC_VPN_Status -c 1: -H 10.0.11.9
DC_VPN_Status OK - 1 | NETSCREEN-VPN-MON-MIB::nsVpnMonP2State.0=1;;;;
Normally, I'd think that it is an issue with the polled device not being
configured properly, but since I can 'snmpwalk' it from the CentOS
box in question, I'm not sure what to do.
Any suggestions?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
[email protected]
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