From 64407183f192bb68dd38aa2bbe68182616aae671 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 30 Sep 2015 21:26:51 +0000 Subject: [PATCH] Try again to fix the autocloud proc check. --- roles/nagios_client/templates/check_autocloud_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_autocloud_proc.cfg.j2 b/roles/nagios_client/templates/check_autocloud_proc.cfg.j2 index 30efd81da3..0aefef2e62 100644 --- a/roles/nagios_client/templates/check_autocloud_proc.cfg.j2 +++ b/roles/nagios_client/templates/check_autocloud_proc.cfg.j2 @@ -1 +1 @@ -command[check_autocloud_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'autocloud' -u root +command[check_autocloud_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'python' -a 'autocloud_job.py' -u root diff --git a/roles/nagios_server/files/nrpe.cfg b/roles/nagios_server/files/nrpe.cfg index d89d069690..aee30af12d 100644 --- a/roles/nagios_server/files/nrpe.cfg +++ b/roles/nagios_server/files/nrpe.cfg @@ -237,7 +237,7 @@ command[check_haproxy_conns]=/usr/lib64/nagios/plugins/check_haproxy_conns.py command[check_fcomm_cache_worker_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'fcomm-cache-wor' -u apache command[check_fcomm_queue]=/usr/lib64/nagios/plugins/check_fcomm_queue command[check_redis_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'redis-server' -u redis -command[check_autocloud_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'autocloud_job' -u root +command[check_autocloud_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'python' -a 'autocloud_job.py' -u root command[check_openvpn_link]=/usr/lib64/nagios/plugins/check_ping -H 192.168.1.58 -w 375.0,20% -c 500,60% command[check_memcache]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -a '/usr/bin/memcached' -u memcached command[check_memcache_connect]=/usr/lib64/nagios/plugins/check_memcache_connect