Open Yoda-BZH opened 6 years ago
With the tested nrpe, include_dir is present and enabled by default.
# INCLUDE CONFIG DIRECTORY
# 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/nrpe.d/
Also, https://github.com/saltstack-formulas/nagios-formula/blob/master/nagios/nrpe/dynamic.sls#L13-L14 should be changed to be use on recent Red Hat.
Hello,
In https://github.com/saltstack-formulas/nagios-formula/blob/master/nagios/map.jinja#L134, cfg_dir is not defined.
Is there a reason for not having this variable ? If none, would it be possible to have it defined to /etc/nrpe.d ?
Thank you
Server: Red Hat Enterprise Linux Server release 7.5 (Maipo) nrpe: nrpe-2.15-4.2.el7rhgs.x86_64