<% page_title "#{h(@entity)} (entity)" %> <% if @states.empty? %>

This entity has no check output associated with it

<% else %> <% @states.each do |check, status, summary, changed, updated, in_unscheduled_outage, in_scheduled_outage, notified| %> <% row_colour = case status when 'critical', 'unknown' 'danger' when 'ok', 'up' 'success' else status end check_link = u(@base_url) + "check?entity=" << u(@entity) << "&check=" << u(check) %> <% end %>
Check State Summary Last State Change Last Update Last Notification
<%= h check %> <%= h status.upcase %> <% if in_unscheduled_outage%> (Ack'd)<% end %> <% if in_scheduled_outage %> (Sched)<% end %> <%= h summary %> <%= h changed %> <%= h updated %> <%= h notified %>
<% end %>