Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_supervisord_programs
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Usage ./check_supervisord_program
-c Alternate config file
-p Program name
-h This menu
-d Enable debugging
Example:
./check_supervisord_program -p apache2
Outputs:
OK: apache2 is running
Critical: apache2 is stopped
Setup is simple:
1. Copy the check to the server you want to monitor
2. Choose how you wish to interact with the plugin (NRPE or Over SSH)
3. Define your nagios service
4. Set the permissions on the supervisord.conf to allow the user (nagios by default) to access the socket file
Supervisord Config (Default /etc/supervisord.conf)
[unix_http_server]
file=/var/tmp/supervisor.sock ; (the path to the socket file)
chmod = 0766 ; Set the permissions
check_supervisord extends nagios monitoring by interacting with the supervisord socket. It is written in BASH, meaning its agnostic across linux variants.
Usage ./check_supervisord_program
-c Alternate config file
-p Program name
-h This menu
-d Enable debugging
Example:
./check_supervisord_program -p apache2
Outputs:
OK: apache2 is running
Critical: apache2 is stopped
Setup is simple:
1. Copy the check to the server you want to monitor
2. Choose how you wish to interact with the plugin (NRPE or Over SSH)
3. Define your nagios service
4. Set the permissions on the supervisord.conf to allow the user (nagios by default) to access the socket file
Supervisord Config (Default /etc/supervisord.conf)
[unix_http_server]
file=/var/tmp/supervisor.sock ; (the path to the socket file)
chmod = 0766 ; Set the permissions
Usage ./check_supervisord_program
-c Alternate config file
-p Program name
-h This menu
-d Enable debugging
Example:
./check_supervisord_program -p apache2
Outputs:
OK: apache2 is running
Critical: apache2 is stopped
Setup is simple:
1. Copy the check to the server you want to monitor
2. Choose how you wish to interact with the plugin (NRPE or Over SSH)
3. Define your nagios service
4. Set the permissions on the supervisord.conf to allow the user (nagios by default) to access the socket file
Supervisord Config (Default /etc/supervisord.conf)
[unix_http_server]
file=/var/tmp/supervisor.sock ; (the path to the socket file)
chmod = 0766 ; Set the permissions
Reviews (0)
Be the first to review this listing!