Make use of the /etc/nagios/nrpe.d directory
This commit is contained in:
parent
41450f6cdc
commit
b3516cb24f
@ -37,6 +37,11 @@
|
|||||||
- reload nagios-nrpe-server
|
- reload nagios-nrpe-server
|
||||||
when: ansible_distribution == 'Debian'
|
when: ansible_distribution == 'Debian'
|
||||||
|
|
||||||
|
- name: ensure /etc/nagios/nrpe.d exists
|
||||||
|
file:
|
||||||
|
path: /etc/nagios/nrpe.d
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: ensure nrpe is running
|
- name: ensure nrpe is running
|
||||||
service:
|
service:
|
||||||
name: nrpe
|
name: nrpe
|
||||||
|
@ -368,5 +368,4 @@ command[check_apt]=/usr/lib/nagios/plugins/check_apt
|
|||||||
# This directive allows you to include definitions from config files (with a
|
# This directive allows you to include definitions from config files (with a
|
||||||
# .cfg extension) in one or more directories (with recursion).
|
# .cfg extension) in one or more directories (with recursion).
|
||||||
|
|
||||||
#include_dir=<somedirectory>
|
include_dir=/etc/nagios/nrpe.d
|
||||||
#include_dir=<someotherdirectory>
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user