Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > a76843887844b5afe36afc1a1b0b4551 > files > 22

nagios-plugins-1.4.12-1mdv2009.0.i586.rpm

check_bgp - Cisco BGP Session Checker

This little perl script logs into a Cisco router and does a "sh ip bgp
summary" to collect te bgp session status. (This script works only if you
use the "aaa newmodel athentification")

To use this script, you must get and install Net::Telnet from CPAN.

You can monitor each BGP session. When the specified number of route
prefixes is not presend, a critical warning will apear.

The configfile looks as follows:

user=username
password=password
neighbor[ipaddr]=min-routeprefixes
neighbor[ipaddr]=100
neighbor[ipaddr]=80

In netsaint the command line looks as follows:

command[check_bgp]=/usr/local/netsaint/libexec/check_bgp $ARG1$ $HOSTADDRESS$

For sugestions, bug reports etc.
send mail to

  cramer@freestone.net