Files
grafana-dashboards/proxmox.json

1520 lines
36 KiB
JSON
Raw Permalink Normal View History

2025-04-08 15:33:34 +03:00
{
2025-09-15 16:33:45 +03:00
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 24,
"links": [],
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"description": "Sum of Proxmox nodes by version",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "blue",
"mode": "shades"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"decimals": 0,
"fieldMinMax": false,
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 6,
"x": 0,
"y": 0
},
"id": 1,
"options": {
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
2025-04-08 15:33:34 +03:00
{
"datasource": {
2025-09-15 16:33:45 +03:00
"type": "prometheus",
"uid": "${Datasource}"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "count by(version) (proxmox_node_version{cluster=~\"$cluster\"})",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "{{version}}",
"range": false,
"refId": "A",
"useBackend": false
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
],
"title": "PVE Version Breakdown",
"type": "piechart"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": 0
}
]
}
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"overrides": []
},
"gridPos": {
"h": 5,
"w": 3,
"x": 6,
"y": 0
},
"id": 2,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(proxmox_node_up{cluster=~\"$cluster\"})",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "PVE Nodes",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"description": "Total number of disk devices in your Proxmox cluster.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
2025-04-08 15:33:34 +03:00
{
2025-09-15 16:33:45 +03:00
"color": "blue",
"value": 0
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 3,
"x": 9,
"y": 0
},
"id": 18,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(proxmox_node_disk_smart_status{cluster=~\"$cluster\"})",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "PVE Disks",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"description": "VM guests across your PVE nodes.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
2025-04-08 15:33:34 +03:00
{
2025-09-15 16:33:45 +03:00
"color": "blue",
"value": 0
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 3,
"x": 12,
"y": 0
},
"id": 8,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(proxmox_guest_up{cluster=~\"$cluster\",type=\"qemu\"})",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "QEMU Guests",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"description": "VM guests across your PVE nodes.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": 0
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 3,
"x": 15,
"y": 0
},
"id": 10,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(proxmox_guest_up{cluster=~\"$cluster\",type=\"lxc\"})",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "LXC Guests",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
2025-04-08 15:33:34 +03:00
{
2025-09-15 16:33:45 +03:00
"color": "green",
"value": 0
2025-04-08 15:33:34 +03:00
},
{
2025-09-15 16:33:45 +03:00
"color": "red",
"value": 1
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
]
2025-04-08 15:33:34 +03:00
}
},
2025-09-15 16:33:45 +03:00
"overrides": []
},
"gridPos": {
"h": 5,
"w": 3,
"x": 6,
"y": 5
},
"id": 7,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(proxmox_node_up{cluster=~\"$cluster\"} == 0)",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "PVE Nodes Down",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"description": "Number of disk devices in your Proxmox cluster with an unhealthy SMART status.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
{
"color": "red",
"value": 1
}
]
2025-04-08 15:33:34 +03:00
}
},
2025-09-15 16:33:45 +03:00
"overrides": []
},
"gridPos": {
"h": 5,
"w": 3,
"x": 9,
"y": 5
},
"id": 19,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(proxmox_node_disk_smart_status{cluster=~\"$cluster\"} == 0)",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "PVE Disks Unhealthy",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"description": "Number of VM guests on your Proxmox nodes that are down.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
{
"color": "red",
"value": 1
}
]
2025-04-08 15:33:34 +03:00
}
},
2025-09-15 16:33:45 +03:00
"overrides": []
},
"gridPos": {
"h": 5,
"w": 3,
"x": 12,
"y": 5
},
"id": 9,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "clamp_min(sum(proxmox_guest_up{cluster=~\"$cluster\",type=\"qemu\"} == 0), 0)",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "QEMU Guests Down",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"description": "Number of LXC guests on your Proxmox nodes that are down.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
{
"color": "red",
"value": 1
}
]
2025-04-08 15:33:34 +03:00
}
},
2025-09-15 16:33:45 +03:00
"overrides": []
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"gridPos": {
"h": 5,
"w": 3,
"x": 15,
"y": 5
},
"id": 11,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(proxmox_guest_up{cluster=~\"$cluster\",type=\"lxc\"} == 0)",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "LXC Guests Down",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 10
},
"id": 6,
"panels": [],
"title": "Resource Allocation",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
2025-04-08 15:33:34 +03:00
{
2025-09-15 16:33:45 +03:00
"color": "blue",
"value": 0
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
]
2025-04-08 15:33:34 +03:00
}
},
2025-09-15 16:33:45 +03:00
"overrides": []
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"gridPos": {
"h": 5,
"w": 3,
"x": 0,
"y": 11
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"id": 3,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(proxmox_cluster_cpus_total{cluster=~\"$cluster\"})",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Cluster CPUs",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
2025-04-08 15:33:34 +03:00
{
2025-09-15 16:33:45 +03:00
"color": "blue",
"value": 0
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
]
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"unit": "bytes"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"overrides": []
},
"gridPos": {
"h": 5,
"w": 3,
"x": 3,
"y": 11
},
"id": 5,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(proxmox_cluster_memory_total_bytes{cluster=~\"$cluster\"})",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Cluster Memory",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"description": "Graphed line of CPUs allocated, as well as total CPUs in a PVE cluster.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 6,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 1,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
}
]
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
},
"overrides": []
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"gridPos": {
"h": 10,
"w": 8,
"x": 6,
"y": 11
},
"id": 14,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"expr": "sum(proxmox_cluster_cpus_allocated{cluster=~\"$cluster\"})",
"instant": false,
"legendFormat": "Allocated",
"range": true,
"refId": "A"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"expr": "sum(proxmox_cluster_cpus_total{cluster=~\"$cluster\"})",
"hide": false,
"instant": false,
"legendFormat": "Total",
"range": true,
"refId": "B"
}
],
"title": "Cluster CPUs",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"description": "Graphed line of memory allocated, as well as total memory in a PVE cluster.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 6,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 1,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
]
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"unit": "bytes"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"overrides": []
},
"gridPos": {
"h": 10,
"w": 8,
"x": 14,
"y": 11
},
"id": 15,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"editorMode": "code",
"expr": "sum(proxmox_cluster_memory_allocated_bytes{cluster=~\"$cluster\"})",
"instant": false,
"legendFormat": "Allocated",
"range": true,
"refId": "A"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"expr": "sum(proxmox_cluster_memory_total_bytes{cluster=~\"$cluster\"})",
"hide": false,
"instant": false,
"legendFormat": "Total",
"range": true,
"refId": "B"
}
],
"title": "Cluster Memory",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"description": "Number of CPUs allocated to guests (lxc or qemu) across your Proxmox nodes",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": 0
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
]
2025-04-08 15:33:34 +03:00
}
},
2025-09-15 16:33:45 +03:00
"overrides": []
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"gridPos": {
"h": 5,
"w": 3,
"x": 0,
"y": 16
},
"id": 12,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(proxmox_cluster_cpus_allocated{cluster=~\"$cluster\"})",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Cluster CPUs Allocated",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": 0
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
]
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"unit": "bytes"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"overrides": []
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"gridPos": {
"h": 5,
"w": 3,
"x": 3,
"y": 16
},
"id": 13,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(proxmox_cluster_memory_allocated_bytes{cluster=~\"$cluster\"})",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Cluster Memory Allocated",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 21
},
"id": 16,
"panels": [],
"title": "Storage",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"description": "By storage type",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 1,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
{
"color": "red",
"value": 80
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
]
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"unit": "percent"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"overrides": []
},
"gridPos": {
"h": 9,
"w": 10,
"x": 0,
"y": 22
},
"id": 17,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"editorMode": "code",
"expr": "100 * (sum by (storage) (proxmox_node_storage_used_bytes{cluster=~\"$cluster\",shared=\"true\"}) / sum by (storage) (proxmox_node_storage_total_bytes{cluster=~\"$cluster\",shared=\"true\"}))",
"hide": false,
"instant": false,
"legendFormat": "{{storage}}",
"range": true,
"refId": "C"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"editorMode": "code",
"expr": "100 * (sum by (storage,node) (proxmox_node_storage_used_bytes{cluster=~\"$cluster\",shared=\"false\"}) / sum by (storage,node) (proxmox_node_storage_total_bytes{cluster=~\"$cluster\",shared=\"false\"}))",
"hide": false,
"instant": false,
"legendFormat": "{{node}}/{{storage}}",
"range": true,
"refId": "A"
}
],
"title": "Cluster Storage Percentage Utilized",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 31
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"id": 20,
"panels": [],
"title": "Certificates",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"filterable": true,
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": 0
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
]
2025-04-08 15:33:34 +03:00
}
},
2025-09-15 16:33:45 +03:00
"overrides": [
2025-04-08 15:33:34 +03:00
{
2025-09-15 16:33:45 +03:00
"matcher": {
"id": "byName",
"options": "Value"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"properties": [
{
"id": "displayName",
"value": "Days until Expiration"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
{
"id": "custom.width",
"value": 200
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": 0
},
{
"color": "red",
"value": 30
},
{
"color": "#EAB839",
"value": 45
},
{
"color": "green",
"value": 60
}
]
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
}
]
2025-04-08 15:33:34 +03:00
},
{
2025-09-15 16:33:45 +03:00
"matcher": {
"id": "byName",
"options": "node"
2025-04-08 15:33:34 +03:00
},
2025-09-15 16:33:45 +03:00
"properties": [
{
"id": "custom.width",
"value": 200
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
]
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
]
},
"gridPos": {
"h": 10,
"w": 13,
"x": 0,
"y": 32
},
"id": 21,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": [],
"reducer": [
"sum"
],
"show": false
},
"frameIndex": 0,
"showHeader": true,
"sortBy": [
2025-04-08 15:33:34 +03:00
{
2025-09-15 16:33:45 +03:00
"desc": false,
"displayName": "Days until Expiration"
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
]
},
"pluginVersion": "12.1.0",
"targets": [
2025-04-08 15:33:34 +03:00
{
"datasource": {
"type": "prometheus",
2025-09-15 16:33:45 +03:00
"uid": "${Datasource}"
},
"editorMode": "code",
"exemplar": false,
"expr": "proxmox_node_days_until_cert_expiration{cluster=~\"$cluster\"}",
"format": "table",
"instant": true,
"legendFormat": "",
"range": false,
"refId": "A"
2025-04-08 15:33:34 +03:00
}
2025-09-15 16:33:45 +03:00
],
"title": "Proxmox Certificate Expiry (Days)",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"__name__": true,
"container": true,
"endpoint": true,
"instance": true,
"job": true,
"namespace": true,
"pod": true,
"service": true
},
"includeByName": {},
"indexByName": {
"Time": 1,
"Value": 0,
"__name__": 2,
"container": 3,
"endpoint": 4,
"instance": 5,
"job": 6,
"namespace": 7,
"node": 8,
"pod": 9,
"service": 10,
"subject": 11
},
"renameByName": {
"Value": ""
}
}
}
],
"type": "table"
}
],
"preload": false,
"refresh": "1m",
"schemaVersion": 41,
"tags": [],
"templating": {
"list": [
{
"current": {
"text": "Mimir",
"value": "prom"
},
"includeAll": false,
"label": "datasource",
"name": "Datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"allValue": ".*",
"current": {
"text": "HUB",
"value": "HUB"
},
"datasource": {
"type": "prometheus",
"uid": "${Datasource}"
},
"definition": "label_values(proxmox_node_up,cluster)",
"description": "Name of the Proxmox cluster",
"includeAll": true,
"label": "Cluster",
"name": "cluster",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(proxmox_node_up,cluster)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"type": "query"
}
]
},
"time": {
"from": "now-3h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "Proxmox",
"uid": "proxmox-monitoring",
"version": 1
}