Athiqur Rahman
2010-04-28 09:58:18 UTC
I am trying to monitor the status of my BGP connections on a cisco box.
I can get the status of the connection via
[***@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
[***@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
I can get the status of the connection via
[***@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
[***@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