MON-32 Updated SWAP default WARNING threshold to 40MB, which is 80% of the 50MB recommendation for alerts according to AWS documentation

This commit is contained in:
Rafael Romero Carmona 2018-06-28 14:11:58 +02:00 committed by Quentin Manfroi
parent 84495256a9
commit 7e39b28703
4 changed files with 17 additions and 12 deletions

View File

@ -80,8 +80,8 @@ Inputs
| no_connection_timeframe | Monitor timeframe for Elasticache no connection [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
| swap_message | Custom message for Elasticache swap monitor | string | `` | no |
| swap_silenced | Groups to mute for Elasticache swap monitor | map | `<map>` | no |
| swap_threshold_critical | Elasticache swap critical threshold in percentage | string | `50000000` | no |
| swap_threshold_warning | Elasticache swap warning threshold in percentage | string | `0` | no |
| swap_threshold_critical | Elasticache swap critical threshold in Bytes | string | `50000000` | no |
| swap_threshold_warning | Elasticache swap warning threshold in Bytes | string | `40000000` | no |
| swap_time_aggregator | Monitor aggregator for Elasticache memcached swap [available values: min, max or avg] | string | `min` | no |
| swap_timeframe | Monitor timeframe for Elasticache swap [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
@ -95,3 +95,5 @@ DataDog documentation:
AWS ElasticSearch Service Instance metrics documentation: [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html)

View File

@ -179,12 +179,12 @@ variable "swap_timeframe" {
}
variable "swap_threshold_warning" {
description = "Elasticache swap warning threshold in percentage"
default = 0
description = "Elasticache swap warning threshold in Bytes"
default = 40000000
}
variable "swap_threshold_critical" {
description = "Elasticache swap critical threshold in percentage"
description = "Elasticache swap critical threshold in Bytes"
default = 50000000
}

View File

@ -90,8 +90,8 @@ Inputs
| replication_lag_timeframe | Monitor timeframe for Elasticache redis replication lag [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
| swap_message | Custom message for Elasticache swap monitor | string | `` | no |
| swap_silenced | Groups to mute for Elasticache swap monitor | map | `<map>` | no |
| swap_threshold_critical | Elasticache swap critical threshold in percentage | string | `50000000` | no |
| swap_threshold_warning | Elasticache swap warning threshold in percentage | string | `0` | no |
| swap_threshold_critical | Elasticache swap critical threshold in Bytes | string | `50000000` | no |
| swap_threshold_warning | Elasticache swap warning threshold in Bytes | string | `40000000` | no |
| swap_time_aggregator | Monitor aggregator for Elasticache memcached swap [available values: min, max or avg] | string | `min` | no |
| swap_timeframe | Monitor timeframe for Elasticache swap [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
@ -106,3 +106,6 @@ DataDog documentation:
* [https://www.datadoghq.com/blog/monitoring-elasticache-performance-metrics-with-redis-or-memcached/](https://www.datadoghq.com/blog/monitoring-elasticache-performance-metrics-with-redis-or-memcached/)
AWS ElasticSearch Service Instance metrics documentation: [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html)

View File

@ -229,12 +229,12 @@ variable "swap_timeframe" {
}
variable "swap_threshold_warning" {
description = "Elasticache swap warning threshold in percentage"
default = 0
description = "Elasticache swap warning threshold in Bytes"
default = 40000000
}
variable "swap_threshold_critical" {
description = "Elasticache swap critical threshold in percentage"
description = "Elasticache swap critical threshold in Bytes"
default = 50000000
}