Clustering and High-Availability

check_supervisord

Description:

This script uses supervisorctl to get the status of whatever program you have set up to be controlled by supervisord.

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:
process_name=%(program_name)s_%(process_num)s

THE SCRIPT MUST BE RUN AS ROOT!

Current Version

0.1

Last Release Date

2012-05-22

Compatible With

  • Nagios 3.x

License

GPL


Nagios CSP

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!
Project Files
Project Notes
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
64,142