make odcs-backend check for fedmsg-hub-3 instead (infra #7526)

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2019-01-28 08:53:16 +00:00
parent fb0ebb1087
commit 4c8cf933fc
5 changed files with 5 additions and 5 deletions

View file

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

View file

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

View file

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

View file

@ -150,8 +150,8 @@ define service {
}
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
service_description Check for fedmsg-hub-3 proc
check_command check_by_nrpe!check_fedmsg_hub_3_proc
use defaulttemplate
}

View file

@ -331,6 +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_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
@ -346,7 +347,6 @@ command[check_koschei_scheduler_proc]=/usr/lib64/nagios/plugins/check_procs -s R
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_mailman_api]=/usr/lib64/nagios/plugins/check_http -H localhost -p 8001 -u /3.0
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.