<% if @auto_refresh %> <% end %> <% page_title "Checks" %>
e.g. the exact name, or a /regexp/
Filter by whether checks are enabled
Filter by whether checks are failing
<% @checks.each do |check| %> <% status = @states[check[:id]] row_colour = case status[:condition] when 'critical', 'unknown' 'danger' when 'ok', 'up' 'success' else status[:condition] end check_link = @base_url + "checks/" + u(check[:id]) %> <% end %>
Check State Summary Last State Change Last Update Last Notification
<%= h check[:name] %> <%= h status[:condition].upcase %> <% if false %> (Ack'd)<% end %> <% if false %> (Sched)<% end %> <%= h status[:summary] %> <%= h status[:last_changed] %> <%= h status[:last_updated] %> <%= h status[:last_notified] %>
<%= erb '_pagination.html'.to_sym, :layout => false %>