MON-499 Disable by default the monitors for the certificates using the metric instead the service check

This commit is contained in:
Rafael Romero Carmona 2019-08-20 12:45:21 +01:00
parent 55545331da
commit 00e2104623
4 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@ module "datadog-monitors-network-http" {
Creates DataDog monitors with the following checks: Creates DataDog monitors with the following checks:
- HTTP cannot connect - HTTP cannot connect
- SSL certificate expiration - SSL certificate expiration (disabled by default)
- SSL invalid certificate - SSL invalid certificate
## Inputs ## 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\_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\_ok | HTTP cannot connect monitor (ok threshold) | string | `"3"` | no |
| cannot\_connect\_threshold\_warning | HTTP cannot connect monitor (warning threshold) | string | `"2"` | 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\_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\_message | Custom message for the Certificate Expiration Date monitor | string | `""` | no |
| certificate\_expiration\_date\_threshold\_critical | Certificate Expiration Date critical threshold | string | `"8"` | no | | certificate\_expiration\_date\_threshold\_critical | Certificate Expiration Date critical threshold | string | `"8"` | no |

View File

@ -141,7 +141,7 @@ variable "invalid_ssl_certificate_extra_tags" {
variable "certificate_expiration_date_enabled" { variable "certificate_expiration_date_enabled" {
description = "Flag to enable Certificate Expiration Date monitor" description = "Flag to enable Certificate Expiration Date monitor"
type = string type = string
default = "true" default = "false"
} }
variable "certificate_expiration_date_message" { variable "certificate_expiration_date_message" {

View File

@ -17,7 +17,7 @@ module "datadog-monitors-network-tls" {
Creates DataDog monitors with the following checks: Creates DataDog monitors with the following checks:
- TLS cannot connect - TLS cannot connect
- TLS certificate expiration - TLS certificate expiration (disabled by default)
- TLS certificate expiring - TLS certificate expiring
- TLS invalid certificate - 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\_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\_ok | TLS cannot connect monitor (ok threshold) | string | `"3"` | no |
| cannot\_connect\_threshold\_warning | TLS cannot connect monitor (warning threshold) | string | `"2"` | 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\_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\_message | Custom message for the Certificate Expiration Date monitor | string | `""` | no |
| certificate\_expiration\_date\_threshold\_critical | Container Memory Usage critical threshold | string | `"8"` | no | | certificate\_expiration\_date\_threshold\_critical | Container Memory Usage critical threshold | string | `"8"` | no |

View File

@ -186,7 +186,7 @@ variable "tls_certificate_expiration_extra_tags" {
variable "certificate_expiration_date_enabled" { variable "certificate_expiration_date_enabled" {
description = "Flag to enable Certificate Expiration Date monitor" description = "Flag to enable Certificate Expiration Date monitor"
type = string type = string
default = "true" default = "false"
} }
variable "certificate_expiration_date_message" { variable "certificate_expiration_date_message" {