MON-286 remove notify no data on metrics monitors
This commit is contained in:
parent
391240f597
commit
61843c980f
@ -91,7 +91,7 @@ Creates DataDog monitors with the following checks:
|
||||
| unreachable_enabled | Flag to enable Host unreachable monitor | string | `true` | no |
|
||||
| unreachable_extra_tags | Extra tags for Host unreachable monitor | list | `<list>` | no |
|
||||
| unreachable_message | Custom message for Host unreachable monitor | string | `` | no |
|
||||
| unreachable_no_data_timeframe | Timeframe for Host unreachable monitor to alert on no data | string | `2` | no |
|
||||
| unreachable_no_data_timeframe | Timeframe for Host unreachable monitor to alert on no data | string | `20` | no |
|
||||
| unreachable_silenced | Groups to mute for Host unreachable monitor | map | `<map>` | no |
|
||||
|
||||
## Outputs
|
||||
|
||||
@ -58,7 +58,7 @@ variable "unreachable_message" {
|
||||
variable "unreachable_no_data_timeframe" {
|
||||
description = "Timeframe for Host unreachable monitor to alert on no data"
|
||||
type = "string"
|
||||
default = 2
|
||||
default = 20
|
||||
}
|
||||
|
||||
variable "cpu_high_silenced" {
|
||||
|
||||
@ -14,13 +14,13 @@ resource "datadog_monitor" "datadog_host_unreachable" {
|
||||
}
|
||||
|
||||
notify_no_data = true
|
||||
no_data_timeframe = "${var.unreachable_no_data_timeframe}"
|
||||
new_host_delay = "${var.new_host_delay}"
|
||||
notify_audit = false
|
||||
timeout_h = 0
|
||||
include_tags = true
|
||||
locked = false
|
||||
require_full_window = true
|
||||
no_data_timeframe = "${var.unreachable_no_data_timeframe}"
|
||||
|
||||
silenced = "${var.unreachable_silenced}"
|
||||
|
||||
@ -45,7 +45,7 @@ resource "datadog_monitor" "datadog_cpu_too_high" {
|
||||
critical = "${var.cpu_high_threshold_critical}"
|
||||
}
|
||||
|
||||
notify_no_data = true
|
||||
notify_no_data = false
|
||||
evaluation_delay = "${var.evaluation_delay}"
|
||||
new_host_delay = "${var.new_host_delay}"
|
||||
notify_audit = false
|
||||
@ -78,7 +78,7 @@ resource "datadog_monitor" "datadog_load_too_high" {
|
||||
critical = "${var.cpu_load_threshold_critical}"
|
||||
}
|
||||
|
||||
notify_no_data = true
|
||||
notify_no_data = false
|
||||
evaluation_delay = "${var.evaluation_delay}"
|
||||
new_host_delay = "${var.new_host_delay}"
|
||||
notify_audit = false
|
||||
@ -111,7 +111,7 @@ resource "datadog_monitor" "datadog_free_disk_space_too_low" {
|
||||
critical = "${var.free_disk_space_threshold_critical}"
|
||||
}
|
||||
|
||||
notify_no_data = true
|
||||
notify_no_data = false
|
||||
evaluation_delay = "${var.evaluation_delay}"
|
||||
new_host_delay = "${var.new_host_delay}"
|
||||
notify_audit = false
|
||||
@ -184,7 +184,7 @@ resource "datadog_monitor" "datadog_free_disk_space_inodes_too_low" {
|
||||
critical = "${var.free_disk_inodes_threshold_critical}"
|
||||
}
|
||||
|
||||
notify_no_data = true
|
||||
notify_no_data = false
|
||||
evaluation_delay = "${var.evaluation_delay}"
|
||||
new_host_delay = "${var.new_host_delay}"
|
||||
notify_audit = false
|
||||
@ -217,7 +217,7 @@ resource "datadog_monitor" "datadog_free_memory" {
|
||||
critical = "${var.free_memory_threshold_critical}"
|
||||
}
|
||||
|
||||
notify_no_data = true
|
||||
notify_no_data = false
|
||||
evaluation_delay = "${var.evaluation_delay}"
|
||||
new_host_delay = "${var.new_host_delay}"
|
||||
renotify_interval = 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user