Search All Sites
Nagios Live WebinarsLet our experts show you how Nagios can help your organization.
Don't miss your chance to attend the 2014 Nagios World Conference, Oct 13-16th. Informative Sessions, Networking, Food and Cocktails! Visit go.nagios.com/conference/ for more information or to register.
- Nagios 3.x
|check_supervisord.sh||MUST be run as root!|
Script requires 2 parameters: --name (-n) and --count(-c)
--name (-n) Is the name of the program as defined in the supervisord config file
--count (-c) is the number of processes that will be spawned by supervisord
The script will return STATE_OK if the number of processes running equals the number of processes expected
The script will return STATE_WARNING if the number of processes is less than expected
The script will return STATE_CRITICAL if there are no processes running
This script will relies on the format for the process name (as defined in the supervisor program config file) to be:
THE SCRIPT MUST BE RUN AS ROOT!