MON-476 reduce no data alerts per set of monitors

This commit is contained in:
Quentin Manfroi 2019-06-14 15:00:06 +02:00
parent 4ffe84c21c
commit 5cbf1bbdab
7 changed files with 25 additions and 25 deletions

View File

@ -253,7 +253,7 @@ resource "datadog_monitor" "volume_space" {
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
new_host_delay = "${var.new_host_delay}" new_host_delay = "${var.new_host_delay}"
notify_no_data = true notify_no_data = false
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
timeout_h = 0 timeout_h = 0
@ -286,7 +286,7 @@ resource "datadog_monitor" "volume_inodes" {
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
new_host_delay = "${var.new_host_delay}" new_host_delay = "${var.new_host_delay}"
notify_no_data = true notify_no_data = false
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
timeout_h = 0 timeout_h = 0

View File

@ -22,7 +22,7 @@ resource "datadog_monitor" "es_cluster_status" {
critical = 2 critical = 2
} }
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
@ -57,7 +57,7 @@ resource "datadog_monitor" "es_free_space_low" {
critical = "${var.diskspace_threshold_critical}" critical = "${var.diskspace_threshold_critical}"
} }
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
@ -91,7 +91,7 @@ resource "datadog_monitor" "es_cpu_90_15min" {
critical = "${var.cpu_threshold_critical}" critical = "${var.cpu_threshold_critical}"
} }
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false

View File

@ -17,7 +17,7 @@ resource "datadog_monitor" "rds_cpu_90_15min" {
critical = "${var.cpu_threshold_critical}" critical = "${var.cpu_threshold_critical}"
} }
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
notify_audit = false notify_audit = false
timeout_h = 0 timeout_h = 0
@ -84,7 +84,7 @@ resource "datadog_monitor" "rds_replica_lag" {
critical = "${var.replicalag_threshold_critical}" critical = "${var.replicalag_threshold_critical}"
} }
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
notify_audit = false notify_audit = false
timeout_h = 0 timeout_h = 0

View File

@ -53,7 +53,7 @@ resource "datadog_monitor" "azure_search_throttled_queries_rate" {
silenced = "${var.throttled_queries_rate_silenced}" silenced = "${var.throttled_queries_rate_silenced}"
notify_no_data = true # Will notify when no data is received notify_no_data = false # Will notify when no data is received
renotify_interval = 0 renotify_interval = 0
require_full_window = false require_full_window = false
timeout_h = 0 timeout_h = 0

View File

@ -21,7 +21,7 @@ resource "datadog_monitor" "too_many_jobs_failed" {
silenced = "${var.failed_jobs_rate_silenced}" silenced = "${var.failed_jobs_rate_silenced}"
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
@ -57,7 +57,7 @@ resource "datadog_monitor" "too_many_list_jobs_failed" {
silenced = "${var.failed_listjobs_rate_silenced}" silenced = "${var.failed_listjobs_rate_silenced}"
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
@ -93,7 +93,7 @@ resource "datadog_monitor" "too_many_query_jobs_failed" {
silenced = "${var.failed_queryjobs_rate_silenced}" silenced = "${var.failed_queryjobs_rate_silenced}"
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
@ -149,7 +149,7 @@ resource "datadog_monitor" "total_devices" {
silenced = "${var.total_devices_silenced}" silenced = "${var.total_devices_silenced}"
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
@ -185,7 +185,7 @@ resource "datadog_monitor" "too_many_c2d_methods_failed" {
silenced = "${var.failed_c2d_methods_rate_silenced}" silenced = "${var.failed_c2d_methods_rate_silenced}"
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
@ -221,7 +221,7 @@ resource "datadog_monitor" "too_many_c2d_twin_read_failed" {
silenced = "${var.failed_c2d_twin_read_rate_silenced}" silenced = "${var.failed_c2d_twin_read_rate_silenced}"
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
@ -257,7 +257,7 @@ resource "datadog_monitor" "too_many_c2d_twin_update_failed" {
silenced = "${var.failed_c2d_twin_update_rate_silenced}" silenced = "${var.failed_c2d_twin_update_rate_silenced}"
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
@ -293,7 +293,7 @@ resource "datadog_monitor" "too_many_d2c_twin_read_failed" {
silenced = "${var.failed_d2c_twin_read_rate_silenced}" silenced = "${var.failed_d2c_twin_read_rate_silenced}"
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
@ -329,7 +329,7 @@ resource "datadog_monitor" "too_many_d2c_twin_update_failed" {
silenced = "${var.failed_d2c_twin_update_rate_silenced}" silenced = "${var.failed_d2c_twin_update_rate_silenced}"
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
@ -367,7 +367,7 @@ resource "datadog_monitor" "too_many_d2c_telemetry_egress_dropped" {
silenced = "${var.dropped_d2c_telemetry_egress_silenced}" silenced = "${var.dropped_d2c_telemetry_egress_silenced}"
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
@ -405,7 +405,7 @@ resource "datadog_monitor" "too_many_d2c_telemetry_egress_orphaned" {
silenced = "${var.orphaned_d2c_telemetry_egress_silenced}" silenced = "${var.orphaned_d2c_telemetry_egress_silenced}"
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
@ -443,7 +443,7 @@ resource "datadog_monitor" "too_many_d2c_telemetry_egress_invalid" {
silenced = "${var.invalid_d2c_telemetry_egress_silenced}" silenced = "${var.invalid_d2c_telemetry_egress_silenced}"
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false
@ -473,7 +473,7 @@ resource "datadog_monitor" "too_many_d2c_telemetry_ingress_nosent" {
silenced = "${var.too_many_d2c_telemetry_ingress_nosent_silenced}" silenced = "${var.too_many_d2c_telemetry_ingress_nosent_silenced}"
notify_no_data = true notify_no_data = false
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
renotify_interval = 0 renotify_interval = 0
notify_audit = false notify_audit = false

View File

@ -25,7 +25,7 @@ resource "datadog_monitor" "cpu_utilization" {
timeout_h = 0 timeout_h = 0
include_tags = true include_tags = true
require_full_window = false require_full_window = false
notify_no_data = true notify_no_data = false
renotify_interval = 0 renotify_interval = 0
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
@ -145,7 +145,7 @@ resource "datadog_monitor" "memory_utilization" {
timeout_h = 0 timeout_h = 0
include_tags = true include_tags = true
require_full_window = false require_full_window = false
notify_no_data = true notify_no_data = false
renotify_interval = 0 renotify_interval = 0
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"
@ -226,7 +226,7 @@ resource "datadog_monitor" "failover_unavailable" {
timeout_h = 0 timeout_h = 0
include_tags = true include_tags = true
require_full_window = false require_full_window = false
notify_no_data = true notify_no_data = false
renotify_interval = 0 renotify_interval = 0
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"

View File

@ -60,7 +60,7 @@ resource "datadog_monitor" "unavailable_sending_operations_count" {
timeout_h = 0 timeout_h = 0
include_tags = true include_tags = true
require_full_window = false require_full_window = false
notify_no_data = true notify_no_data = false
renotify_interval = 0 renotify_interval = 0
evaluation_delay = "${var.evaluation_delay}" evaluation_delay = "${var.evaluation_delay}"