2017-07-28 16:42:50 +01:00
|
|
|
################################################################################
|
|
|
|
|
########## nrpe.cfg managed by Puppet ##########
|
|
|
|
|
########## manual changes will be overwritten !!! ##########
|
|
|
|
|
################################################################################
|
|
|
|
|
|
2017-07-28 18:32:57 +01:00
|
|
|
log_facility=<%= @ne_log_facility %>
|
2017-07-28 16:42:50 +01:00
|
|
|
|
2017-07-28 18:35:26 +01:00
|
|
|
<% unless @ne_log_file.empty? -%>
|
|
|
|
|
log_file=<%= @ne_log_file %>
|
|
|
|
|
<% end -%>
|
2017-07-28 16:42:50 +01:00
|
|
|
|
2017-07-28 18:35:26 +01:00
|
|
|
debug=<%= @ne_debug %>
|
2017-07-28 16:42:50 +01:00
|
|
|
|
2017-07-28 18:38:08 +01:00
|
|
|
pid_file=<%= @ne_nrpe_pid_file %>
|
|
|
|
|
server_port=<%= @ne_nrpe_port %>
|
2017-07-28 16:42:50 +01:00
|
|
|
|
2017-07-28 18:39:16 +01:00
|
|
|
server_address=<%= @ne_server_address %>
|
|
|
|
|
listen_queue_size=<%= @ne_listen_queue_size %>
|
2017-07-28 18:28:38 +01:00
|
|
|
|
2017-07-28 18:39:16 +01:00
|
|
|
nrpe_user=<%= @ne_user %>
|
|
|
|
|
nrpe_group=<%= @ne_user %>
|
2017-07-28 18:28:38 +01:00
|
|
|
|
2026-02-13 17:14:46 +01:00
|
|
|
allowed_hosts=127.0.0.1,::1,<%= @nagios_server %>
|
2017-07-28 18:42:06 +01:00
|
|
|
dont_blame_nrpe=<%= @ne_dont_blame_nrpe %>
|
|
|
|
|
allow_bash_command_substitution=<%= @ne_allow_bash_cmd_subst %>
|
2017-07-28 18:28:38 +01:00
|
|
|
|
2017-07-28 18:42:06 +01:00
|
|
|
<% if @ne_allow_sudo == true -%>
|
|
|
|
|
command_prefix=<%= @ne_command_prefix %>
|
|
|
|
|
<% end -%>
|
2017-07-28 18:28:38 +01:00
|
|
|
|
2017-07-28 18:44:04 +01:00
|
|
|
command_timeout=<%= @ne_command_timeout %>
|
|
|
|
|
connection_timeout=<%= @ne_connection_timeout %>
|
2017-07-28 18:28:38 +01:00
|
|
|
|
2017-07-28 18:44:04 +01:00
|
|
|
allow_weak_random_seed=<%= @ne_allow_weak_rnd_seed %>
|
2017-07-28 18:28:38 +01:00
|
|
|
|
2026-03-15 15:54:13 +01:00
|
|
|
<% if @ne_enable_ssl == true -%>
|
2017-07-28 18:49:08 +01:00
|
|
|
ssl_version=<%= @ne_ssl_version %>
|
|
|
|
|
ssl_cipher_list=<%= @ne_ssl_cipher_list %>
|
2026-03-15 16:01:32 +01:00
|
|
|
ssl_cacert_file=<%= @ne_ssl_ca_cert_file %>
|
2017-07-28 18:57:30 +01:00
|
|
|
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 %>
|
2017-07-28 19:26:27 +01:00
|
|
|
<% end -%>
|
2017-07-28 18:28:38 +01:00
|
|
|
|
2017-07-28 19:26:27 +01:00
|
|
|
nasty_metachars=<%= @ne_nasty_metachars %>
|
2017-07-28 18:28:38 +01:00
|
|
|
|
2017-07-28 19:26:27 +01:00
|
|
|
<% unless @ne_include_file.empty? -%>
|
|
|
|
|
include=<%= @ne_include_file %>
|
|
|
|
|
<% end -%>
|
2017-07-28 18:28:38 +01:00
|
|
|
|
2017-07-28 19:26:27 +01:00
|
|
|
include_dir=<%= @ne_main_conf_d_dir %>
|
2017-07-28 16:42:50 +01:00
|
|
|
|
|
|
|
|
### command definitions have been moved to include_dir for easier external
|
|
|
|
|
# management
|