Fixed location for nrpe commands.d

This commit is contained in:
Beth Parker 2017-11-12 14:58:55 -06:00
parent 3c74b0d166
commit e88ce4b94d
2 changed files with 3 additions and 2 deletions

View file

@ -48,9 +48,9 @@ monitoring_nrpe:
- name: nrpe
- enable: true
- watch:
- file: /etc/nagios/commands.d
{% if grains['os_family'] == 'Arch' %}
- file: /etc/nrpe/commands.d
{% if grains['os_family'] == 'Arch' %}
- file: /etc/nrpe/nrpe.cfg
{% else %}
- file: /etc/nagios/nrpe.cfg
{% endif %}

View file

@ -0,0 +1 @@
nrpe ALL=(root) NOPASSWD: /bin/systemctl