From 00e2104623bd2d32a52cd5b902649a89e86352bd Mon Sep 17 00:00:00 2001 From: Rafael Romero Carmona Date: Tue, 20 Aug 2019 12:45:21 +0100 Subject: [PATCH] MON-499 Disable by default the monitors for the certificates using the metric instead the service check --- network/http/README.md | 4 ++-- network/http/inputs.tf | 2 +- network/tls/README.md | 4 ++-- network/tls/inputs.tf | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/network/http/README.md b/network/http/README.md index 8a8288c..d894492 100644 --- a/network/http/README.md +++ b/network/http/README.md @@ -17,7 +17,7 @@ module "datadog-monitors-network-http" { Creates DataDog monitors with the following checks: - HTTP cannot connect -- SSL certificate expiration +- SSL certificate expiration (disabled by default) - SSL invalid certificate ## Inputs @@ -32,7 +32,7 @@ Creates DataDog monitors with the following checks: | cannot\_connect\_threshold\_critical | HTTP cannot connect monitor (warning threshold) | string | `"3"` | no | | cannot\_connect\_threshold\_ok | HTTP cannot connect monitor (ok threshold) | string | `"3"` | no | | cannot\_connect\_threshold\_warning | HTTP cannot connect monitor (warning threshold) | string | `"2"` | no | -| certificate\_expiration\_date\_enabled | Flag to enable Certificate Expiration Date monitor | string | `"true"` | no | +| certificate\_expiration\_date\_enabled | Flag to enable Certificate Expiration Date monitor | string | `"false"` | no | | certificate\_expiration\_date\_extra\_tags | Extra tags for Certificate Expiration Date monitor | list(string) | `[]` | no | | certificate\_expiration\_date\_message | Custom message for the Certificate Expiration Date monitor | string | `""` | no | | certificate\_expiration\_date\_threshold\_critical | Certificate Expiration Date critical threshold | string | `"8"` | no | diff --git a/network/http/inputs.tf b/network/http/inputs.tf index 3b50be0..a90387a 100644 --- a/network/http/inputs.tf +++ b/network/http/inputs.tf @@ -141,7 +141,7 @@ variable "invalid_ssl_certificate_extra_tags" { variable "certificate_expiration_date_enabled" { description = "Flag to enable Certificate Expiration Date monitor" type = string - default = "true" + default = "false" } variable "certificate_expiration_date_message" { diff --git a/network/tls/README.md b/network/tls/README.md index 10ac9b1..2a7f472 100644 --- a/network/tls/README.md +++ b/network/tls/README.md @@ -17,7 +17,7 @@ module "datadog-monitors-network-tls" { Creates DataDog monitors with the following checks: - TLS cannot connect -- TLS certificate expiration +- TLS certificate expiration (disabled by default) - TLS certificate expiring - TLS invalid certificate @@ -33,7 +33,7 @@ Creates DataDog monitors with the following checks: | cannot\_connect\_threshold\_critical | TLS cannot connect monitor (warning threshold) | string | `"3"` | no | | cannot\_connect\_threshold\_ok | TLS cannot connect monitor (ok threshold) | string | `"3"` | no | | cannot\_connect\_threshold\_warning | TLS cannot connect monitor (warning threshold) | string | `"2"` | no | -| certificate\_expiration\_date\_enabled | Flag to enable Certificate Expiration Date monitor | string | `"true"` | no | +| certificate\_expiration\_date\_enabled | Flag to enable Certificate Expiration Date monitor | string | `"false"` | no | | certificate\_expiration\_date\_extra\_tags | Extra tags for Certificate Expiration Date monitor | list(string) | `[]` | no | | certificate\_expiration\_date\_message | Custom message for the Certificate Expiration Date monitor | string | `""` | no | | certificate\_expiration\_date\_threshold\_critical | Container Memory Usage critical threshold | string | `"8"` | no | diff --git a/network/tls/inputs.tf b/network/tls/inputs.tf index bb92313..c2ba5e5 100644 --- a/network/tls/inputs.tf +++ b/network/tls/inputs.tf @@ -186,7 +186,7 @@ variable "tls_certificate_expiration_extra_tags" { variable "certificate_expiration_date_enabled" { description = "Flag to enable Certificate Expiration Date monitor" type = string - default = "true" + default = "false" } variable "certificate_expiration_date_message" {