From 69c43ce6b99b8c4cdb2353b102c451d94c8f67cd Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 24 Mar 2016 21:04:24 +0000 Subject: [PATCH] Switch nagios checks for bodhi to look for apache instead of masher user. --- roles/nagios/client/templates/check_fedmsg_masher_proc.cfg.j2 | 2 +- roles/nagios/server/files/nrpe.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/nagios/client/templates/check_fedmsg_masher_proc.cfg.j2 b/roles/nagios/client/templates/check_fedmsg_masher_proc.cfg.j2 index b6ec46a6af..b6ad466b59 100644 --- a/roles/nagios/client/templates/check_fedmsg_masher_proc.cfg.j2 +++ b/roles/nagios/client/templates/check_fedmsg_masher_proc.cfg.j2 @@ -1 +1 @@ -command[check_fedmsg_masher_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-hub' -u masher +command[check_fedmsg_masher_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-hub' -u apache diff --git a/roles/nagios/server/files/nrpe.cfg b/roles/nagios/server/files/nrpe.cfg index 04dd746974..752bca5695 100644 --- a/roles/nagios/server/files/nrpe.cfg +++ b/roles/nagios/server/files/nrpe.cfg @@ -234,7 +234,7 @@ command[check_fedmsg_hub_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C ' command[check_fedmsg_gateway_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-gateway' -u fedmsg 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_masher_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-hub' -u masher +command[check_fedmsg_masher_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-hub' -u apache 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 command[check_redis_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'redis-server' -u redis