{% extends 'base.html' %} {% block content %}

{{ router.name }}

  • Enabled {% if router.enabled %} {% else %} {% endif %}
  • Address {{ router.address }}
  • {% if router.router_type != 'monitoring' %}
  • username {{ router.username }}
  • Authentication {% if router.ssh_key %} SSH Key: {{ router.ssh_key }} {% elif router.password %} Password {% else %} Missing authentication {% endif %}
  • {% endif %}
  • Monitoring {% if router.monitoring %} {% if router.routerstatus.status_online %} {% else %} {% endif %} {% else %} Disabled {% endif %}
  • {% if router.monitoring %}
  • Availability (last 7 days) {{ last_week_availability }}%
  • {% endif %}
  • Router Type {{ router.get_router_type_display }}
  • Groups {% for router_group in router.routergroup_set.all %} {{ router_group.name }} {% endfor %}
  • {% if router.router_type != 'monitoring' %}
  • Backup Profile {% if router.backup_profile %} {{ router.backup_profile }} {% if router.routerstatus.last_backup_failed %} {% endif %} {% else %} {% endif %}
  • Instant Backup Backup now
  • {% endif %}
  • Notes {{ router.internal_notes|default_if_none:""|linebreaksbr }}
{% if router_information %}

Router Information

{% if not router_information.success and not router_information.error %} {% else %} {% endif %}
  • Model Name {{ router_information.model_name|default_if_none:"" }}
  • Version {{ router_information.model_version|default_if_none:"" }}
  • Serial {{ router_information.serial_number|default_if_none:"" }}
  • OS Version {{ router_information.os_version|default_if_none:"" }}
  • Firmware Version {{ router_information.firmware_version|default_if_none:"" }}
  • Architeture {{ router_information.architecture|default_if_none:"" }}
  • CPU {{ router_information.cpu|default_if_none:"" }}
  • Last Update {% if router_information.success %} {{ router_information.last_retrieval }} {% elif router_information.error %} {% else %} {% endif %}
  • Source Data
{% endif %}
{% if router_backup_list or router.router_type != 'monitoring' %}

Backup history

{% if router.backupschedule %} show schedule {% else %} show schedule {% endif %}
{% if router.backupschedule.next_daily_backup %} {% endif %} {% if router.backupschedule.next_weekly_backup %} {% endif %} {% if router.backupschedule.next_monthly_backup %} {% endif %} {% for backup in router_backup_list %} {% endfor %}
ID Schedule Time Status
{{ backup.id }} {{ backup.get_schedule_type_display }} {% if backup.finish_time %}{{ backup.finish_time }}{% else %} {% if not backup.error %}{% endif %}{% endif %} {% if backup.success %} {% elif backup.error %} {% elif backup.backup_pending_retrieval %} {% else %} {% endif %} {% if backup.backup_text_hash %} {{ backup.backup_text_hash|default_if_none:""|slice:":8" }}... {% endif %}
{% endif %}
{% endblock %}