AWS RDS Instance DataDog monitors
How to use this module
module "datadog-monitors-aws-rds" {
source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/aws/rds?ref={revision}"
message = "${module.datadog-message-alerting.alerting-message}"
environment = "${var.environment}"
}
Purpose
Creates a DataDog monitors with the following checks :
- CPU High
- Free disk space low
Inputs
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| cpu_threshold_critical | CPU usage in percent (critical threshold) | string | 90 |
no |
| cpu_threshold_warning | CPU usage in percent (warning threshold) | string | 80 |
no |
| diskspace_threshold_critical | Disk free space in percent (critical threshold) | string | 10 |
no |
| diskspace_threshold_warning | Disk free space in percent (warning threshold) | string | 20 |
no |
| environment | Architecture Environment | string | - | yes |
| evaluation_delay | Delay in seconds for the metric evaluation | string | 600 |
no |
| filter_tags_custom | Tags used 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 | - | yes |
| notify_no_data | Enable 'No Data' alert | string | true |
no |
| renotify_interval | The number of minutes after the last notification before a monitor will re-notify on the current status | string | 60 |
no |
Related documentation
DataDog documentation: https://docs.datadoghq.com/integrations/amazon_rds/
AWS RDS Instance metrics documentation: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/rds-metricscollected.html