Added an enable_event_handler 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
55c81ab2a1
commit
3f1b1847be
2 changed files with 4 additions and 2 deletions
|
@ -23,9 +23,9 @@ define icinga2::object::host (
|
|||
$enable_notifications = undef,
|
||||
$enable_active_checks = undef,
|
||||
$enable_passive_checks = undef,
|
||||
$enable_event_handler = undef,
|
||||
|
||||
# Parameters that still need to be included:
|
||||
# enable_event_handler
|
||||
# enable_flap_detection
|
||||
# enable_perfdata
|
||||
# event_command
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
*/
|
||||
|
||||
//Parameters to include:
|
||||
// * enable_event_handler
|
||||
// * enable_flap_detection
|
||||
// * enable_perfdata
|
||||
// * event_command
|
||||
|
@ -70,4 +69,7 @@ object Host "<%= @object_hostname %>" {
|
|||
<%- if @enable_passive_checks -%>
|
||||
enable_passive_checks = <%= @enable_passive_checks -%>
|
||||
<%- end -%>
|
||||
<%- if @enable_event_handler -%>
|
||||
enable_event_handler = <%= @enable_event_handler -%>
|
||||
<%- end -%>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue