summaryrefslogtreecommitdiffstats
path: root/debian/patches/02_nrpe.cfg_local-include_support_nrpe.d.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:20:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:20:10 +0000
commit6a225eb1a8f6d293b65eb32924444f5b63a33d0c (patch)
treee599e801c077cd49399448948811a536f2a8d717 /debian/patches/02_nrpe.cfg_local-include_support_nrpe.d.patch
parentAdding upstream version 3.2.1. (diff)
downloadnagios-nrpe-debian.tar.xz
nagios-nrpe-debian.zip
Adding debian version 3.2.1-2.debian/3.2.1-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/02_nrpe.cfg_local-include_support_nrpe.d.patch')
-rw-r--r--debian/patches/02_nrpe.cfg_local-include_support_nrpe.d.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/02_nrpe.cfg_local-include_support_nrpe.d.patch b/debian/patches/02_nrpe.cfg_local-include_support_nrpe.d.patch
new file mode 100644
index 0000000..6c607fd
--- /dev/null
+++ b/debian/patches/02_nrpe.cfg_local-include_support_nrpe.d.patch
@@ -0,0 +1,24 @@
+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
+@@ -359,3 +359,16 @@ command[check_total_procs]=@pluginsdir@/
+
+ #include_dir=<somedirectory>
+ #include_dir=<someotherdirectory>
++
++
++
++# 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/
++