diff options
| author | Steve Kemp <steve@steve.org.uk> | 2012-11-14 09:49:25 +0000 | 
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2012-11-14 09:49:25 +0000 | 
| commit | 1bd78fec18e3fc77f504c2bcfa25dbfbd81f1009 (patch) | |
| tree | eebee295ac91f8e276472d7a60692c850f607977 /bin/custodian-dequeue | |
| parent | 0d5b2fb03f8942b4d38246705cae46bcea83078e (diff) | |
  Updated.
Diffstat (limited to 'bin/custodian-dequeue')
| -rwxr-xr-x | bin/custodian-dequeue | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/bin/custodian-dequeue b/bin/custodian-dequeue index 3acbb69..3c2b173 100755 --- a/bin/custodian-dequeue +++ b/bin/custodian-dequeue @@ -101,11 +101,11 @@ class Alert      # e.g. ping-example.vm.bytemark.co.uk-low      # e.g. http-http://example.com/page1-low -    alert.id         = "#{@details['test_type']}-@details['test_host']-low" +    alert.id         = "#{@details['test_type']}-@details['target_host']-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.subject    = @details['target_host'] +    alert.summary    = "#{@details['target_host']} #{@details['test_alert']}" +    alert.detail     = "The #{@details['test_type']} test failed against #{@details['target_host']}: #{detail}"      alert.raise_time = Time.now.to_i      update.alert << alert @@ -127,11 +127,11 @@ class Alert      # e.g. ping-example.vm.bytemark.co.uk-low      # e.g. http-http://example.com/page1-low -    alert.id         = "#{@details['test_type']}-@details['test_host']-low" +    alert.id         = "#{@details['test_type']}-@details['target_host']-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.subject    = @details['target_host'] +    alert.summary    = "#{@details['target_host']} #{@details['test_alert']}" +    alert.detail     = "The #{@details['test_type']} test succeeded against #{@details['target_host']}"      alert.clear_time = Time.now.to_i      update.alert << alert | 
