nagios-nrpe/debian/patches/02_nrpe.cfg_local-include_support_nrpe.d.patch

25 lines
626 B
Diff
Raw Permalink Normal View History

2016-12-24 10:24:09 +01:00
Description: Support nrpe_local.cfg & nrpe.d directory.
Author: Sean Finney <seanius@debian.org>
Author: Alexander Wirt <formorer@debian.org>
Forwarded: not-needed
--- a/sample-config/nrpe.cfg.in
+++ b/sample-config/nrpe.cfg.in
2017-09-03 10:52:40 +02:00
@@ -359,3 +359,16 @@ command[check_total_procs]=@pluginsdir@/
#include_dir=<somedirectory>
#include_dir=<someotherdirectory>
+
+
2016-12-24 10:24:09 +01:00
+
+# local configuration:
+# if you'd prefer, you can instead place directives here
+
+include=/etc/nagios/nrpe_local.cfg
+
+# you can place your config snipplets into nrpe.d/
+# only snipplets ending in .cfg will get included
+
+include_dir=/etc/nagios/nrpe.d/
+