Merge branch 'MON-327_fix_lb_warn' into 'master'
MON-327 fix warning message on lb healthy monitors Closes MON-327 See merge request claranet/pt-monitoring/projects/datadog/terraform/monitors!46
This commit is contained in:
commit
e4369da176
@ -1,6 +1,6 @@
|
||||
resource "datadog_monitor" "ALB_no_healthy_instances" {
|
||||
count = "${var.alb_no_healthy_instances_enabled ? 1 : 0}"
|
||||
name = "[${var.environment}] ALB healthy instances {{#is_alert}}at 0{{/is_alert}}{{#is_warning}}{{value}}at {{value}}%{{/is_warning}}"
|
||||
name = "[${var.environment}] ALB healthy instances {{#is_alert}}is at 0{{/is_alert}}{{#is_warning}}is at {{value}}%{{/is_warning}}"
|
||||
type = "metric alert"
|
||||
message = "${coalesce(var.alb_no_healthy_instances_message, var.message)}"
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
resource "datadog_monitor" "ELB_no_healthy_instances" {
|
||||
count = "${var.elb_no_healthy_instance_enabled ? 1 : 0}"
|
||||
name = "[${var.environment}] ELB healthy instances {{#is_alert}}at 0{{/is_alert}}{{#is_warning}}{{value}}at {{value}}%{{/is_warning}}"
|
||||
name = "[${var.environment}] ELB healthy instances {{#is_alert}}is at 0{{/is_alert}}{{#is_warning}}is at {{value}}%{{/is_warning}}"
|
||||
message = "${coalesce(var.elb_no_healthy_instance_message, var.message)}"
|
||||
|
||||
query = <<EOF
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user