checking BGP states on Cisco routers

Mike McClure mmcclure at pneservices.com
Thu Sep 18 03:20:07 CEST 2003


There are two ways to do it.

The first is set up check_snmp to watch a particular MIB object.  The fundamental
idea is described here:
http://www.cctec.com/maillists/nanog/historical/9706/msg00097.html

The second way is to set up logging of BGP states in your router, and use logwatch
or swatch to send a passive update to Nagios.  Don't forget that you have to do:

router bgp nnnn
  bgp log-neighbor-changes

on your router, in addition to setting up the syslog stuff.

Actually, there's one more way, by setting up an SNMP trap collector and getting the
trap from the router.  I don't like that method myself, but YMMV.

- Mike

-- 
Mike McClure, CCIE # 5125, CISSP # 30232
PNE Services, Inc. -  http://www.pneservices.com
mmcclure [at] pneservices [dot] com
mobile: 913-636-5590


> Is there a plugin to check the state of a BGP peer on a Cisco router, and
> how would I obtain it?
>
> Thanks
>
> ~j.c.
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any
> issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>


0



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list