Added a notes 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
16a558c534
commit
b366738fd9
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 -%>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue