diff --git a/manifests/object/host.pp b/manifests/object/host.pp index 57ce393..1bf66e4 100644 --- a/manifests/object/host.pp +++ b/manifests/object/host.pp @@ -30,9 +30,9 @@ define icinga2::object::host ( #flapping_threshold is defined as a percentage, eg. 10%, 50%, etc. $flapping_threshold = undef, $volatile = undef, + $notes = undef, # Parameters that still need to be included: - # notes # notes_url # action_url # icon_image diff --git a/templates/object_host.conf.erb b/templates/object_host.conf.erb index 8de1676..371257c 100644 --- a/templates/object_host.conf.erb +++ b/templates/object_host.conf.erb @@ -11,7 +11,6 @@ */ //Parameters to include: -// * notes // * notes_url // * action_url // * icon_image @@ -82,4 +81,7 @@ object Host "<%= @object_hostname %>" { <%- if @volatile -%> volatile = "<%= @volatile -%>" <%- end -%> + <%- if @notes -%> + notes = "<%= @notes -%>" + <%- end -%> }