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
|
||||
when: ansible_distribution == 'Debian'
|
||||
|
||||
- name: ensure /etc/nagios/nrpe.d exists
|
||||
file:
|
||||
path: /etc/nagios/nrpe.d
|
||||
state: directory
|
||||
|
||||
- name: ensure nrpe is running
|
||||
service:
|
||||
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
|
||||
# .cfg extension) in one or more directories (with recursion).
|
||||
|
||||
#include_dir=<somedirectory>
|
||||
#include_dir=<someotherdirectory>
|
||||
include_dir=/etc/nagios/nrpe.d
|
||||
|
Loading…
x
Reference in New Issue
Block a user