diff --git a/templates/nrpe_cfg.erb b/templates/nrpe_cfg.erb index 443e651..1532e9a 100644 --- a/templates/nrpe_cfg.erb +++ b/templates/nrpe_cfg.erb @@ -14,21 +14,8 @@ log_file=<%= @ne_log_file %> debug=<%= @ne_debug %> - -# PID FILE -# The name of the file in which the NRPE daemon should write it's process ID -# number. The file is only written if the NRPE daemon is started by the root -# user and is running in standalone mode. - -pid_file=/var/run/nrpe/nrpe.pid - - -# PORT NUMBER -# Port number we should wait for connections on. -# NOTE: This must be a non-privileged port (i.e. > 1024). -# NOTE: This option is ignored if NRPE is running under either inetd or xinetd - -server_port=5666 +pid_file=<%= @ne_nrpe_pid_file %> +server_port=<%= @ne_nrpe_port %> # SERVER ADDRESS @@ -284,9 +271,6 @@ command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200 ##################################### -#pid_file=<%= @ne_nrpe_pid_file %> -#server_port=<%= @ne_nrpe_port %> - #server_address=<%= @ne_server_address %> #listen_queue_size=<%= @ne_listen_queue_size %>