% page_title "#{h(@check)} on #{h(@entity)}" %> <% check_path_escaped = u(@entity) << '/' << u(@check) current_time = Time.now %>
<%= h @check_details %>
Last state change: | <%= h relative_time_ago(Time.at(@check_last_change.to_i)) %> ago | <%= h Time.at(@check_last_change.to_i).to_s %> | |
Last update: | <%= h relative_time_ago(Time.at(@check_last_update.to_i)) %> ago | <%= h Time.at(@check_last_update.to_i).to_s %> | |
Last <%= h type.to_s %> notification: | <%= @last_notifications[type] ? h(@last_notifications[type][:relative]) : 'never' %> | <%= @last_notifications[type] ? h(@last_notifications[type][:time].to_s) : ' ' %> | <%= @last_notifications[type] ? h(@last_notifications[type][:summary]) : ' ' %> |
Timestamp | State | Summary |
---|---|---|
<%= h Time.at(state_change[:timestamp]).to_s %> | <%= h state_change[:state] %> | <%= h state_change[:summary] %> |
No state changes recorded for this check.
<% end %>Start | End | Duration | Summary | Actions |
---|---|---|---|---|
<%= h Time.at(start_time).to_s %> | <%= h Time.at(end_time).to_s %> | <%= h(ChronicDuration.output(duration, :keep_zero => true) || '0 secs') %> | <%= h summary %> | <% if end_time > current_time.to_i %> <% label = (start_time > current_time.to_i) ? 'Delete' : 'End Now' %> <% else %> <% end %> |
No maintenance is scheduled
<% end %>Name | Media |
---|---|
<%= h contact.name %> |
<% if contact.media && !contact.media.empty? %>
<%= h contact.media.keys.collect(&:capitalize).join(", ") %> <% else %>No media <% end %> |
There are no contacts associated with this check.
<% end %>Hide the check from the Flapjack web interface. Use this if you are no longer actively running this check.
Flapjack will automatically re-commission this check if it receives another event for it.
<% else %>This check has been decommissioned.
Flapjack will re-commission this check if it receives another event for it.
<% end %>