Hi <%= @alert.contact_name %>
<% rollup_alerts_count = @alert.rollup_alerts.length -%>You have <%= rollup_alerts_count %> alerting check<%= (rollup_alerts_count == 1) ? '' : 's' %> as follows:
Check | State | Duration | Summary |
---|---|---|---|
<%= check.name %> | <%= ['ok'].include?(state) ? state.upcase : state.titleize %> | <%= duration %> | <%= summary %> |
As your email summary threshold is <%= rollup_threshold %>, we're taking your email alerts out of summary mode now. You'll now be emailed individually for each alerting check.
<% else %>Your email alerts are being summarised as your email summary threshold is set to <%= rollup_threshold %>. You'll receive summary emails like this one until your number of alerting checks falls below <%= rollup_threshold %>.
<% end %>Cheers,
Flapjack