Network and Systems Management

check_supervisor

Description:

A plugin to check supervisord processes via xmlrpc interface.

Current Version

2.2

Last Release Date

2020-04-22

Compatible With

  • Nagios 3.x
  • Nagios 4.x

License

GPL


Project Files
Project Photos
Project Notes
Usage: check_supervisord.py -s 192.168.1.1 -P 9001 -u superv -p superv -a tomcat Options: --version show program's version number and exit -h, --help show this help message and exit -s SERVER, --server=SERVER IP address or hostname you want to connect -P PORT, --port=PORT TCP port -u USERNAME, --username=USERNAME Username -p PASSWORD, --password=PASSWORD Password -a PROCESS, --process-name=PROCESS Process name -t TIME, --time=TIME Time unit of measurement (second|minute|hour|day) (default: minutes) -w WARNING, --warning=WARNING The warning threshold -c CRITICAL, --critical=CRITICAL The critical threshold [root@nagios ~]# /usr/lib64/nagios/plugins/check_supervisord -s 192.168.199.217 -P 9001 -u xxxx -p xxxx -a aragorn -w 60 -c 20 aragorn OK: pid 18217, uptime 2 days, 6:42:58 | uptime=3283;60;20; nagios's commands.cfg ### /etc/nagios/objects/commands.cfg define command{ command_name check_supervisord command_line $USER1$/check_supervisord -s $HOSTADDRESS$ -P $ARG1$ -u $ARG2$ -p $ARG3$ -a $ARG4$ -w $ARG5$ -c $ARG6$ } /etc/nagios/conf.d/services/superv/aragorn.cfg define service { use generic-service host_name qa-test-1 service_description Aragorn check_command check_supervisord!9001!xxxx!xxxx!aragorn!60!20 }
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
16,003