Sha256: a6ba5681d6baf6d4f11d87257fdab9434be9fe931f5b57f8cdd25e7be81da8b9
Contents?: true
Size: 1.72 KB
Versions: 5
Compression:
Stored size: 1.72 KB
Contents
<h4 class="header"><%= _('Host Configuration Status') -%></h4> <ul> <li> <%= searchable_links _('Hosts that had performed modifications without error'), "last_report > \"#{Setting[:puppet_interval] + 5} minutes ago\" and (status.applied > 0 or status.restarted > 0) and (status.failed = 0)" %> <h4><%= @report[:active_hosts_ok_enabled] %></h4> </li> <li> <%= searchable_links _('Hosts in Error State'), "last_report > \"#{Setting[:puppet_interval] + 5} minutes ago\" and (status.failed > 0 or status.failed_restarts > 0) and status.enabled = true" %> <h4><%= @report[:bad_hosts_enabled] %></h4> </li> <li> <%=searchable_links _("Good Host Reports in the last %s") % time_ago_in_words((Setting[:puppet_interval]+5).minutes.ago), "last_report > \"#{Setting[:puppet_interval]+5} minutes ago\" and status.enabled = true and status.applied = 0 and status.failed = 0 and status.pending = 0" %> <h4><%= @report[:ok_hosts_enabled] %></h4> </li> <li> <%= searchable_links _('Hosts that had pending changes'), 'status.pending > 0 and status.enabled = true' %> <h4><%= @report[:pending_hosts_enabled] %></h4> </li> <li> <%= searchable_links _('Out Of Sync Hosts'), "last_report < \"#{Setting[:puppet_interval] + 5} minutes ago\" and status.enabled = true" %> <h4><%= @report[:out_of_sync_hosts_enabled] %></h4> </li> <li> <%= searchable_links _('Hosts With No Reports'), "not has last_report and status.enabled = true" %> <h4><%= @report[:reports_missing] %></h4> </li> <li> <%= searchable_links _('Hosts With Alerts Disabled'), "status.enabled = false" %> <h4><%= @report[:disabled_hosts] %></h4> </li> <h4 class="total"><%= _("Total Hosts: %s") % @report[:total_hosts] %></h4> </ul>
Version data entries
5 entries across 5 versions & 1 rubygems