Sha256: aef239f64fbbab031889142b9fa38ecb4faf0b553da3dd88f2b9a76de0c20ae0
Contents?: true
Size: 782 Bytes
Versions: 40
Compression:
Stored size: 782 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, :keep_zero => true) || '0 secs' %> <% 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
40 entries across 40 versions & 1 rubygems