MON-543 only use is_recovery conditionnal variable for alerting message
This commit is contained in:
parent
c3b8517f15
commit
5877edfe9e
@ -2,11 +2,9 @@ data "template_file" "alerting-message" {
|
|||||||
template = <<EOF
|
template = <<EOF
|
||||||
$${prepend_text}
|
$${prepend_text}
|
||||||
{{#is_alert}} $${message_alert} {{/is_alert}}
|
{{#is_alert}} $${message_alert} {{/is_alert}}
|
||||||
{{#is_recovery}} $${message_alert} {{/is_recovery}}
|
|
||||||
{{#is_warning}} $${message_warning} {{/is_warning}}
|
{{#is_warning}} $${message_warning} {{/is_warning}}
|
||||||
{{#is_warning_recovery}} $${message_warning} {{/is_warning_recovery}}
|
|
||||||
{{#is_no_data}} $${message_nodata} {{/is_no_data}}
|
{{#is_no_data}} $${message_nodata} {{/is_no_data}}
|
||||||
{{#is_no_data_recovery}} $${message_nodata} {{/is_no_data_recovery}}
|
{{#is_recovery}} $${message_alert} $${message_warning} $${message_nodata} {{/is_recovery}}
|
||||||
$${append_text}
|
$${append_text}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user