{% load info %}
Full sysname | {{ netbox.sysname }} | ||||||||
---|---|---|---|---|---|---|---|---|---|
Type | {% if netbox.type %} {{ netbox.type }} | {% else %} N/A {% endif %}||||||||
Category | {{ netbox.category }} | ||||||||
Device groups | {% for netboxgroup in netboxgroups %} {{ netboxgroup.category_id }} {% endfor %} | ||||||||
Function | {{ netbox.get_function|default:"N/A" }} | ||||||||
Organization | {{ netbox.organization }} | ||||||||
Room | {{ netbox.room }} | ||||||||
Serial number | {{ netbox.device.serial|default:"N/A" }} | ||||||||
Software | {{ netbox.device.software_version|default:"N/A" }} | ||||||||
IP address | {{ netbox.ip }} | ||||||||
Prefix | {% with netbox.get_filtered_prefix as prefix %} {% if prefix %} {{ prefix }} {% else %} N/A {% endif %} {% endwith %} | ||||||||
Uplink{{ uplinks|pluralize }} |
{% if uplinks %}
{% if uplinks|length_is:1 %}
{% if uplinks.0.this %}
From
{{ uplinks.0.this }} To {% endif %} {{ uplinks.0.other }} {% else %}
|
{% endwith %}
||||||||
Modules | {{ netbox.module_set.count }} | ||||||||
Interfaces | {{ netbox.interface_set.count }} | ||||||||
Switch ports | {{ netbox.get_swports.count }} | ||||||||
Router ports | {{ netbox.get_gwports.count }} | ||||||||
Status | |||||||||
Uptime | {{ netbox.get_up_display|capfirst }} {% ifequal netbox.up netbox.UP_UP %} for {{ netbox.up_since|timesince }} {% endifequal %} | ||||||||
Availability | {% if stats %} {% with stats.availability as a %} {% if a.day %} {{ a.day|floatformat:2 }}% {% else %} (N/A) {% endif %} last day, {% if a.week %} {{ a.week|floatformat:2 }}% {% else %} (N/A) {% endif %} last week, {% if a.month %} {{ a.month|floatformat:2 }}% {% else %} (N/A) {% endif %} last month {% endwith %} {% else %} N/A {% endif %} | ||||||||
Response time | {% if stats %} {% with stats.response_time as rt %} {% if rt.day %} {{ rt.day|floatformat:3 }}{{ rt.data_source.units }} {% else %} (N/A) {% endif %} last day, {% if rt.week %} {{ rt.week|floatformat:3 }}{{ rt.data_source.units }} {% else %} (N/A) {% endif %} last week, {% if rt.month %} {{ rt.month|floatformat:3 }}{{ rt.data_source.units }} {% else %} (N/A) {% endif %} last month {% endwith %} {% else %} N/A {% endif %} | ||||||||
First discovered | {{ netbox.discovered|date|default:"N/A" }} {{ netbox.discovered|time }} | ||||||||
Jobs | |||||||||
|
|||||||||
No jobs have run on this netbox | |||||||||
Status | Not monitored | ||||||||
Prefix | {% with no_netbox.prefix as prefix %} {% if prefix %} {{ prefix.net_address }} {% else %} N/A {% endif %} {% endwith %} | ||||||||
VLAN | {% if vlan %} {{ vlan }} {% else %} N/A {% endif %} | ||||||||
Usage | {{ vlan.usage|default:"N/A" }} | ||||||||
Description | {{ vlan.description|default:"N/A" }} | ||||||||
Organization | {% if vlan.organization %} {{ vlan.organization|default:"N/A" }} {% else %} N/A {% endif %} | ||||||||
Optional #1 | {{ vlan.organization.optional_1|default:"N/A" }} | ||||||||
Optional #2 | {{ vlan.organization.optional_2|default:"N/A" }} | ||||||||
Optional #3 | {{ vlan.organization.optional_3|default:"N/A" }} | ||||||||
Last active | {% ifequal no_netbox.dt_max arp.end_time %} Right now {% else %} {% if arp.end_time %} {{ arp.end_time|date }} {{ arp.end_time|time }} {% else %} Never {% endif %} {% endifequal %} | ||||||||
Last seen with MAC | {% if arp.mac %} {{ arp.mac }} {% else %} N/A {% endif %} |