{% extends 'base.html' %} {% load incidents_extras inventory_extras %} {% block content %}
{% incident_severity machine.max_incident_severity %} {% for tag in machine.tags %} {% inventory_tag tag %} {% endfor %}
{% for link in ms.business_unit.links.all %} {{ ms.source.name }} - {{ link.anchor_text }} {% endfor %}
{% endif %} {% with ms.system_info as system_info %} {% if system_info.hardware_model or system_info.cpu_type or system_info.cpu_physical_cores or system_info.physical_memory %}| Key | Value |
|---|---|
| {{ tag.key }} | {{ tag.value }} |
| Name | Size | {% for disk in ms.disks.all %}
|---|---|
| {{ disk.name }} | {{ disk.size|filesizeformat }} | {% endfor %}
| Name | MAC | IP | Mask | Broadcast | {% for ni in ms.network_interfaces.all %} {% with ni.get_mac_organization as org %}
|---|---|---|---|---|
| {{ ni.interface }} |
{{ ni.mac|default:"-" }}
{% if org %} {{ org.name }}{% endif %} |
{{ ni.address|default:"-" }} | {{ ni.mask|default:"-" }} | {{ ni.broadcast|default:"-" }} |
{% for link in ms.links.all %} {{ ms.source.name }} - {{ link.anchor_text }} {% endfor %}
{% endif %} {% if ms.groups.count %}| Name | {% if perms.inventory.view_link %}Links | {% endif %} {% for group, links in ms.groups_with_links %}
|---|---|
| {% if perms.inventory.view_machinegroup %} {{ group.name }} {% else %} {{ group.name }} {% endif %} | {% if perms.inventory.view_link %}{% for link_url, anchor_text in links %} {{ ms.source.name }} - {{ anchor_text }} {% endfor %} | {% endif %}
{{ key }} - {{ val }}
{% endfor %}| Name | Status | Time | {% for cc_url, cc_name, status, status_time in compliance_check_statuses %}
|---|---|---|
| {% if cc_url %} {{ cc_name }} {% else %} {{ cc_name }} {% endif %} | {{ status }} | {{ status_time|default:"-" }} |
| Name | Status | Severity | Created at | {% for machine_incident in open_incidents %} {% with machine_incident.incident as incident %}
|---|---|---|---|
| {% if perms.incidents.view_incident %} {{ incident.name }} {% else %} {{ incident.name }} {% endif %} | {{ machine_incident.get_status_display }} | {% incident_severity incident.severity %} | {{ machine_incident.created_at }} |