%h2 Alert detail %table %tr %th.summary{:title => "Text for humans describing the nature of the alert, first 100 characters are only ones guaranteed to make it to pagers, twitter, SMS etc."} Summary %td= @alert.summary %tr %th.summary{:title => "The server/entity that this alert concerns"} Subject %td= @alert.subject %tr %th{:title => "The server/entitiy that originated the alert"} Source %td= @alert.source %tr %th{:title => "HTML fragment describing the alert in more detail, no limit on length."} Detail %td :textile #{@alert.detail} %tr %th{:title => "ID set by the source of the alert."} Alert ID %td= @alert.alert_id %tr %th{:title => "The group in the Mauve server configuration that matches this alert"} Alert group %td= @alert.alert_group.name %tr %th{:title => "The level of the first group in the Mauve server configuration that matched this alert"} Alert level %td= @alert.level.to_s.upcase -if @alert.raised? %tr %th{:title => "The time at which the alert was raised"} Raised at %td= @alert.raised_at.to_s_human -if @alert.acknowledged? %tr %th{:title => "The time at which the alert was acknowledged"} Acknowledged at %td= @alert.acknowledged_at.to_s_human + " by " + @alert.acknowledged_by + " until " + @alert.will_unacknowledge_at.to_s_human -if @alert.will_raise_at %tr %th{:title => "The time at which the alert will be automatically raised"} Will raise at %td= @alert.will_raise_at.to_s_human -if @alert.cleared_at %tr %th{:title => "The time at which the alert was last cleared"} Last cleared at %td= @alert.cleared_at.to_s_human -if @alert.will_clear_at %tr %th{:title => "The time at which the alert will be automatically cleared"} Will clear %td= @alert.will_raise_at.to_s_human -if @alert.suppressed? %tr %th{:title => "The time at which notifications for this alert will start"} Suppressed until %td= @alert.suppress_until.to_s_human %tr %th History %td %ul#histories - @alert.histories.all(:created_at.gte => Time.now - 3.days).each do |history| %li = history.event at = (history.created_at.nil? ? "unkown" : history.created_at.to_s_human) %p %a{:href => "/events/alert/#{@alert.id}"} View full event history %h2 Actions %form{:method => :post, :action => "/alert/#{@alert.id}"} =partial("alert_actions")