ODCS: check for odcs_celery_backend instead of fedmsg-hub-3 in nagios

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2019-11-06 13:22:59 +01:00 committed by Pierre-Yves Chibon
parent 1e08b73604
commit 9ef75bdb24
5 changed files with 4 additions and 4 deletions

View file

@ -145,7 +145,7 @@
- check_mirrorlist_docker_proxy.cfg
- check_mirrorlist_cache.cfg
- check_celery_redis_queue.cfg
- check_fedmsg_hub_3_proc.cfg
- check_odcs_celery_proc.cfg
- check_proxies.cfg
notify:
- restart nrpe

View file

@ -1 +0,0 @@
command[check_fedmsg_hub_3_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-hub-3' -u fedmsg

View file

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

View file

@ -130,7 +130,7 @@ define service {
define service {
host_name odcs-backend01.phx2.fedoraproject.org
service_description Check for fedmsg-hub-3 proc
check_command check_by_nrpe!check_fedmsg_hub_3_proc
check_command check_by_nrpe!check_odcs_celery_proc
use defaulttemplate
}

View file

@ -331,7 +331,7 @@ command[check_fedmsg_gateway_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1
command[check_fedmsg_irc_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-irc' -u fedmsg
command[check_fedmsg_tweet_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-tweet' -u fedmsg
command[check_fedmsg_composer_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-hub-3' -u apache
command[check_fedmsg_hub_3_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-hub-3' -u fedmsg
command[check_fedmsg_odcs_celery_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'odcs-celery-backend ' -u odcs
command[check_repospanner_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'repospanner' -u repoSpanner
command[check_supybot_fedmsg_plugin]=/usr/lib64/nagios/plugins/check_supybot_plugin -t fedmsg
command[check_haproxy_conns]=/usr/lib64/nagios/plugins/check_haproxy_conns.py