2018-05-07 18:34:57 +02:00

4.6 KiB

AWS ELB DataDog monitors

How to use this module

module "datadog-monitors-aws-elb" {
  source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/aws/elb?ref={revision}"

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

Purpose

Creates DataDog monitors with the following checks :

  • ELB no healthy hosts
  • ELB latency too high
  • ELB http code 4xx percent to high
  • ELB http code 5xx percent to high
  • ELB backend http code 4xx percent to high
  • ELB backend http code 5xx percent to high

Inputs

Name Description Type Default Required
artificial_requests_count Number of false requests used to mitigate false positive in case of low trafic string 5 no
delay Delay in seconds for the metric evaluation string 900 no
elb_4xx_message Custom message for ELB 4xx errors monitor string `` no
elb_4xx_silenced Groups to mute for ELB 4xx errors monitor map <map> no
elb_4xx_threshold_critical loadbalancer 4xx critical threshold in percentage string 10 no
elb_4xx_threshold_warning loadbalancer 4xx warning threshold in percentage string 5 no
elb_4xx_timeframe Monitor timeframe for ELB 4xx errors [available values: last_#m (1, 5, 10, 15, or 30), last_#h (1, 2, or 4), or last_1d] string last_5m no
elb_5xx_message Custom message for ELB 5xx errors monitor string `` no
elb_5xx_silenced Groups to mute for ELB 5xx errors monitor map <map> no
elb_5xx_threshold_critical loadbalancer 5xx critical threshold in percentage string 10 no
elb_5xx_threshold_warning loadbalancer 5xx warning threshold in percentage string 5 no
elb_5xx_timeframe Monitor timeframe for ELB 5xx errors [available values: last_#m (1, 5, 10, 15, or 30), last_#h (1, 2, or 4), or last_1d] string last_5m no
elb_backend_4xx_message Custom message for ELB backend 4xx errors monitor string `` no
elb_backend_4xx_silenced Groups to mute for ELB backend 4xx errors monitor map <map> no
elb_backend_4xx_threshold_critical loadbalancer backend 4xx critical threshold in percentage string 10 no
elb_backend_4xx_threshold_warning loadbalancer backend 4xx warning threshold in percentage string 5 no
elb_backend_4xx_timeframe Monitor timeframe for ELB backend 4xx errors [available values: last_#m (1, 5, 10, 15, or 30), last_#h (1, 2, or 4), or last_1d] string last_5m no
elb_backend_5xx_message Custom message for ELB backend 5xx errors monitor string `` no
elb_backend_5xx_silenced Groups to mute for ELB backend 5xx errors monitor map <map> no
elb_backend_5xx_threshold_critical loadbalancer backend 5xx critical threshold in percentage string 10 no
elb_backend_5xx_threshold_warning loadbalancer backend 5xx warning threshold in percentage string 5 no
elb_backend_5xx_timeframe Monitor timeframe for ELB backend 5xx errors [available values: last_#m (1, 5, 10, 15, or 30), last_#h (1, 2, or 4), or last_1d] string last_5m no
elb_backend_latency_critical latency critical threshold in seconds string 5 no
elb_backend_latency_message Custom message for ELB backend latency monitor string `` no
elb_backend_latency_silenced Groups to mute for ELB backend latency monitor map <map> no
elb_backend_latency_timeframe Monitor timeframe for ELB backend latency [available values: last_#m (1, 5, 10, 15, or 30), last_#h (1, 2, or 4), or last_1d] string last_5m no
elb_backend_latency_warning latency warning threshold in seconds string 1 no
elb_no_healthy_instance_message Custom message for ELB no healty instance monitor string `` no
elb_no_healthy_instance_silenced Groups to mute for ELB no healty instance monitor map <map> no
elb_no_healthy_instance_timeframe Monitor timeframe for ELB no healty instance [available values: last_#m (1, 5, 10, 15, or 30), last_#h (1, 2, or 4), or last_1d] string last_5m no
environment Architecture Environment string - yes
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