Sha256: fa68e93a10cdc6667f86518de5ff67e05079b45a6c1ebff76218f32657855308

Contents?: true

Size: 633 Bytes

Versions: 2

Compression:

Stored size: 633 Bytes

Contents

Hi <%= @contact_first_name %>

Monitoring has detected the following:

Entity:           <%= @entity_name %>
Check:            <%= @check %>
State:            <%= @state.upcase %>
Summary:          <%= @summary %>
<% if @details -%>
Details:          <%= @details %>
<% end -%>
<% if @time -%>
Time:             <%= Time.at(@time.to_i).to_s %>
<% end -%>
<% if @duration && @duration > 40 -%>
Duration:         <%= ChronicDuration.output(@duration) %>
<% end -%>
<% if @last_state -%>
Previous State:   <%= @last_state.upcase %>
<% end -%>
<% if @last_summary -%>
Previous Summary: <%= @last_summary %>
<% end -%>

Cheers,
Flapjack

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flapjack-0.7.27 lib/flapjack/gateways/email/alert.text.erb
flapjack-0.7.26 lib/flapjack/gateways/email/alert.text.erb