Hi <%= @alert.contact_first_name %>
You have <%= @alert.rollup_alerts.length %> alerting check<%= @alert.rollup_alerts.length == 1 ? '' : 's' %> as follows:
Check | Entity | State | Duration |
---|---|---|---|
<%= r_check %> | <%= r_entity %> | <%= ['ok'].include?(state) ? state.upcase : state.titleize %> | <%= duration %> |
As your email summary threshold is <%= @alert.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 <%= @alert.rollup_threshold %>. You'll receive summary emails like this one until your number of alerting checks falls below <%= @alert.rollup_threshold %>.
<% end %>Cheers,
Flapjack