From ae443cca4f0e36782d7a47e36a077489e48f7aa6 Mon Sep 17 00:00:00 2001
From: MJB <mjb@it-innovation.soton.ac.uk>
Date: Wed, 5 Sep 2018 15:08:30 +0100
Subject: [PATCH] fixed alert testing threshold

---
 src/test/clmctest/alerts/alerts_test_config.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/test/clmctest/alerts/alerts_test_config.yaml b/src/test/clmctest/alerts/alerts_test_config.yaml
index 54d504e..c2e9332 100644
--- a/src/test/clmctest/alerts/alerts_test_config.yaml
+++ b/src/test/clmctest/alerts/alerts_test_config.yaml
@@ -22,7 +22,7 @@ topology_template:
             event_type: threshold
             metric: nginx.requests
             condition:
-              threshold: 5
+              threshold: 1
               granularity: 5
               aggregation_method: mean
               resource_type:
@@ -36,13 +36,13 @@ topology_template:
             event_type: threshold
             metric: cpu.usage_system
             condition:
-              threshold: 0.2
+              threshold: 10
               granularity: 10
               aggregation_method: mean
               resource_type:
                 flame_location: DC1
                 flame_sfp: nginx
-              comparison_operator: gte
+              comparison_operator: lte
             action:
               implementation:
                 - http://172.40.231.200:9999/
@@ -51,7 +51,7 @@ topology_template:
             event_type: relative
             metric: nginx.accepts
             condition:
-              threshold: 5
+              threshold: 1
               granularity: 10
               resource_type:
                 flame_sfc: MS_Template_1  # value is already given in metadata so this is optional
-- 
GitLab