MON-139 - Updated remaining monitors name with new best practice
This commit is contained in:
parent
192aed9333
commit
6ac7b7cf04
@ -7,7 +7,7 @@ data "template_file" "filter" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "datadog_monitor" "datadog_php_fpm_process_idle" {
|
resource "datadog_monitor" "datadog_php_fpm_process_idle" {
|
||||||
name = "[${var.environment}] php_fpm busy worker {{comparator}} {{#is_alert}}{{threshold}}%{{/is_alert}}{{#is_warning}}{{warn_threshold}}%{{/is_warning}} ({{value}}%)"
|
name = "[${var.environment}] php_fpm busy worker {{#is_alert}}{{comparator}}{{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{comparator}}{{warn_threshold}}% ({{value}}%){{/is_warning}}"
|
||||||
message = "${var.message}"
|
message = "${var.message}"
|
||||||
|
|
||||||
type = "metric alert"
|
type = "metric alert"
|
||||||
|
|||||||
@ -7,7 +7,7 @@ data "template_file" "filter" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "datadog_monitor" "datadog_cpu_too_high" {
|
resource "datadog_monitor" "datadog_cpu_too_high" {
|
||||||
name = "[${var.environment}] CPU usage {{comparator}} {{#is_alert}}{{threshold}}%{{/is_alert}}{{#is_warning}}{{warn_threshold}}%{{/is_warning}} ({{value}}%)"
|
name = "[${var.environment}] CPU usage {{#is_alert}}{{comparator}}{{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{comparator}}{{warn_threshold}}% ({{value}}%){{/is_warning}}"
|
||||||
message = "${var.message}"
|
message = "${var.message}"
|
||||||
|
|
||||||
query = <<EOF
|
query = <<EOF
|
||||||
@ -37,7 +37,7 @@ resource "datadog_monitor" "datadog_cpu_too_high" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "datadog_monitor" "datadog_free_disk_space_too_low" {
|
resource "datadog_monitor" "datadog_free_disk_space_too_low" {
|
||||||
name = "[${var.environment}] Free disk space {{comparator}} {{#is_alert}}{{threshold}}%{{/is_alert}}{{#is_warning}}{{warn_threshold}}%{{/is_warning}} ({{value}}%)"
|
name = "[${var.environment}] Free disk space {{#is_alert}}{{comparator}}{{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{comparator}}{{warn_threshold}}% ({{value}}%){{/is_warning}}"
|
||||||
message = "${var.message}"
|
message = "${var.message}"
|
||||||
|
|
||||||
query = <<EOF
|
query = <<EOF
|
||||||
@ -68,7 +68,7 @@ resource "datadog_monitor" "datadog_free_disk_space_too_low" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "datadog_monitor" "datadog_free_disk_space_inodes_too_low" {
|
resource "datadog_monitor" "datadog_free_disk_space_inodes_too_low" {
|
||||||
name = "[${var.environment}] Free disk inodes {{comparator}} {{#is_alert}}{{threshold}}%{{/is_alert}}{{#is_warning}}{{warn_threshold}}%{{/is_warning}} ({{value}}%)"
|
name = "[${var.environment}] Free disk inodes {{#is_alert}}{{comparator}}{{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{comparator}}{{warn_threshold}}% ({{value}}%){{/is_warning}}"
|
||||||
message = "${var.message}"
|
message = "${var.message}"
|
||||||
|
|
||||||
query = <<EOF
|
query = <<EOF
|
||||||
@ -99,7 +99,7 @@ resource "datadog_monitor" "datadog_free_disk_space_inodes_too_low" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "datadog_monitor" "datadog_free_memory" {
|
resource "datadog_monitor" "datadog_free_memory" {
|
||||||
name = "[${var.environment}] Free memory {{comparator}} {{#is_alert}}{{threshold}}%{{/is_alert}}{{#is_warning}}{{warn_threshold}}%{{/is_warning}} ({{value}}%)"
|
name = "[${var.environment}] Free memory {{#is_alert}}{{comparator}}{{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{comparator}}{{warn_threshold}}% ({{value}}%){{/is_warning}}"
|
||||||
message = "${var.message}"
|
message = "${var.message}"
|
||||||
|
|
||||||
query = <<EOF
|
query = <<EOF
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user