Add nagios check for odcs-backend proc.

This commit is contained in:
Ralph Bean 2017-10-17 14:17:30 +00:00
parent 99d68c10df
commit 89fa8fa544
4 changed files with 9 additions and 0 deletions

View file

@ -148,6 +148,7 @@
- check_testcloud.cfg
- check_mirrorlist_docker_proxy.cfg
- check_celery_redis_queue.cfg
- check_odcs_backend_proc.cfg
notify:
- restart nrpe
tags:

View file

@ -0,0 +1 @@
command[check_odcs_backend_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'odcs-backend' -u odcs

View file

@ -162,6 +162,12 @@ define service {
check_command check_by_nrpe!check_fedmsg_hub_proc
use defaulttemplate
}
define service {
host_name odcs-backend01.phx2.fedoraproject.org
service_description Check for odcs-backend proc
check_command check_by_nrpe!check_odcs_backend_proc
use defaulttemplate
}
# Odd one, check for the supybot fedmsg plugin

View file

@ -344,6 +344,7 @@ command[check_koschei_repo_resolver_proc]=/usr/lib64/nagios/plugins/check_procs
command[check_koschei_scheduler_proc]=/usr/lib64/nagios/plugins/check_procs -s RSD -u koschei -C koschei-schedul -c 1:1
command[check_koschei_watcher_proc]=/usr/lib64/nagios/plugins/check_procs -s RSD -u koschei -C koschei-watcher -c 1:1
command[check_mirrorlist_docker_proxy]=/usr/lib64/nagios/plugins/check_tcp -H localhost -p 18081
command[check_odcs_backend_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'odcs-bakend' -u odcs
# The following are fedmsg/datanommer checks to be run on busgateway01.
# They check for the time since the latest message in any particular category.