Bond/LACP interface down-checkpoint-gaia,secureplatform

Bond/LACP interface down-checkpoint-gaia,secureplatform

Vendor: checkpoint

OS: gaia,secureplatform

Description:
indeni will alert if a bond interface is down.

Remediation Steps:
Review the cause for the interfaces being down.
Use the “cphaconf show_bond” command to get additional information.",

How does this work?
Use the built-in “asg_bond” command to retreive the detailed bond state.

Why is this important?
An interface in a bond could be down, and the device would still deem the link as up. This is because the default setting is often to consider one link failure as non-critical if there is another link in the bond. This does however mean a loss of redundancy and capacity which might not be noticed.

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

chkp-asg-bond

name: chkp-asg-bond
description: Run "asg_bond" to determine bond health
type: monitoring
monitoring_interval: 5 minutes
requires:
    vendor: checkpoint
    high-availability: true
    or:
    -   os.name: gaia
    -   os.name: secureplatform
    asg: true
    maestro-orchestrator:
        neq: true
comments:
    bond-state:
        why: |
            An interface in a bond could be down, and the device would still deem the link as up. This is because the default setting is often to consider one link failure as non-critical if there is another link in the bond. This does however mean a loss of redundancy and capacity which might not be noticed.
        how: |
            Use the built-in "asg_bond" command to retreive the detailed bond state.
        can-with-snmp: false
        can-with-syslog: false
steps:
-   run:
        type: SSH
        command: ${nice-path} -n 15 asg stat -i local_id && ${nice-path} -n 15 asg_bond
    parse:
        type: AWK
        file: asg-bond.parser.1.awk

cross_vendor_bond_down

Failed to fetch the data: https://bitbucket.org/indeni/indeni-knowledge/src/master/rules/templatebased/crossvendor/cross_vendor_bond_down.scala