Sha256: 7573e9cab27b5d95d1a7634fca2199855cad37683f4511742a7dfd0e28d144fc
Contents?: true
Size: 731 Bytes
Versions: 1
Compression:
Stored size: 731 Bytes
Contents
Hi <%= @contact_first_name %> Monitoring has detected the following: Entity: <%= @entity_name %> Check: <%= @check %> State: <%= ['ok'].include?(@state) ? @state.upcase : @state.titleize %> 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: <%= ['ok'].include?(@last_state) ? @last_state.upcase : @last_state.titleize %> <% end -%> <% if @last_summary -%> Previous Summary: <%= @last_summary %> <% end -%> Cheers, Flapjack
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flapjack-0.7.28 | lib/flapjack/gateways/email/alert.text.erb |