Hardware element down-juniper-junos

Hardware element down-juniper-junos

Vendor: juniper

OS: junos

Description:
Alert if any hardware elements are not operating correctly.

Remediation Steps:
Troubleshoot the hardware element as soon as possible.

How does this work?
The script runs “show chassis environment” command via ssh connection to the device and retrieves the status for all the on-line hardware elements. Any failure will raise an alert.

Why is this important?
The hardware elements are critical to keep the device working properly.

Without Indeni how would you find this?
An administrator could login to the device to manually run the same command “show chassis environment” to get the same information.

junos-show-chassis-environment

name: junos-show-chassis-environment
description: JUNOS show chassis environment
type: monitoring
monitoring_interval: 10 minute
requires:
    vendor: juniper
    os.name: junos
    product: firewall
    model:
        neq: vsrx
    high-availability:
        neq: true
comments:
    hardware-element-status:
        why: |
            The hardware elements are critical to keep the device working properly.
        how: |
            The script runs "show chassis environment" command via ssh connection to the device and retrieves the status for all the on-line hardware elements. Any failure will raise an alert.
        can-with-snmp: true
        can-with-syslog: true
steps:
-   run:
        type: SSH
        command: show chassis environment | display xml
    parse:
        type: XML
        file: show-chassis-environment.parser.1.xml.yaml

cross_vendor_hardware_element_status

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