Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_bgp_ipv6
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!
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,
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
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,
Reviews (0)
Be the first to review this listing!