{% extends 'generic/object.html' %} {% load buttons %} {% load helpers %} {% load plugins %} {% load static %} {% load i18n %} {% load render_table from django_tables2 %} {% block content %}
Device Status
{% if device_in_librenms %} {% endif %}
Status {% if device_in_librenms %} Found in LibreNMS {% else %} Not found in LibreNMS {% endif %}
LibreNMS ID {{ librenms_device_id }}
Device Type {{ librenms_device_hardware }}
Location
{{ librenms_device_location }}
{% csrf_token %} {% if librenms_device_location != object.site.name %} {% else %} {% endif %}
{% csrf_token %} {% if has_primary_ip %} {% if device_in_librenms %} {% else %} {% endif %} {% else %} A primary IP is required {% if device_in_librenms %} {% else %} {% endif %} {% endif %}
{% if last_fetched %} Last data updated: {{ last_fetched|date:"Y-m-d H:i" }} {% endif %} {% if table %}
{% csrf_token %} {% block table_actions %}
info
{% if cache_expiry %}
Cache expires in:
{% endif %}
Matching values Mismatched values Not present in NetBox
{% endblock %}
{% include 'htmx/table.html' %}
{% endif %} {% endblock %}