diff options
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.patch | 24 |
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/ ++ |