summaryrefslogtreecommitdiff
path: root/lib/custodian/alerter.rb
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
commitaf5a0526e84ef42d6763215395f9ec7baf28adcc (patch)
tree8d6b2075ab0823854fa65c87e4b30156d942aa90 /lib/custodian/alerter.rb
parent6e876f8a3c8cc2c3fa7ed48764efa890fc5d8098 (diff)
Use the summary for more details
Diffstat (limited to 'lib/custodian/alerter.rb')
-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>"
#