BGP peer(s) down-juniper-junos
Vendor: juniper
OS: junos
Description:
Indeni will alert one or more BGP peers isn’t communicating well.
Remediation Steps:
Review the cause for the peers being down.
How does this work?
This script logs into the Juniper JUNOS-based device using SSH and retrieves the output of the “show bgp neighbor” command. The output includes the status of active/established/inactive BGP neighbors.
Why is this important?
Due to the dynamic nature of BGP, it should be closely monitored to verify that it is working correctly. Since routing is a vital part of any network, a failure or issues in dynamic routing can cause large disruptions.
Without Indeni how would you find this?
An administrator could login and manually run the command.
junos-show-bgp-neighbor
name: junos-show-bgp-neighbor
description: Retrieve BGP neighbor information
type: monitoring
monitoring_interval: 1 minute
requires:
vendor: juniper
os.name: junos
comments:
bgp-received-routes:
why: |
Check if a BGP neighbor's received routes changed in a substantial way.
how: |
This script logs into the Juniper JUNOS-based device using SSH and retrieves the output of the "show bgp neighbor" command.
The output includes the status of active/established/inactive BGP neighbors.
can-with-snmp: false
can-with-syslog: true
bgp-state:
why: |
Due to the dynamic nature of BGP, it should be closely monitored to verify that it is working correctly.
Since routing is a vital part of any network, a failure or issues in dynamic routing can cause large disruptions.
how: |
This script logs into the Juniper JUNOS-based device using SSH and retrieves the output of the "show bgp neighbor" command.
The output includes the status of active/established/inactive BGP neighbors.
can-with-snmp: false
can-with-syslog: true
steps:
- run:
type: SSH
command: show bgp summary
parse:
type: AWK
file: show-bgp-neighbor.parser.1.awk
cross_vendor_bgp_peer_down
Failed to fetch the data: https://bitbucket.org/indeni/indeni-knowledge/src/master/rules/templatebased/crossvendor/cross_vendor_bgp_peer_down.scala