Change instances of 'enable_flap_detection' to 'enable_flapping'. This is a result of https://dev.icinga.org/issues/6870, which fixed the incorrect parameter name being used in the documentation.
refs# 7712 : https://dev.icinga.org/issues/7712
This commit is contained in:
parent
5cd1e2e53c
commit
6234216847
6 changed files with 9 additions and 9 deletions
|
@ -26,7 +26,7 @@ define icinga2::object::apply_service_to_host (
|
|||
$enable_active_checks = undef,
|
||||
$enable_passive_checks = undef,
|
||||
$enable_event_handler = undef,
|
||||
$enable_flap_detection = undef,
|
||||
$enable_flapping = undef,
|
||||
$enable_perfdata = undef,
|
||||
$event_command = undef,
|
||||
#flapping_threshold is defined as a percentage, eg. 10%, 50%, etc.
|
||||
|
|
|
@ -26,7 +26,7 @@ define icinga2::object::host (
|
|||
$enable_active_checks = undef,
|
||||
$enable_passive_checks = undef,
|
||||
$enable_event_handler = undef,
|
||||
$enable_flap_detection = undef,
|
||||
$enable_flapping = undef,
|
||||
$enable_perfdata = undef,
|
||||
$event_command = undef,
|
||||
#flapping_threshold is defined as a percentage, eg. 10%, 50%, etc.
|
||||
|
|
|
@ -25,7 +25,7 @@ define icinga2::object::service (
|
|||
$enable_active_checks = undef,
|
||||
$enable_passive_checks = undef,
|
||||
$enable_event_handler = undef,
|
||||
$enable_flap_detection = undef,
|
||||
$enable_flapping = undef,
|
||||
$enable_perfdata = undef,
|
||||
$event_command = undef,
|
||||
#flapping_threshold is defined as a percentage, eg. 10%, 50%, etc.
|
||||
|
|
|
@ -63,8 +63,8 @@ apply Service "<%= @object_servicename %>" to Host {
|
|||
<%- if @enable_event_handler -%>
|
||||
enable_event_handler = <%= @enable_event_handler -%>
|
||||
<%- end -%>
|
||||
<%- if @enable_flap_detection -%>
|
||||
enable_flap_detection = <%= @enable_flap_detection -%>
|
||||
<%- if @enable_flapping -%>
|
||||
enable_flapping = <%= @enable_flapping -%>
|
||||
<%- end -%>
|
||||
<%- if @enable_perfdata -%>
|
||||
enable_perfdata = <%= @enable_perfdata -%>
|
||||
|
|
|
@ -60,8 +60,8 @@ object Host "<%= @object_hostname %>" {
|
|||
<%- if @enable_event_handler -%>
|
||||
enable_event_handler = <%= @enable_event_handler -%>
|
||||
<%- end -%>
|
||||
<%- if @enable_flap_detection -%>
|
||||
enable_flap_detection = <%= @enable_flap_detection -%>
|
||||
<%- if @enable_flapping -%>
|
||||
enable_flapping = <%= @enable_flapping -%>
|
||||
<%- end -%>
|
||||
<%- if @enable_perfdata -%>
|
||||
enable_perfdata = <%= @enable_perfdata -%>
|
||||
|
|
|
@ -57,8 +57,8 @@ object Service "<%= @object_servicename %>" {
|
|||
<%- if @enable_event_handler -%>
|
||||
enable_event_handler = <%= @enable_event_handler -%>
|
||||
<%- end -%>
|
||||
<%- if @enable_flap_detection -%>
|
||||
enable_flap_detection = <%= @enable_flap_detection -%>
|
||||
<%- if @enable_flapping -%>
|
||||
enable_flapping = <%= @enable_flapping -%>
|
||||
<%- end -%>
|
||||
<%- if @enable_perfdata -%>
|
||||
enable_perfdata = <%= @enable_perfdata -%>
|
||||
|
|
Loading…
Reference in a new issue