Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timgws/nagios-supervisord-processes
check_supervisor is a plugin for use with Nagios that uses supervisor's XML-RPC API to check the status of any processes that are set up to be running inside supervisor.
https://github.com/timgws/nagios-supervisord-processes
Last synced: about 2 months ago
JSON representation
check_supervisor is a plugin for use with Nagios that uses supervisor's XML-RPC API to check the status of any processes that are set up to be running inside supervisor.
- Host: GitHub
- URL: https://github.com/timgws/nagios-supervisord-processes
- Owner: timgws
- Created: 2014-05-27T01:28:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-03T09:23:08.000Z (over 10 years ago)
- Last Synced: 2024-04-17T05:36:48.113Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 138 KB
- Stars: 2
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# check_supervisor
check_supervisor is a plugin for use with Nagios that uses supervisor's [XML-RPC API][1] to check
the status of any processes that are set up to be running inside supervisor.Code was forked from `blablacar` (https://github.com/blablacar/nagios-supervisord-processes) and
updated a little bit to clean up documentation & code.# Nagios Configuration
**Command Configuration** (commands.cfg):define command {
command_name check_supervisor
command_line $USER1$/check_supervisor -H $HOSTNAME$ -p $ARG1$
register 1
}**Service Template** (servicetemplates.cfg):
define service {
name supervisor_check
hostgroup_name Supervisors
display_name Supervisor Checks
servicegroups has_supervisor
check_command check_supervisor
initial_state o
max_check_attempts 2
check_interval 2
retry_interval 1
check_period 24x7
notification_interval 0
first_notification_delay 5
notification_period 24x7
notification_options w,c,r
notifications_enabled 1
contact_groups help
register 0
}I [wrote about the nagios plugin over at my blog][2].
[1]: http://supervisord.org/api.html
[2]: http://timg.ws/2014/06/03/nagios-plugin-for-checking-the-status-of-supervisord-processes/