summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/custodian-dequeue2
1 files changed, 2 insertions, 0 deletions
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