Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-backports > by-pkgid > 262cd538f421bda4e768c1a118ab5656 > files > 22

nagios-plugins-1.4.15-6mdv2010.2.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