North American Network Operators Group|
Date Prev | Date Next |
Date Index |
Thread Index |
Author Index |
Re: Loss of BGP peering monitoring via SNMP
- From: Doug Junkins
- Date: Thu Jun 05 16:18:57 1997
I have written a simple perl script that uses SNMP polling to check the
status of some of our BGP peerings from Cisco routers. Unfortunately, the
script is closely tied to our configuration information so it's not
appropriate to post as is. As I'm in Tampa, I don't have all my
documentation on the MIB variables I used.
To get you started, here are the hybrid text/numeric OIDs used by the
script to poll the applicable data out of the tables:
.iso.org.dod.internet.mgmt.mib.220.127.116.11 BGP Peer Remote Address
.iso.org.dod.internet.mgmt.mib.18.104.22.168 BGP Peer FSM State
.iso.org.dod.internet.mgmt.mib.22.214.171.124 BGP Peer FSM Transitions
The premise of the script is to poll periodically for the state of each
peer. If the state is different than the last poll or the count of
transitions was incremented (indicating a peering went down and was
reestablished between polls) a warning message is sent to a list of
recipients. The Peer Remote Address table is used to dynamically discover
Other replies have mentioned the use of BGP traps. Traps are probably the
better way to go -- we, unfortunatly, have some issues with our current
trap collection that didn't allow us to easily add the BGP processing.
/ Douglas A. Junkins | Network Engineering \
/ Sr. Network Engineer | NorthWestNet \
\ email@example.com | Bellevue, Washington, USA /
\ +1-425-649-7419 | /
On Thu, 5 Jun 1997, Curtis Generous wrote:
> We have been caught several times lately with some of our border routers
> loss of BGP peering going undetected for sometime. Is there a way
> to enable BGP peering loss monitoring via SNMP from a CISCO router?
> I've looked at both the public and private MIBS but haven't found anything.
> I am aware of the 'nocol' package but really was hoping for an SNMP based
> approach to tie into our net-mgmt packages (sunnet and hpov).
> Curtis Generous firstname.lastname@example.org Phone: (703) 461-1350
> UUcom Inc., Suite 250, 4875 Eisenhower Avenue, Alexandria, VA 22304-0797