<% nav = render_erb('_nav.html.erb', binding) %> <% head = render_erb('_head.html.erb', binding) %> <% foot = render_erb('_foot.html.erb', binding) %> Flapjack - <%= @adjective.capitalize %> Checks <%= head %>

<%= h @count_failing_checks %> failing out of <%= h @count_all_checks %>

<% @entities_sorted.each do |entity| %> <% row_entity = nil %> <% entity_link = "/entity/" << u(entity) %> <% @states[entity].each do |check, status, summary, changed, updated, in_unscheduled_outage, in_scheduled_outage, notified| %> <% row_colour = case status when 'critical', 'unknown' 'error' when 'ok', 'up' 'success' else status end check_link = "/check?entity=" << u(entity) << "&check=" << u(check) %> <% unless row_entity && entity == row_entity %> <% row_entity = entity %> <% end %> <% end %> <% end %>
Entity Check State Summary Last State Change Last Update Last Notification
> <%= h entity %> <%= 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 %>