Critical process(es) down-juniper-junos

Critical process(es) down-juniper-junos

Vendor: juniper

OS: junos

Description:
Many devices have critical processes, usually daemons, that must be up for certain functions to work. Indeni will alert if any of these goes down.

Remediation Steps:
Review the cause for the processes being down.

How does this work?
This script monitors those critical processes and identifies the states for those processes by running the “show system processes extensive” command via SSH connection.

Why is this important?
Many processes are critical to the device functionality and health. It is important to monitor these processes to make sure they are running in normal states.

Without Indeni how would you find this?
An administrator could login and manually run the command “show system processes extensive” to get the same information.

junos-show-system-processes-extensive-cluster

name: junos-show-system-processes-extensive-cluster
description: Retrieve system process information
type: monitoring
monitoring_interval: 10 minute
requires:
    vendor: juniper
    os.name: junos
    product: firewall
    high-availability: true
comments:
    process-state:
        why: |
            Many processes are critical to the device functionality and health. It is important to monitor these processes to make sure they are running in normal states.
        how: |
            This script monitors those critical processes and identifies the states for those processes by running the "show system processes extensive" command via SSH connection.
        can-with-snmp: false
        can-with-syslog: false
    process-cpu:
        why: "Each process should have adequate CPU resource allocated. \n"
        how: |
            List the CPU usage for all processes by running the "show system proccesses extensive" command via SSH connection.
        can-with-snmp: false
        can-with-syslog: false
    process-memory:
        why: |
            Each process should have adequate memory resource allocated.
        how: |
            List the memory usage for all processes by running the "show system proccesses extensive" command via SSH connection.
        can-with-snmp: false
        can-with-syslog: false
steps:
-   run:
        type: SSH
        command: show chassis hardware node local | match node
    parse:
        type: AWK
        file: show-system-processes-extensive-cluster.parser.1.awk
-   run:
        type: SSH
        command: show system processes extensive node ${node}
    parse:
        type: AWK
        file: show-system-processes-extensive-cluster.parser.2.awk

cross_vendor_critical_process_down_novsx

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