Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 2ea77cffedd61f9d23f01017bab68497 > files > 22

nagios-plugins-1.4.16-9.mga4.x86_64.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