NAME
check_processes - running processes client check module
DESCRIPTION
This is a client check that is run from the spong-client that checks to
ensure that critical processes are running on the client host system. check_processes
uses the output of the $PS command to check against @PROCSWARN
and @PROCSCRIT. Any jobs not found in the @PROCSWARN
list of processes generates a warning - yellow. Any jobs not found in the
@PROCSCRIT
list of processes generates an alert - red.
OUTPUT RETURNED
SUMMARY MESSAGE FIELD
If no warning or alerts, check_processes returns "processes OK". Otherwise,
if are any warning or alerts, a list of the processes that are not running
is returned.
DETAILED MESSAGE FIELD
A $PS output line of every instance is returned for every running
process.
CONFIGURATION
This is a list of configuration variable that are used by check_processes.
@PROCSWARN, @PROCSCRIT
A list of processes that should be running, if they are not running,
then trigger a problem (processes in @PROCSWARN trigger a warning
- yellow, and processes in @PROCSCRIT trigger an alert - red).
$PS
An OS specific contains the full path to the ps along with any parameters
need to get the desired formated output.
FILES
-
/usr/local/etc/spong/spong.conf
-
Configuration file. This contains variables that detail spong and OS specific
definitions used by spong-client. This file also contain variables describing
threshold levels. See spong.conf for additional documentation.
AUTHOR
Stephen L Johnson (stephen.johnson@mail.state.ar.us)
or (sjohnson@monsters.org),
Unix System Administator, DIS - State of Arkansas