diff --git a/manifests/params.pp b/manifests/params.pp index 2d629d7..546faa1 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -413,7 +413,17 @@ # @param [String] ng_h_perfdata_proc_e_res The expected result for host performance # data processing in the Nagios configuration. # @param [String] ng_s_perfdata_proc_e_res The expected result for service -# performance data processing in the Nagios configuration. +# performance data processing in the Nagios configuration +# @param [String] ng_translate_pass_h_checks Whether to translate passive +# host checks in the Nagios configuration. Default is '0', which means passive +# host checks will not be translated. You can set this to '1' to enable +# translation of passive host checks if needed. Translating passive host checks +# allows Nagios to convert passive host check results into active check results, +# which can be useful for certain monitoring scenarios. +# @param [String] ng_pass_h_checks_are_soft Whether to treat passive host checks +# as soft checks in the Nagios configuration. Default is '0', which means +# passive host checks will not be treated as soft checks. + ############################################################################### class confdroid_nagios::params ( @@ -566,8 +576,6 @@ class confdroid_nagios::params ( String $ng_mail_user = 'admin@example.net', String $ng_page_user = 'pageadmin@example.net', - - # httpd Boolean $ng_use_https = false, diff --git a/templates/nagios/nagios_cfg.erb b/templates/nagios/nagios_cfg.erb index 3e671c0..67eb59e 100644 --- a/templates/nagios/nagios_cfg.erb +++ b/templates/nagios/nagios_cfg.erb @@ -211,4 +211,4 @@ host_down_disable_service_checks=<%= @ng_host_down_svc_checks %> <% if @ng_enable_load_ctl_options == true -%> loadctl_options=<%= @ng_loadctl_options %> -<% end -%> +<% end -%> \ No newline at end of file