MON-287 update service check monitors names
This commit is contained in:
parent
47bf31bc3f
commit
ec0f7c1e52
@ -1,5 +1,5 @@
|
||||
resource "datadog_monitor" "datadog_apache_process" {
|
||||
name = "[${var.environment}] Can't connect to apache vhost status"
|
||||
name = "[${var.environment}] Apache vhost status does not respond"
|
||||
message = "${coalesce(var.apache_connect_message, var.message)}"
|
||||
|
||||
type = "service check"
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
resource "datadog_monitor" "datadog_nginx_process" {
|
||||
name = "[${var.environment}] Can't connect to nginx vhost status"
|
||||
name = "[${var.environment}] Nginx vhost status does not respond"
|
||||
message = "${coalesce(var.nginx_connect_message, var.message)}"
|
||||
|
||||
type = "service check"
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
resource "datadog_monitor" "datadog_php_fpm_connect_idle" {
|
||||
name = "[${var.environment}] php_fpm busy worker {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}"
|
||||
name = "[${var.environment}] Php-fpm busy worker {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}"
|
||||
message = "${coalesce(var.php_fpm_busy_message, var.message)}"
|
||||
|
||||
type = "metric alert"
|
||||
@ -32,7 +32,7 @@ resource "datadog_monitor" "datadog_php_fpm_connect_idle" {
|
||||
}
|
||||
|
||||
resource "datadog_monitor" "datadog_fpm_process" {
|
||||
name = "[${var.environment}] Can't connect to php-fpm"
|
||||
name = "[${var.environment}] Php-fpm ping url does not respond"
|
||||
message = "${coalesce(var.php_fpm_connect_message, var.message)}"
|
||||
|
||||
type = "service check"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user