Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of cfg_dir on Redhat #61

Open
Yoda-BZH opened this issue Jun 1, 2018 · 3 comments
Open

Use of cfg_dir on Redhat #61

Yoda-BZH opened this issue Jun 1, 2018 · 3 comments

Comments

@Yoda-BZH
Copy link

Yoda-BZH commented Jun 1, 2018

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

@Yoda-BZH
Copy link
Author

Yoda-BZH commented Jun 1, 2018

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/

@Yoda-BZH
Copy link
Author

Yoda-BZH commented Jun 1, 2018

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.

@mgomersbach
Copy link
Contributor

seems solves by 32864fc ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants