datadog-monitors terraform module sample

This commit is contained in:
Kevin Pecquet 2017-07-03 19:35:05 +02:00
parent 88a537b673
commit f72a713c4b

19
module-datadog.sample Normal file
View File

@ -0,0 +1,19 @@
module "datadog-monitors" {
source = "git::ssh://git@bitbucket.org/morea/terraform.datadog.monitors.git"
ho_escalation_group = "@pagerduty-Public_Cloud_FR_-CustomerName_HO"
hno_escalation_group = "@pagerduty-Public_Cloud_FR_-CustomerName_HNO"
#default monitors templates integrations examples
linux_basics = "true"
nginx = "true"
aws_rds_mysql = "true"
#custom monitors template integrations examples
cpu_custom = "true" #Will match the tag dd_cpu_high (NB: it will replace the basic cpu alert)
cpu_custom_period = "60"
cpu_custom_warning_threshold = "90"
cpu_custom_warning_escalation_msg = ${var.ho_escalation_group}
cpu_custom_alert_threshold = "95"
cpu_custom_alert_escalation_msg = ${var.hno_escalation_group}
}