summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-20 16:07:34 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-20 16:07:34 +0000
commite9744edacfa67454ae38b092036ae4e29297fc1d (patch)
tree8d6b2075ab0823854fa65c87e4b30156d942aa90 /lib
parent23b836399f07f8d731d6b6c073c7f9606b5bf634 (diff)
Use the summary for more details
Diffstat (limited to 'lib')
-rw-r--r--lib/custodian/alerter.rb2
1 files changed, 1 insertions, 1 deletions
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} <p>The #{@details['test_type']} test succeeded against #{@details['target_host']}</p><p>#{resolved}</p>"
#