Hi <%= @contact_first_name %>
You have <%= @rollup_alerts.length %> alerting check<%= @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 <%= @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