Fix NRPE pid file
This commit is contained in:
parent
7318aad98c
commit
452044c988
|
@ -1,7 +1,9 @@
|
||||||
### {{ ansible_managed }}
|
### {{ ansible_managed }}
|
||||||
|
|
||||||
log_facility=daemon
|
log_facility=daemon
|
||||||
pid_file={{ monitored_nrpe_pidfile }}
|
{% if monitored_nrpe_pidfile %}pid_file={{ monitored_nrpe_pidfile }}
|
||||||
|
{% else %}# pid_file=
|
||||||
|
{% endif %}
|
||||||
debug=0
|
debug=0
|
||||||
|
|
||||||
{% if monitored_nrpe_server_address %}server_address={{ monitored_nrpe_server_address }}
|
{% if monitored_nrpe_server_address %}server_address={{ monitored_nrpe_server_address }}
|
||||||
|
|
|
@ -19,5 +19,5 @@ monitored_packages_nrpe:
|
||||||
- nrpe
|
- nrpe
|
||||||
|
|
||||||
monitored_nrpe_basedir: /etc
|
monitored_nrpe_basedir: /etc
|
||||||
monitored_nrpe_pidfile: /var/run/nrpe.pid
|
monitored_nrpe_pidfile: False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue