Added an enable_notifications 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
8c9efdf291
commit
ad45f44542
2 changed files with 5 additions and 3 deletions
|
@ -20,9 +20,9 @@ define icinga2::object::host (
|
|||
$check_period = undef,
|
||||
$check_interval = undef,
|
||||
$retry_interval = undef,
|
||||
|
||||
$enable_notifications = undef,
|
||||
|
||||
# Parameters that still need to be included:
|
||||
# enable_notifications
|
||||
# enable_active_checks
|
||||
# enable_passive_checks
|
||||
# enable_event_handler
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
*/
|
||||
|
||||
//Parameters to include:
|
||||
// * enable_notifications
|
||||
// * enable_active_checks
|
||||
// * enable_passive_checks
|
||||
// * enable_event_handler
|
||||
|
@ -64,4 +63,7 @@ object Host "<%= @object_hostname %>" {
|
|||
<%- if @retry_interval -%>
|
||||
retry_interval = <%= @retry_interval -%>
|
||||
<%- end -%>
|
||||
<%- if @enable_notifications -%>
|
||||
enable_notifications = <%= @enable_notifications -%>
|
||||
<%- end -%>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue