55 lines
1.6 KiB
Plaintext
55 lines
1.6 KiB
Plaintext
################################################################################
|
|
########## nrpe.cfg managed by Puppet ##########
|
|
########## manual changes will be overwritten !!! ##########
|
|
################################################################################
|
|
|
|
log_facility=<%= @ne_log_facility %>
|
|
|
|
<% unless @ne_log_file.empty? -%>
|
|
log_file=<%= @ne_log_file %>
|
|
<% end -%>
|
|
|
|
debug=<%= @ne_debug %>
|
|
|
|
pid_file=<%= @ne_nrpe_pid_file %>
|
|
server_port=<%= @ne_nrpe_port %>
|
|
|
|
server_address=<%= @ne_server_address %>
|
|
listen_queue_size=<%= @ne_listen_queue_size %>
|
|
|
|
nrpe_user=<%= @ne_user %>
|
|
nrpe_group=<%= @ne_user %>
|
|
|
|
allowed_hosts=127.0.0.1,::1,<%= @nagios_server %>
|
|
dont_blame_nrpe=<%= @ne_dont_blame_nrpe %>
|
|
allow_bash_command_substitution=<%= @ne_allow_bash_cmd_subst %>
|
|
|
|
<% if @ne_allow_sudo == true -%>
|
|
command_prefix=<%= @ne_command_prefix %>
|
|
<% end -%>
|
|
|
|
command_timeout=<%= @ne_command_timeout %>
|
|
connection_timeout=<%= @ne_connection_timeout %>
|
|
|
|
allow_weak_random_seed=<%= @ne_allow_weak_rnd_seed %>
|
|
|
|
<% if @ne_enable_ssl == true -%>
|
|
ssl_cipher_list=<%= @ne_ssl_cipher_list %>
|
|
ssl_cacert_file=<%= @ne_ssl_ca_cert_file %>
|
|
ssl_cert_file=<%= @ne_ssl_cert_file %>
|
|
ssl_privatekey_file=<%= @ne_ssl_privatekey_file %>
|
|
ssl_client_certs=<%= @ne_ssl_client_certs %>
|
|
ssl_logging=<%= @ne_ssl_logging %>
|
|
<% end -%>
|
|
|
|
nasty_metachars=<%= @ne_nasty_metachars %>
|
|
|
|
<% unless @ne_include_file.empty? -%>
|
|
include=<%= @ne_include_file %>
|
|
<% end -%>
|
|
|
|
include_dir=<%= @ne_main_conf_d_dir %>
|
|
|
|
### command definitions have been moved to include_dir for easier external
|
|
# management
|