1.9 KiB

System Linux DataDog monitors

How to use this module

module "datadog-monitors-system-generic" {
  source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//system/linux?ref={revision}"

  message     = "${module.datadog-message-alerting.alerting-message}"
  environment = "${var.environment}"
}

Purpose

Creates a DataDog monitors with the following checks :

  • System CPU High
  • System Free disk space
  • System Free disk inodes
  • System Free memory

Inputs

Name Description Type Default Required
cpu_high_threshold_critical CPU high critical threshold string 95 no
cpu_high_threshold_warning CPU high warning threshold string 80 no
custom_cpu_period Set up period for the query string last_5m 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
free_disk_inodes_threshold_critical Free disk space critical threshold string 5 no
free_disk_inodes_threshold_warning Free disk space warning threshold string 10 no
free_disk_space_threshold_critical Free disk space critical threshold string 5 no
free_disk_space_threshold_warning Free disk space warning threshold string 10 no
free_memory_threshold_critical Free disk space critical threshold string 5 no
free_memory_threshold_warning Free disk space warning threshold string 10 no
message Message sent when an alert is triggered string - yes