summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-14 10:36:35 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-14 10:36:35 +0000
commit45d9140382e71f6216b22b8bf46c3546d16dc2eb (patch)
treeb5865bb3570f8ebe75bc8ba8b401ae101c1ec73e /bin
parent37f6d1ec4ea66d2c4bbf57682625f39c95ecbf55 (diff)
Removed the -low suffix from alert IDs
Diffstat (limited to 'bin')
-rwxr-xr-xbin/custodian-dequeue12
1 files changed, 6 insertions, 6 deletions
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']