SNMP OID's for BGP monitoring
What OID's are people using to monitor/graph BGP stats on Cisco routers? -jay
Re: SNMP OID's for BGP monitoring
If you are running 12.0(26)S you can now graph the number of routes you receive from a BGP peer. Here's the OID for those that have long-awaited such a feature. .1.3.6.1.4.1.9.9.187.1.2.4.1.1 Now why this is missing from their newer 12.2 and 12.3 software is something that you will need to ask your cisco rep. - Jared On Fri, Sep 05, 2003 at 10:23:29AM -0500, Austad, Jay wrote: What OID's are people using to monitor/graph BGP stats on Cisco routers? -jay -- Jared Mauch | pgp key available via finger from [EMAIL PROTECTED] clue++; | http://puck.nether.net/~jared/ My statements are only mine.
RE: SNMP OID's for BGP monitoring
Doh, unfortunately, I'm on the 12.3 train, and that OID does not exist. I could have sworn that I saw some MRTG graphs awhile back where people were monitoring how many prefixes they had and other sorts of things. Were they scripting this somehow or pulling via SNMP? -Original Message- From: Jared Mauch [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 10:27 AM To: Austad, Jay Cc: [EMAIL PROTECTED] Subject: Re: SNMP OID's for BGP monitoring If you are running 12.0(26)S you can now graph the number of routes you receive from a BGP peer. Here's the OID for those that have long-awaited such a feature. .1.3.6.1.4.1.9.9.187.1.2.4.1.1 Now why this is missing from their newer 12.2 and 12.3 software is something that you will need to ask your cisco rep. - Jared On Fri, Sep 05, 2003 at 10:23:29AM -0500, Austad, Jay wrote: What OID's are people using to monitor/graph BGP stats on Cisco routers? -jay -- Jared Mauch | pgp key available via finger from [EMAIL PROTECTED] clue++; | http://puck.nether.net/~jared/ My statements are only mine.
RE: SNMP OID's for BGP monitoring
Jay, The basic BGP mibs are found in this file... ftp://ftpeng.cisco.com/pub/mibs/v2/BGP4-MIB.my From that you can deduce the OID's for polling the routers (even 12.3 train) and collect BGP info. Alas you can't find out the one value that Jared pointed out... the number of routes heard from a peer. :-( If you add the file above to your mib's directory then you can do a... snmpwalk -v 1 $ROUTER_IP $ROUTE_COMMUNITY bgp.bgpPeerTable.bgpPeerEntry ...but you will only get the following entries in your response... bgpPeerIdentifier.A.B.C.D bgpPeerState.A.B.C.D bgpPeerAdminStatus.A.B.C.D bgpPeerNegotiatedVersion.A.B.C.D bgpPeerLocalAddr.A.B.C.D bgpPeerLocalPort.A.B.C.D bgpPeerRemoteAddr.A.B.C.D bgpPeerRemotePort.A.B.C.D bgpPeerRemoteAs.A.B.C.D bgpPeerInUpdates.A.B.C.D bgpPeerOutUpdates.A.B.C.D bgpPeerInTotalMessages.A.B.C.D bgpPeerOutTotalMessages.A.B.C.D bgpPeerLastError.A.B.C.D bgpPeerFsmEstablishedTransitions.A.B.C.D bgpPeerFsmEstablishedTime.A.B.C.D bgpPeerConnectRetryInterval.A.B.C.D bgpPeerHoldTime.A.B.C.D bgpPeerKeepAlive.A.B.C.D bgpPeerHoldTimeConfigured.A.B.C.D bgpPeerKeepAliveConfigured.A.B.C.D bgpPeerMinASOriginationInterval.A.B.C.D bgpPeerMinRouteAdvertisementInterval.A.B.C.D bgpPeerInUpdateElapsedTime.A.B.C.D ...where A.B.C.D is the IP address of the peer. You maybe better off doing a poll of the router via a command line and plotting the values after scraping the text somewhat! Martin --- At 12:34 PM 9/5/2003 -0500, Austad, Jay wrote: Doh, unfortunately, I'm on the 12.3 train, and that OID does not exist. I could have sworn that I saw some MRTG graphs awhile back where people were monitoring how many prefixes they had and other sorts of things. Were they scripting this somehow or pulling via SNMP? -Original Message- From: Jared Mauch [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 10:27 AM To: Austad, Jay Cc: [EMAIL PROTECTED] Subject: Re: SNMP OID's for BGP monitoring If you are running 12.0(26)S you can now graph the number of routes you receive from a BGP peer. Here's the OID for those that have long-awaited such a feature. .1.3.6.1.4.1.9.9.187.1.2.4.1.1 Now why this is missing from their newer 12.2 and 12.3 software is something that you will need to ask your cisco rep. - Jared On Fri, Sep 05, 2003 at 10:23:29AM -0500, Austad, Jay wrote: What OID's are people using to monitor/graph BGP stats on Cisco routers? -jay -- Jared Mauch | pgp key available via finger from [EMAIL PROTECTED] clue++; | http://puck.nether.net/~jared/ My statements are only mine.
Re: SNMP OID's for BGP monitoring
On Fri, 2003-09-05 at 11:23, Austad, Jay wrote: What OID's are people using to monitor/graph BGP stats on Cisco routers? Cisco maintains a very useful SNMP OID search tool which you can access through your favorite web browser. A search for bgp yields 135 results. Unfortunately .1.3.6.1.4.1.9.9.187.1.2.4.1.1 is *not* shown in this tool! I wonder how up-to-date this tool typically is? In any case, if that OID is not available on your IOS image, you have the option of retrieving sufficient information from the cbgpRouteEntry table at .1.3.6.1.4.1.9.9.187.1.1.1.1 to count the prefixes received from each peer as well as the prefixes installed into the FIB for each peer (cbgpRouteBest BOOL). This would obviously be a big CPU hit, but there is a great deal of data available via SNMP. http://www.cisco.com/pcgi-bin/Support/Mibbrowser/unity.pl -- Jeff S Wheeler [EMAIL PROTECTED]