diff --git a/templates/nrpe_cfg.erb b/templates/nrpe_cfg.erb index 89dad0f..443e651 100644 --- a/templates/nrpe_cfg.erb +++ b/templates/nrpe_cfg.erb @@ -8,22 +8,11 @@ log_facility=<%= @ne_log_facility %> -# LOG FILE -# If a log file is specified in this option, nrpe will write to -# that file instead of using syslog. +<% unless @ne_log_file.empty? -%> +log_file=<%= @ne_log_file %> +<% end -%> -#log_file=/var/run/nrpe.log - -#<% unless @ne_log_file.empty? -%> -#log_file=<%= @ne_log_file %> -#<% end -%> - -# DEBUGGING OPTION -# This option determines whether or not debugging messages are logged to the -# syslog facility. -# Values: 0=debugging off, 1=debugging on - -debug=0 +debug=<%= @ne_debug %> # PID FILE @@ -295,8 +284,6 @@ command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200 ##################################### -#debug=<%= @ne_debug %> - #pid_file=<%= @ne_nrpe_pid_file %> #server_port=<%= @ne_nrpe_port %>