diff options
author | Patrick Uiterwijk <patrick@puiterwijk.org> | 2017-08-02 23:21:37 +0200 |
---|---|---|
committer | Patrick Uiterwijk <patrick@puiterwijk.org> | 2017-08-02 23:21:45 +0200 |
commit | 8f05121798561f810979e3ca65a90077e1081301 (patch) | |
tree | e41063cf60c2660d129e9f3c1901c2ef80557a5e | |
parent | 323dfd93ec01a4c45e9ff2d619b4967a89e2f7bd (diff) | |
download | ansible-8f05121798561f810979e3ca65a90077e1081301.tar.gz ansible-8f05121798561f810979e3ca65a90077e1081301.tar.xz ansible-8f05121798561f810979e3ca65a90077e1081301.zip |
The new varnish pkg runs as varnish
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
-rw-r--r-- | roles/nagios_client/templates/check_varnish_proc.cfg.j2 | 2 | ||||
-rw-r--r-- | roles/nagios_server/files/nrpe/nrpe.cfg | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/nagios_client/templates/check_varnish_proc.cfg.j2 b/roles/nagios_client/templates/check_varnish_proc.cfg.j2 index 69f676055..3935c16e5 100644 --- a/roles/nagios_client/templates/check_varnish_proc.cfg.j2 +++ b/roles/nagios_client/templates/check_varnish_proc.cfg.j2 @@ -1 +1 @@ -command[check_varnish_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:2 -C 'varnishd' -u nobody +command[check_varnish_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:2 -C 'varnishd' -u varnish diff --git a/roles/nagios_server/files/nrpe/nrpe.cfg b/roles/nagios_server/files/nrpe/nrpe.cfg index 478e04e8e..73698e7c2 100644 --- a/roles/nagios_server/files/nrpe/nrpe.cfg +++ b/roles/nagios_server/files/nrpe/nrpe.cfg @@ -319,7 +319,7 @@ command[check_lock_file_age]=/usr/lib64/nagios/plugins/check_lock_file_age -w 1 command[check_nagios]=/usr/lib64/nagios/plugins/check_nagios -e 5 -F /var/spool/nagios/status.dat -C /usr/sbin/nagios command[check_auditd]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'auditd' -u root command[check_cron]=/usr/lib64/nagios/plugins/check_procs -c 1:10 -C 'crond' -u root -command[check_varnish_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:2 -C 'varnishd' -u nobody +command[check_varnish_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:2 -C 'varnishd' -u varnish command[check_saslauthd]=/usr/lib64/nagios/plugins/check_procs -c 1:10 -C 'saslauthd' -u root command[check_readonly_fs]=/usr/lib64/nagios/plugins/check_readonly_fs command[check_postfix_queue]=/usr/lib64/nagios/plugins/check_postfix_queue -w 2 -c 5 |