{% extends 'generic/object.html' %} {% load helpers %} {% load i18n %} {% block title %}{{ object }} - {% trans "Counts explained" %}{% endblock %} {% block extra_controls %}  {% trans "Health" %} {% endblock extra_controls %} {% block content %}
{{ title|default:_("Counts explained") }}
{% if not known %}

{% trans "That reason is not one this page lists. Open it from the Counts explained table on the Health page." %}

{% else %} {% if fixable %}{% endif %}
{% trans "What this is" %}{{ why }}
{% trans "Fixable" %}{{ fixable }}
{% trans "What to do" %}{{ advice }}
{% trans "Devices" %}{{ total }}{% if truncated %} ({% blocktrans %}first {{ limit }} shown{% endblocktrans %}){% endif %}
{% if not uncovered %}
{% trans "How to read this" %}

{% trans "A device with no primary IP is not always a problem. Each one is given exactly one reason, so the reasons add up to the count. A firewall virtual system or HA peer sharing its parent's address, for example, is by design, while a router that holds an address but was not given a primary IP is worth a look." %}

{% trans "Use the role buttons to see one kind of device, such as routers and switches. Open a device to fix it in NetBox. Fixable says whether a change can help: yes, needs a person (look at it), or no (by design)." %}

{% endif %}
{% for chip in chips %} {{ chip.name }} {{ chip.count }} {% endfor %}
{% endif %}
{% if known and legend %}
{% for item in legend %} {% endfor %}
{% trans "What each reason means" %}
{% trans "Reason" %} {% trans "Devices" %} {% trans "Fixable" %} {% trans "Why" %} {% trans "What to do" %}
{{ item.title }} {{ item.count }} {{ item.fixable }} {{ item.why }} {{ item.what_to_do }}
{% endif %} {% if known %}
{% if all_reasons %}{% endif %} {% if uncovered %} {% endif %} {% for row in rows %} {% if all_reasons %}{% endif %} {% if uncovered %} {% endif %} {% empty %} {% endfor %}
{% trans "Device" %} {% trans "Site" %} {% trans "Role" %} {% trans "Status" %}{% trans "Reason" %}{% trans "Rule" %} {% trans "Uncovered for (this sync)" %}
{{ row.device|linkify }} {{ row.device.site|linkify }} {{ row.device.role|linkify }} {{ row.device.get_status_display }}{{ row.reason_title }}{{ row.detail|default:"" }} {% if row.absence %} {% blocktrans with runs=row.absence.consecutive_absent_runs since=row.absence.first_absent_at|date:"Y-m-d" %}{{ runs }} run(s), since {{ since }}{% endblocktrans %} {% else %} — {% endif %}
{% trans "No devices." %}
{% endif %}
{% endblock content %}