From af5a0526e84ef42d6763215395f9ec7baf28adcc Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Tue, 20 Nov 2012 16:07:34 +0000 Subject: Use the summary for more details --- lib/custodian/alerter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/custodian/alerter.rb b/lib/custodian/alerter.rb index aafd089..19df3f5 100644 --- a/lib/custodian/alerter.rb +++ b/lib/custodian/alerter.rb @@ -252,7 +252,7 @@ class Alerter alert = Mauve::Proto::Alert.new alert.id = "#{@details['test_type']}-#{@details['target_host']}" alert.subject = subject - alert.summary = @details['test_alert'] + alert.summary = "#{@details['test_alert']} to #{subject} failed #{detail}" alert.detail = "#{inside}

The #{@details['test_type']} test succeeded against #{@details['target_host']}

#{resolved}

" # -- cgit v1.2.1