{% extends "ipdevinfo/base.html" %} {% block content %}
Status | {{ netbox.get_up_display|capfirst }} |
---|---|
Availability | {% with stats.availability as a %} {% if a.day %} {{ stats.availability.day|floatformat:2 }}% {% else %} (N/A) {% endif %} last day, {% if a.week %} {{ stats.availability.week|floatformat:2 }}% {% else %} (N/A) {% endif %} last week, {% if a.month %} {{ stats.availability.month|floatformat:2 }}% {% else %} (N/A) {% endif %} last month {% endwith %} |
Response time | {% 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 %} | {% endwith %}
Uptime | {% ifequal netbox.up netbox.UP_UP %} {{ netbox.up_since|timesince }} {% else %} None {% endifequal %} |
IP address | {{ netbox.ip }} |
Prefix | {{ netbox.prefix }} |
Uplink |
{% with netbox.get_uplinks as uplinks %}
{% if uplinks %}
{% if uplinks|length_is:1 %}
{{ uplinks.0 }}
{% else %}
|
Category | {{ netbox.category }} |
Type | {% if netbox.type %} {{ netbox.type }} | {% else %} N/A {% endif %}
Organization | {{ netbox.organization }} |
Room | {{ netbox.room }} |
Software | {{ netbox.device.software_version }} |
Serial number | {{ netbox.device.serial }} |
# of modules | {{ netbox.module_set.count }} |
# of switch ports | {{ netbox.get_swports.count }} |
# of router ports | {{ netbox.get_gwports.count }} |
First discovered | {{ netbox.discovered }} |
Last updated | {{ netbox.last_updated }} |
Actions | |
Sysname or IP "{{ host_info.host }}" was not found in NAV |
Addresses |
{% if host_info.addresses %}
|
---|
FIXME
{% endif %} {% endblock %}