Added an enable_active_checks parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters.
This commit is contained in:
parent
ad45f44542
commit
5c5d88eee6
2 changed files with 5 additions and 3 deletions
|
@ -21,9 +21,9 @@ define icinga2::object::host (
|
|||
$check_interval = undef,
|
||||
$retry_interval = undef,
|
||||
$enable_notifications = undef,
|
||||
|
||||
$enable_active_checks = undef,
|
||||
|
||||
# Parameters that still need to be included:
|
||||
# enable_active_checks
|
||||
# enable_passive_checks
|
||||
# enable_event_handler
|
||||
# enable_flap_detection
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
*/
|
||||
|
||||
//Parameters to include:
|
||||
// * enable_active_checks
|
||||
// * enable_passive_checks
|
||||
// * enable_event_handler
|
||||
// * enable_flap_detection
|
||||
|
@ -66,4 +65,7 @@ object Host "<%= @object_hostname %>" {
|
|||
<%- if @enable_notifications -%>
|
||||
enable_notifications = <%= @enable_notifications -%>
|
||||
<%- end -%>
|
||||
<%- if @enable_active_checks -%>
|
||||
enable_active_checks = <%= @enable_active_checks -%>
|
||||
<%- end -%>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue