Skip to content

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.

Notifications You must be signed in to change notification settings

timgws/nagios-supervisord-processes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

check_supervisor

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.

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.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages