Cisco BGP

Arnold Wang arnold.wang at inovis.com
Wed Apr 13 19:37:11 CEST 2005


Another option is using "check_snmp" plug-in. The OID for the BGP peer
status, you may need double check it according to the IOS image you're
running, is .1.3.6.1.2.1.15.3.1.2. For example, for my test router
10.17.1.250, I can use the following command to check its BGP status
with peer 10.17.1.2: 

./check_snmp -H 10.17.1.250 -C public -o .1.3.6.1.2.1.15.3.1.2.10.17.1.2
-m SNMPv2-SMI

The result is "SNMP OK - 6", which indicates it's running. Other
possible values are:

.1.3.6.1.2.1.15.3.1.2

bgpPeerState OBJECT-TYPE

      -- FROM     BGP4-MIB

      SYNTAX            Integer { idle(1), connect(2), active(3),

opensent(4), openconfirm(5), established(6) }

      MAX-ACCESS  read-only

      STATUS            Current

DESCRIPTION    "The BGP peer connection state."

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050413/7601d1f5/attachment.html>


More information about the Users mailing list