snmpwalk works but check_snmp doesn't
Athiqur Rahman
subs at arahmantech.com
Wed Apr 28 11:58:18 CEST 2010
I am trying to monitor the status of my BGP connections on a cisco box.
I can get the status of the connection via
[root at watcher libexec]#snmpwalk -v2c -c public 172.16.0.1
.1.3.6.1.2.1.15.3.1.2
SNMPv2-SMI::mib-2.15.3.1.2.212.12.10.11 = INTEGER: 6
SNMPv2-SMI::mib-2.15.3.1.2.234.13.11.109 = INTEGER: 6
you can see i get state established (6) for both peers 212.12.10.11 and
234.13.11.109
But when I execute using the nagios snmp plugin i get the following
[root at watcher libexec]# ./check_snmp -H 172.16.0.1 -P 2c -C public -o
.1.3.6.1.2.1.15.3.1.2
SNMP OK - No Such Instance currently exists at this OID |
What is the best way to go about monitoring the state of the bgp connection?
thanks
------------------------------------------------------------------------------
_______________________________________________
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