Bond/LACP slave interface down-checkpoint-gaia,secureplatform

Bond/LACP slave interface down-checkpoint-gaia,secureplatform

Vendor: checkpoint

OS: gaia,secureplatform

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

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

chkp-os-cphaconf_show_bond

name: chkp-os-cphaconf_show_bond
description: Run "cphaconf show_bond" to determine bond health versions before R80.20
type: monitoring
monitoring_interval: 5 minutes
requires:
    vendor: checkpoint
    high-availability: true
    or:
    -   os.name: gaia
    -   os.name: secureplatform
    asg:
        neq: 'true'
    os.version.num:
        compare-type: version-compare
        op: "<"
        value: "80.20"
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 "cphaconf show_bond" command to retreive the detailed bond state.
        can-with-snmp: false
        can-with-syslog: false

    bond-slaves-in-use:
        why: |
            Tracking the bond slaves in use versus the total required is a good indicator of potential issues.
        how: |
            Use the built-in "cphaconf show_bond" command to retreive the detailed bond state.
        can-with-snmp: false
        can-with-syslog: false

    bond-slaves-required:
        why: |
            Tracking the bond slaves in use versus the total required is a good indicator of potential issues.
        how: |
            Use the built-in "cphaconf show_bond" command to retreive the detailed bond state.
        can-with-snmp: false
        can-with-syslog: false

    bond-slave-state:
        why: |
            To check the state of slave interfaces on the bond interface. The slave interfaces status is very important
            to bond features like bandwidth or redundancy over the bond interface
        how: |
            By using the Check point command "cphaprob show_bond" command to retreive the number of bond slaves
            interfaces in each bond.
        can-with-snmp: false
        can-with-syslog: false

    configured-slaves:
        why: |
            Tracking the number of bond slaves interfaces
        how: |
            Use the built-in "cphaprob show_bond" command to retreive the number of bond slaves interfaces in each bond.
        can-with-snmp: false
        can-with-syslog: false
steps:
-   run:
        type: SSH
        file: cphaconf-show_bond.remote.1.bash
    parse:
        type: AWK
        file: cphaconf-show_bond.parser.1.awk

cross_vendor_bond_slave_down

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