Added an enable_flap_detection parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters.

This commit is contained in:
Nick Chappell 2014-07-26 20:53:07 -07:00
parent 3f1b1847be
commit 6981ccf12d
2 changed files with 4 additions and 2 deletions

View file

@ -24,9 +24,9 @@ define icinga2::object::host (
$enable_active_checks = undef,
$enable_passive_checks = undef,
$enable_event_handler = undef,
$enable_flap_detection = undef,
# Parameters that still need to be included:
# enable_flap_detection
# enable_perfdata
# event_command
# flapping_threshold

View file

@ -11,7 +11,6 @@
*/
//Parameters to include:
// * enable_flap_detection
// * enable_perfdata
// * event_command
// * flapping_threshold
@ -72,4 +71,7 @@ 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 -%>
<%- end -%>
}