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
66624
Files:
FileDescription
check_bgp_ipv6.plfeature: exclude shutdown admin
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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,