BGP peer(s) down-checkpoint-gaia,ipso

BGP peer(s) down-checkpoint-gaia,ipso

Vendor: checkpoint

OS: gaia,ipso

Description:
Indeni will alert one or more BGP peers isn’t communicating well.

Remediation Steps:
Review the cause for the peers being down.
Consider reading Tobias Lachmann’s blog on BGP: https://blog.lachmann.org/?p=1771",

How does this work?
The clish command “show bgp peers” is used to retrieve the current BGP peer states.

Why is this important?
If BGP peers have connection issues it could mean whole sites going offline. Detecting it early is critical.

Without Indeni how would you find this?
An administrator could login and manually run the command.

chkp-clish-show-bgp

name: chkp-clish-show-bgp
description: Check status of BGP peers
type: monitoring
monitoring_interval: 1 minute
requires:
    vendor: checkpoint
    routing-bgp: true
    or:
    -   os.name: gaia
    -   os.name: ipso
comments:
    bgp-state:
        why: |
            If BGP peers have connection issues it could mean whole sites going offline. Detecting it early is critical.
        how: |
            The clish command "show bgp peers" is used to retrieve the current BGP peer states.
        can-with-snmp: false
        can-with-syslog: false
steps:
-   run:
        type: SSH
        command: stty rows 80 ; ${nice-path} -n 15 clish -c 'show bgp peers'
    parse:
        type: AWK
        file: show-bgp.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