Commit d605dbf5 by Joseph Mulloy

Change alarm to per minute for 15 minues OPS-2721

parent e2a47f2a
...@@ -133,11 +133,9 @@ def check_queues(host, port, environment, deploy, max_metrics, threshold, ...@@ -133,11 +133,9 @@ def check_queues(host, port, environment, deploy, max_metrics, threshold,
queue_threshold = threshold queue_threshold = threshold
if queue in thresholds: if queue in thresholds:
queue_threshold = thresholds[queue] queue_threshold = thresholds[queue]
# Period of 300 is 5 minutes # Period is in seconds
period = 300 period = 60
# 6 periods of 5 min each is 30 minutes evaluation_periods = 15
# so queue must be over threshold for 30 minutes
evaluation_periods = 6
comparison_operator = "GreaterThanThreshold" comparison_operator = "GreaterThanThreshold"
treat_missing_data = "notBreaching" treat_missing_data = "notBreaching"
statistic = "Maximum" statistic = "Maximum"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment