From 7654aa8c03a2c3cbbe73b56a60ce70660e3809ab Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 14 Nov 2012 09:36:32 +0000 Subject: Updated the alerting --- bin/custodian-dequeue | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/custodian-dequeue') diff --git a/bin/custodian-dequeue b/bin/custodian-dequeue index 3408f2d..74e5c3f 100755 --- a/bin/custodian-dequeue +++ b/bin/custodian-dequeue @@ -99,6 +99,7 @@ class Alert alert = Mauve::Proto::Alert.new alert.id = "#{@details['test_type']}-low" + alert.subject = @details['test_host'] alert.summary = "#{@details['test_host']} #{@details['test_alert']}" alert.detail = "The #{@details['test_type']} test failed against #{@details['test_host']}: #{detail}" alert.raise_time = Time.now.to_i @@ -120,6 +121,7 @@ class Alert alert = Mauve::Proto::Alert.new alert.id = "#{@details['test_type']}-low" + alert.subject = @details['test_host'] alert.summary = "#{@details['test_host']} #{@details['test_alert']}" alert.detail = "The #{@details['test_type']} test succeeded against #{@details['test_host']}" alert.clear_time = Time.now.to_i -- cgit v1.2.1