Critical process(es) down (per VS) for Fortinet

Vendor

Fortinet

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 logs into the Fortinet firewall through SSH and retrieves the status of running processes by running the FortiOS command fnsysctl ps. The script then compares the list of currently running processes to a known list of critical processes and checks to see that they are all up. If any are down or in an abnormal state, Indeni raises an alert.

Why is this important?

This script logs into the Fortinet firewall through SSH and retrieves the status of running processes by running the FortiOS command fnsysctl ps. The script then compares the list of currently running processes to a known list of critical processes and checks to see that they are all up. If any are down or in an abnormal state, Indeni raises an alert.

Without Indeni how would you find this?

An administrator could manually login and retrieve/parse the data, or could write a script to poll the firewalls and parse the returned data.


View Source Code