Просмотр исходного кода

Merge pull request #226 from NagiosEnterprises/keep-env-vars-doc

Resolve #222
Sebastian Wolf 6 лет назад
Родитель
Сommit
f515cefebd
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      sample-config/nrpe.cfg.in

+ 6 - 0
sample-config/nrpe.cfg.in

@@ -361,3 +361,9 @@ command[check_total_procs]=@pluginsdir@/check_procs -w 150 -c 200
 
 #include_dir=<somedirectory>
 #include_dir=<someotherdirectory>
+
+# KEEP ENVIRONMENT VARIABLES
+# This directive allows you to retain specific variables from the environment
+# when starting the NRPE daemon. 
+
+#keep_env_vars=NRPE_MULTILINESUPPORT,NRPE_PROGRAMVERSION