Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_bgp_ipv6

Current Version
1.0
Last Release Date
2013-03-25
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
65995
Files:
FileDescription
check_bgp_ipv6.plfeature: exclude shutdown admin
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check_bgp_ipv6
Check BGP peer IPv6 status via SSH or Telnet on Cisco IOS.
Parse command "sh ip bgp ipv6 unicast summary"
Check BGP peer IPv6 status via SSH or Telnet on Cisco IOS.

Parse command "sh ip bgp ipv6 unicast summary"

Requirements :
- perl -MCPAN -e 'install Net::OpenSSH'
- perl -MCPAN -e 'install Regexp::IPv6'
- libnet-telnet-cisco-perl
- libio-pty-perl

Tested on :
- Cisco ASR 1000 Series Routers (ASR1001 - ASR1002-F)

Usage:
check_bgp_ipv6.pl -H -C -L -P
check_bgp_ipv6.pl [-h | --help]

-H (--hostname) Hostname to query - (required)
-C (--connection) Telnet or SSH - (default: telnet)
-L (--login) Username - (optional: can be set in the script)
-P (--password) Password - (optional: can be set in the script)
-V (--version) Plugin version
-h (--help) usage help

OUTPUT:

(20/21) BGP Peer Are Established.
CRITICAL : 2001:XXXX:XXXX:XXXX::E203:1 (ASXXXXX) state is Idle.

(8/9) BGP Peer Are Established.
WARNING : 2A03:XXX:XXX:XX:0:2 (ASXXXXX) state is established. Established: 2w0d. But Prefix Received: 0

OK : (2/3) BGP Peer Are Established.
SHUTDOWN ADMIN : 2A03:XXXX::XXX:0:2 (ASXXXXX) state is Idle (Admin).

OK : (10/10) BGP Peer Are Established.

Guillaume Pécourt,