Sha256: 238ee010596cdc05e5444841db5fc39570e0e84399b04d8aa2f650e522bab591
Contents?: true
Size: 750 Bytes
Versions: 1
Compression:
Stored size: 750 Bytes
Contents
Hi <%= @alert.contact_first_name %> Monitoring has detected the following: Entity: <%= @alert.entity %> Check: <%= @alert.check %> State: <%= @alert.state_title_case %> Summary: <%= @alert.summary %> <% if @alert.details -%> Details: <%= @alert.details %> <% end -%> <% if @alert.time -%> Time: <%= Time.at(@alert.time.to_i).to_s %> <% end -%> <% if @alert.state_duration && @alert.state_duration > 40 -%> Duration: <%= ChronicDuration.output(@alert.state_duration) %> <% end -%> <% if @alert.last_state -%> Previous State: <%= @alert.last_state_title_case %> <% end -%> <% if @alert.last_summary -%> Previous Summary: <%= @alert.last_summary %> <% end -%> Cheers, Flapjack
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flapjack-0.7.29 | lib/flapjack/gateways/email/alert.text.erb |