Added an enable_passive_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:
Nick Chappell 2014-07-26 20:47:24 -07:00
parent 5c5d88eee6
commit 55c81ab2a1
2 changed files with 4 additions and 2 deletions

View file

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

View file

@ -11,7 +11,6 @@
*/
//Parameters to include:
// * enable_passive_checks
// * enable_event_handler
// * enable_flap_detection
// * enable_perfdata
@ -68,4 +67,7 @@ object Host "<%= @object_hostname %>" {
<%- if @enable_active_checks -%>
enable_active_checks = <%= @enable_active_checks -%>
<%- end -%>
<%- if @enable_passive_checks -%>
enable_passive_checks = <%= @enable_passive_checks -%>
<%- end -%>
}