diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-14 09:36:32 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-14 09:36:32 +0000 |
commit | 7654aa8c03a2c3cbbe73b56a60ce70660e3809ab (patch) | |
tree | 332235095ed6e451a13094256076c002b21e6b0b /bin | |
parent | 608571c4f2b25a2cf0cdd9d15714c909b206faa2 (diff) |
Updated the alerting
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/custodian-dequeue | 2 |
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 |