From 45d9140382e71f6216b22b8bf46c3546d16dc2eb Mon Sep 17 00:00:00 2001
From: Steve Kemp <steve@steve.org.uk>
Date: Wed, 14 Nov 2012 10:36:35 +0000
Subject:   Removed the -low suffix from alert IDs

---
 bin/custodian-dequeue | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'bin')

diff --git a/bin/custodian-dequeue b/bin/custodian-dequeue
index 0405955..a02a75c 100755
--- a/bin/custodian-dequeue
+++ b/bin/custodian-dequeue
@@ -101,9 +101,9 @@ class Alert
 
     alert            = Mauve::Proto::Alert.new
 
-    # e.g. ping-example.vm.bytemark.co.uk-low
-    # e.g. http-http://example.com/page1-low
-    alert.id         = "#{@details['test_type']}-#{@details['target_host']}-low"
+    # e.g. ping-example.vm.bytemark.co.uk
+    # e.g. http-http://example.com/page1
+    alert.id         = "#{@details['test_type']}-#{@details['target_host']}"
 
     alert.subject    = @details['target_host']
     alert.summary    = @details['test_alert']
@@ -130,9 +130,9 @@ class Alert
 
     alert            = Mauve::Proto::Alert.new
 
-    # e.g. ping-example.vm.bytemark.co.uk-low
-    # e.g. http-http://example.com/page1-low
-    alert.id         = "#{@details['test_type']}-#{@details['target_host']}-low"
+    # e.g. ping-example.vm.bytemark.co.uk
+    # e.g. http-http://example.com/page1
+    alert.id         = "#{@details['test_type']}-#{@details['target_host']}"
 
     alert.subject    = @details['target_host']
     alert.summary    = @details['test_alert']
-- 
cgit v1.2.3