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 | d0342a1764bc17a5e76b2e38ce03689f0cc6ba43 (patch) | |
tree | 332235095ed6e451a13094256076c002b21e6b0b /bin | |
parent | f9111f4a19cada2bfb9c74def92b6ffc575602c9 (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 |