From 5de4020d2a2ed1028ce39d3a8bd3a8bd865fc8cd Mon Sep 17 00:00:00 2001 From: Tim Laszlo Date: Tue, 5 Jun 2012 14:41:43 -0500 Subject: web_reports: added a view to show the most common configuration problems --- .../reports/templates/config_items/common.html | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/lib/Bcfg2/Server/Reports/reports/templates/config_items/common.html (limited to 'src/lib/Bcfg2/Server/Reports/reports/templates/config_items/common.html') diff --git a/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/common.html b/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/common.html new file mode 100644 index 000000000..02e53cff5 --- /dev/null +++ b/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/common.html @@ -0,0 +1,42 @@ +{% extends "base-timeview.html" %} +{% load bcfg2_tags %} + +{% block title %}Bcfg2 - Common Problems{% endblock %} + +{% block extra_header_info %} +{% endblock%} + +{% block pagebanner %}Common configuration problems{% endblock %} + +{% block content %} +
+
+ Showing items with more then {{ threshold }} entries + + +
+
+ {% for type_name, type_list in lists %} +
+
+

{{ type_name|capfirst }} entries

+
[–]
+
+ {% if type_list %} + + + {% for entry, reason, interaction in type_list %} + + + + + + + {% endfor %} +
TypeNameCountReason
{{ entry.kind }}{{ entry.name }}{{ interaction|length }}{{ reason.short_list|join:"," }}
+ {% else %} +

There are currently no inconsistent {{ type_name }} configuration entries.

+ {% endif %} +
+ {% endfor %} +{% endblock %} -- cgit v1.2.3-1-g7c22