Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

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:	BGP Peer Remote Address	BGP Peer FSM State	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
new peerings.

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.

- Doug

 /  Douglas A. Junkins    |   Network Engineering        \
/   Sr. Network Engineer  |   NorthWestNet                \
\     |   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
> -- 
> Curtis Generous                Phone: (703) 461-1350
> UUcom Inc., Suite 250, 4875 Eisenhower Avenue, Alexandria, VA 22304-0797

Discussion Communities

About Merit | Services | Network | Resources & Support | Network Research
News | Events | Contact | Site Map | Merit Network Home

Merit Network, Inc.