{% extends 'base/layout.html' %} {% load i18n %} {% block content %}
{% trans "Cluster and node summaries from the configured ProxBox backend." %}
| {% trans "Cluster" %} | {{ item.cluster_summary.name|default:"—" }} |
|---|---|
| {% trans "Mode" %} | {{ item.cluster_summary.mode|default:"—" }} |
| {% trans "Quorum" %} | {% if item.cluster_summary.quorate %} {% trans "Yes" %} {% else %} {% trans "No" %} {% endif %} |
| {% trans "Nodes" %} | {% if item.netbox_cluster %} {{ item.cluster_summary.nodes_total }} {% else %} {{ item.cluster_summary.nodes_total }} {% endif %} |
| {% trans "Online" %} | {% if item.netbox_cluster %} {{ item.cluster_summary.nodes_online }} {% else %} {{ item.cluster_summary.nodes_online }} {% endif %} |
| {% trans "Offline" %} | {% if item.netbox_cluster %} {{ item.cluster_summary.nodes_offline }} {% else %} {{ item.cluster_summary.nodes_offline }} {% endif %} |
| {% trans "VMs Running" %} | {% if item.netbox_cluster %} {{ item.guest_summary.virtual_machines.running }} {% else %} {{ item.guest_summary.virtual_machines.running }} {% endif %} |
|---|---|
| {% trans "VMs Stopped" %} | {% if item.netbox_cluster %} {{ item.guest_summary.virtual_machines.stopped }} {% else %} {{ item.guest_summary.virtual_machines.stopped }} {% endif %} |
| {% trans "VM Templates" %} | {% if item.netbox_cluster %} {{ item.guest_summary.virtual_machines.templates }} {% else %} {{ item.guest_summary.virtual_machines.templates }} {% endif %} |
| {% trans "LXC Running" %} | {% if item.netbox_cluster %} {{ item.guest_summary.lxc_containers.running }} {% else %} {{ item.guest_summary.lxc_containers.running }} {% endif %} |
| {% trans "LXC Stopped" %} | {% if item.netbox_cluster %} {{ item.guest_summary.lxc_containers.stopped }} {% else %} {{ item.guest_summary.lxc_containers.stopped }} {% endif %} |
| {% trans "LXC Templates" %} | {% if item.netbox_cluster %} {{ item.guest_summary.lxc_containers.templates }} {% else %} {{ item.guest_summary.lxc_containers.templates }} {% endif %} |
| {% trans "Object Type" %} | {% trans "Total" %} | {% trans "Details" %} |
|---|---|---|
| {% if obj.list_url_name %} {{ obj.label }} {% else %} {{ obj.label }} {% endif %} | {{ obj.total }} | {{ obj.detail|default:"—" }} |
| {% trans "Node" %} | {% trans "Status" %} | {% trans "Uptime" %} | {% trans "CPU" %} | {% trans "Load Avg" %} | {% trans "Memory" %} | {% trans "Disk" %} |
|---|---|---|---|---|---|---|
| {% if item.netbox_cluster %} {{ node.name }} {% else %} {{ node.name }} {% endif %} | {% if node.status == "online" %} {% trans "Online" %} {% else %} {{ node.status }} {% endif %} | {{ node.uptime }} |
{{ node.cpu_label }}
|
{{ node.loadavg }} |
{{ node.memory_label }}
|
{{ node.disk_label }}
|
| {% trans "No node data returned." %} | ||||||