Description: Support nrpe_local.cfg & nrpe.d directory. Author: Sean Finney Author: Alexander Wirt Forwarded: not-needed --- a/sample-config/nrpe.cfg.in +++ b/sample-config/nrpe.cfg.in @@ -362,6 +362,19 @@ command[check_total_procs]=@pluginsdir@/ #include_dir= #include_dir= + + +# 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/ + + # KEEP ENVIRONMENT VARIABLES # This directive allows you to retain specific variables from the environment # when starting the NRPE daemon.