MON-499 Readmes ready. Only one monitor with no data TRUE per module
This commit is contained in:
parent
5c4b7dea06
commit
55545331da
@ -18,7 +18,32 @@ Creates DataDog monitors with the following checks:
|
||||
|
||||
- DNS cannot resolve
|
||||
|
||||
## Inputs
|
||||
|
||||
| Name | Description | Type | Default | Required |
|
||||
|------|-------------|:----:|:-----:|:-----:|
|
||||
| cannot\_resolve\_enabled | Flag to enable DNS cannot resolve monitor | string | `"true"` | no |
|
||||
| cannot\_resolve\_extra\_tags | Extra tags for DNS cannot resolve monitor | list(string) | `[]` | no |
|
||||
| cannot\_resolve\_last | Parameter 'last' for the service check | string | `"6"` | no |
|
||||
| cannot\_resolve\_message | Custom message for DNS cannot resolve monitor | string | `""` | no |
|
||||
| cannot\_resolve\_no\_data\_timeframe | DNS cannot resolve monitor no data timeframe | string | `"10"` | no |
|
||||
| cannot\_resolve\_threshold\_critical | DNS cannot resolve monitor (warning threshold) | string | `"5"` | no |
|
||||
| cannot\_resolve\_threshold\_warning | DNS cannot resolve monitor (warning threshold) | string | `"3"` | no |
|
||||
| environment | Architecture Environment | string | n/a | yes |
|
||||
| evaluation\_delay | Delay in seconds for the metric evaluation | string | `"15"` | no |
|
||||
| filter\_tags\_custom | Tags used for custom filtering when filter_tags_use_defaults is false | string | `"*"` | no |
|
||||
| filter\_tags\_custom\_excluded | Tags excluded for custom filtering when filter_tags_use_defaults is false | string | `""` | no |
|
||||
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
|
||||
| message | Message sent when an alert is triggered | string | n/a | yes |
|
||||
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
|
||||
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
|
||||
|
||||
## Outputs
|
||||
|
||||
| Name | Description |
|
||||
|------|-------------|
|
||||
| cannot\_resolve\_id | id for monitor cannot_resolve |
|
||||
|
||||
## Related documentation
|
||||
|
||||
- Datadog Documentation https://docs.datadoghq.com/integrations/dns_check/
|
||||
- [Datadog DNS integration](https://docs.datadoghq.com/integrations/dns_check/)
|
||||
|
||||
@ -20,7 +20,49 @@ Creates DataDog monitors with the following checks:
|
||||
- SSL certificate expiration
|
||||
- SSL invalid certificate
|
||||
|
||||
## Inputs
|
||||
|
||||
| Name | Description | Type | Default | Required |
|
||||
|------|-------------|:----:|:-----:|:-----:|
|
||||
| cannot\_connect\_enabled | Flag to enable HTTP cannot connect monitor | string | `"true"` | no |
|
||||
| cannot\_connect\_extra\_tags | Extra tags for HTTP cannot connect monitor | list(string) | `[]` | no |
|
||||
| cannot\_connect\_last | Parameter 'last' for the service check | string | `"6"` | no |
|
||||
| cannot\_connect\_message | Custom message for HTTP cannot connect monitor | string | `""` | no |
|
||||
| cannot\_connect\_no\_data\_timeframe | HTTP cannot connect monitor no data timeframe | string | `"10"` | 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\_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\_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 |
|
||||
| certificate\_expiration\_date\_threshold\_warning | Certificate Expiration Date warning threshold | string | `"30"` | no |
|
||||
| certificate\_expiration\_date\_time\_aggregator | Time aggregator for the Certificate Expiration Date monitor | string | `"max"` | no |
|
||||
| certificate\_expiration\_date\_timeframe | Timeframe for the Certificate Expiration Date monitor | string | `"last_5m"` | no |
|
||||
| environment | Architecture Environment | string | n/a | yes |
|
||||
| evaluation\_delay | Delay in seconds for the metric evaluation | string | `"15"` | no |
|
||||
| filter\_tags\_custom | Tags used for custom filtering when filter_tags_use_defaults is false | string | `"*"` | no |
|
||||
| filter\_tags\_custom\_excluded | Tags excluded for custom filtering when filter_tags_use_defaults is false | string | `""` | no |
|
||||
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
|
||||
| invalid\_ssl\_certificate\_enabled | Flag to enable SSL invalid certificate monitor | string | `"true"` | no |
|
||||
| invalid\_ssl\_certificate\_extra\_tags | Extra tags for SSL invalid certificate monitor | list(string) | `[]` | no |
|
||||
| invalid\_ssl\_certificate\_last | Parameter 'last' for the service check | string | `"6"` | no |
|
||||
| invalid\_ssl\_certificate\_message | Custom message for SSL invalid certificate monitor | string | `""` | no |
|
||||
| invalid\_ssl\_certificate\_no\_data\_timeframe | SSL invalid certificate monitor no data timeframe | string | `"10"` | no |
|
||||
| invalid\_ssl\_certificate\_threshold\_critical | SSL invalid certificate monitor (warning threshold) | string | `"5"` | no |
|
||||
| invalid\_ssl\_certificate\_threshold\_warning | SSL invalid certificate monitor (warning threshold) | string | `"5"` | no |
|
||||
| message | Message sent when an alert is triggered | string | n/a | yes |
|
||||
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
|
||||
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
|
||||
|
||||
## Outputs
|
||||
|
||||
| Name | Description |
|
||||
|------|-------------|
|
||||
| cannot\_connect\_id | id for monitor cannot_connect |
|
||||
| certificate\_expiration\_date\_id | id for monitor certificate_expiration_date |
|
||||
| invalid\_ssl\_certificate\_id | id for monitor invalid_ssl_certificate |
|
||||
|
||||
## Related documentation
|
||||
|
||||
- Datadog Documentation https://docs.datadoghq.com/integrations/http_check/
|
||||
- [Datadog HTTP integration](https://docs.datadoghq.com/integrations/http_check/)
|
||||
|
||||
@ -54,7 +54,7 @@ EOQ
|
||||
|
||||
new_host_delay = var.new_host_delay
|
||||
no_data_timeframe = var.invalid_ssl_certificate_no_data_timeframe
|
||||
notify_no_data = true
|
||||
notify_no_data = false
|
||||
notify_audit = false
|
||||
locked = false
|
||||
timeout_h = 0
|
||||
|
||||
@ -21,8 +21,58 @@ Creates DataDog monitors with the following checks:
|
||||
- TLS certificate expiring
|
||||
- TLS invalid certificate
|
||||
|
||||
## Inputs
|
||||
|
||||
| Name | Description | Type | Default | Required |
|
||||
|------|-------------|:----:|:-----:|:-----:|
|
||||
| cannot\_connect\_enabled | Flag to enable TLS cannot connect monitor | string | `"true"` | no |
|
||||
| cannot\_connect\_extra\_tags | Extra tags for TLS cannot connect monitor | list(string) | `[]` | no |
|
||||
| cannot\_connect\_last | Parameter 'last' for the service check | string | `"6"` | no |
|
||||
| cannot\_connect\_message | Custom message for TLS cannot connect monitor | string | `""` | no |
|
||||
| cannot\_connect\_no\_data\_timeframe | TLS cannot connect monitor no data timeframe | string | `"10"` | 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\_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\_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 |
|
||||
| certificate\_expiration\_date\_threshold\_warning | Container Memory Usage warning threshold | string | `"30"` | no |
|
||||
| certificate\_expiration\_date\_time\_aggregator | Time aggregator for the Certificate Expiration Date monitor | string | `"max"` | no |
|
||||
| certificate\_expiration\_date\_timeframe | Timeframe for the Certificate Expiration Date monitor | string | `"last_5m"` | no |
|
||||
| environment | Architecture Environment | string | n/a | yes |
|
||||
| evaluation\_delay | Delay in seconds for the metric evaluation | string | `"15"` | no |
|
||||
| filter\_tags\_custom | Tags used for custom filtering when filter_tags_use_defaults is false | string | `"*"` | no |
|
||||
| filter\_tags\_custom\_excluded | Tags excluded for custom filtering when filter_tags_use_defaults is false | string | `""` | no |
|
||||
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
|
||||
| invalid\_tls\_certificate\_enabled | Flag to enable TLS certificate expiration monitor | string | `"true"` | no |
|
||||
| invalid\_tls\_certificate\_extra\_tags | Extra tags for TLS certificate expiration monitor | list(string) | `[]` | no |
|
||||
| invalid\_tls\_certificate\_last | Parameter 'last' for the service check | string | `"6"` | no |
|
||||
| invalid\_tls\_certificate\_message | Custom message for TLS certificate expiration monitor | string | `""` | no |
|
||||
| invalid\_tls\_certificate\_no\_data\_timeframe | TLS certificate expiration monitor no data timeframe | string | `"10"` | no |
|
||||
| invalid\_tls\_certificate\_threshold\_critical | TLS certificate expiration monitor (warning threshold) | string | `"5"` | no |
|
||||
| invalid\_tls\_certificate\_threshold\_warning | TLS certificate expiration monitor (warning threshold) | string | `"5"` | no |
|
||||
| message | Message sent when an alert is triggered | string | n/a | yes |
|
||||
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
|
||||
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
|
||||
| tls\_certificate\_expiration\_enabled | Flag to enable TLS certificate expiration monitor | string | `"true"` | no |
|
||||
| tls\_certificate\_expiration\_extra\_tags | Extra tags for TLS certificate expiration monitor | list(string) | `[]` | no |
|
||||
| tls\_certificate\_expiration\_last | Parameter 'last' for the service check | string | `"6"` | no |
|
||||
| tls\_certificate\_expiration\_message | Custom message for TLS certificate expiration monitor | string | `""` | no |
|
||||
| tls\_certificate\_expiration\_no\_data\_timeframe | TLS certificate expiration monitor no data timeframe | string | `"10"` | no |
|
||||
| tls\_certificate\_expiration\_threshold\_critical | TLS certificate expiration monitor (warning threshold) | string | `"5"` | no |
|
||||
| tls\_certificate\_expiration\_threshold\_warning | TLS certificate expiration monitor (warning threshold) | string | `"5"` | no |
|
||||
|
||||
## Outputs
|
||||
|
||||
| Name | Description |
|
||||
|------|-------------|
|
||||
| cannot\_connect\_id | id for monitor cannot_connect |
|
||||
| certificate\_expiration\_date\_id | id for monitor certificate_expiration_date |
|
||||
| invalid\_tls\_certificate\_id | id for monitor invalid_tls_certificate |
|
||||
| tls\_certificate\_expiration\_id | id for monitor tls_certificate_expiration |
|
||||
|
||||
## Related documentation
|
||||
|
||||
- Datadog Documentation https://docs.datadoghq.com/integrations/tls/
|
||||
- [Datadog TLS integration](https://docs.datadoghq.com/integrations/tls/)
|
||||
|
||||
|
||||
@ -54,7 +54,7 @@ EOQ
|
||||
|
||||
new_host_delay = var.new_host_delay
|
||||
no_data_timeframe = var.invalid_tls_certificate_no_data_timeframe
|
||||
notify_no_data = true
|
||||
notify_no_data = false
|
||||
notify_audit = false
|
||||
locked = false
|
||||
timeout_h = 0
|
||||
@ -89,7 +89,7 @@ EOQ
|
||||
|
||||
new_host_delay = var.new_host_delay
|
||||
no_data_timeframe = var.tls_certificate_expiration_no_data_timeframe
|
||||
notify_no_data = true
|
||||
notify_no_data = false
|
||||
notify_audit = false
|
||||
locked = false
|
||||
timeout_h = 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user