Added a parameter and default value for the enable_passive_checks parameter; added it to the service object ERB template.

This commit is contained in:
Nick Chappell 2014-07-28 20:46:44 -07:00
parent 4b4079f7e8
commit 31936ee5e7
2 changed files with 4 additions and 2 deletions

View file

@ -23,8 +23,8 @@ define icinga2::object::service (
$retry_interval = undef,
$enable_notifications = undef,
$enable_active_checks = undef,
$enable_passive_checks = undef,
#Parameters to add:
# * enable_passive_checks
# * enable_event_handler
# * enable_flap_detection
# * enable_perfdata

View file

@ -11,7 +11,6 @@
*/
// Parameters to add:
// * enable_passive_checks
// * enable_event_handler
// * enable_flap_detection
// * enable_perfdata
@ -65,4 +64,7 @@ object Service "<%= @object_servicename %>" {
<%- if @enable_active_checks -%>
enable_active_checks = <%= @enable_active_checks -%>
<%- end -%>
<%- if @enable_passive_checks -%>
enable_passive_checks = <%= @enable_passive_checks -%>
<%- end -%>
}