4129 lines
126 KiB
JSON
4129 lines
126 KiB
JSON
{
|
|
"annotations": [
|
|
{
|
|
"kind": "AnnotationQuery",
|
|
"spec": {
|
|
"builtIn": true,
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"query": {
|
|
"datasource": {
|
|
"name": "-- Grafana --"
|
|
},
|
|
"group": "grafana",
|
|
"kind": "DataQuery",
|
|
"spec": {},
|
|
"version": "v0"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"cursorSync": "Off",
|
|
"editable": true,
|
|
"elements": {
|
|
"panel-10": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "(max(pve_cluster_mode{cluster=\"$cluster\"}) == 0) + 2 or max(pve_cluster_quorate{cluster=\"$cluster\"})",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": " ",
|
|
"step": 300
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"interval": "1m",
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 10,
|
|
"links": [],
|
|
"title": "Cluster Quorum State",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"0": {
|
|
"index": 1,
|
|
"text": "CRITICAL"
|
|
},
|
|
"1": {
|
|
"index": 2,
|
|
"text": "QUORATE"
|
|
},
|
|
"2": {
|
|
"index": 3,
|
|
"text": "STANDALONE"
|
|
}
|
|
},
|
|
"type": "value"
|
|
},
|
|
{
|
|
"options": {
|
|
"match": "null",
|
|
"result": {
|
|
"index": 0,
|
|
"text": "N/A"
|
|
}
|
|
},
|
|
"type": "special"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "red",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 1
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 2
|
|
}
|
|
]
|
|
},
|
|
"unit": "none"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "horizontal",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"text": {
|
|
"titleSize": 1
|
|
},
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-13": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum(pve_node_memory_total_bytes{cluster=\"$cluster\"})",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 13,
|
|
"links": [],
|
|
"title": "Total Memory",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"match": "null",
|
|
"result": {
|
|
"index": 0,
|
|
"text": "0"
|
|
}
|
|
},
|
|
"type": "special"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-14": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum(pve_node_cpu_count{cluster=\"$cluster\"})",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 14,
|
|
"links": [],
|
|
"title": "Total CPUs",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
"unit": "none"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-15": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum(pve_node_memory_used_bytes{cluster=\"$cluster\"}) / sum(pve_node_memory_total_bytes{cluster=\"$cluster\"})",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 15,
|
|
"links": [],
|
|
"title": "Total Memory Usage",
|
|
"vizConfig": {
|
|
"group": "gauge",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"max": 1,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 0.7
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 0.9
|
|
}
|
|
]
|
|
},
|
|
"unit": "percentunit"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"barShape": "flat",
|
|
"barWidthFactor": 0.5,
|
|
"effects": {
|
|
"barGlow": false,
|
|
"centerGlow": false,
|
|
"gradient": false
|
|
},
|
|
"endpointMarker": "point",
|
|
"minVizHeight": 75,
|
|
"minVizWidth": 75,
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"segmentCount": 1,
|
|
"segmentSpacing": 0.3,
|
|
"shape": "gauge",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true,
|
|
"sizing": "auto",
|
|
"sparkline": false,
|
|
"textMode": "auto"
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-16": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum(pve_node_load1{cluster=\"$cluster\"}) / (sum(pve_node_cpu_count{cluster=\"$cluster\"}) * 2)",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 16,
|
|
"links": [],
|
|
"title": "Total CPU Usage",
|
|
"vizConfig": {
|
|
"group": "gauge",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"max": 1,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 0.7
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 0.9
|
|
}
|
|
]
|
|
},
|
|
"unit": "percentunit"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"barShape": "flat",
|
|
"barWidthFactor": 0.5,
|
|
"effects": {
|
|
"barGlow": false,
|
|
"centerGlow": false,
|
|
"gradient": false
|
|
},
|
|
"endpointMarker": "point",
|
|
"minVizHeight": 75,
|
|
"minVizWidth": 75,
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"segmentCount": 1,
|
|
"segmentSpacing": 0.3,
|
|
"shape": "gauge",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true,
|
|
"sizing": "auto",
|
|
"sparkline": false,
|
|
"textMode": "auto"
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-18": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "count(ALERTS{alertstate='firing',alertname=~'^Proxmox.*'}) OR vector(0)",
|
|
"format": "time_series",
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 18,
|
|
"links": [],
|
|
"title": "Alerts",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 1
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 1
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-19": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "pve_node_cpuinfo{cluster=~\"$cluster\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "clamp_max(pve_node_load5{cluster=~\"$cluster\"} / pve_node_cpu_count{cluster=~\"$cluster\"} / 2, 1)",
|
|
"format": "table",
|
|
"instant": false,
|
|
"legendFormat": "__auto",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "pve_node_memory_used_bytes{cluster=~\"$cluster\"} / pve_node_memory_total_bytes{cluster=~\"$cluster\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "C"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "pve_node_memory_total_bytes{cluster=~\"$cluster\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "D"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum by (cluster,node) ((pve_ct_mem_total_bytes and pve_ct_state == 1) or (pve_vm_mem_total_bytes and pve_vm_state == 1)) / sum by (cluster,node) (pve_node_memory_total_bytes)",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "G"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": [
|
|
{
|
|
"group": "joinByField",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"byField": "node",
|
|
"mode": "outer"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"group": "organize",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"Value": true,
|
|
"Value #A": true,
|
|
"Value #E": true,
|
|
"__name__": true,
|
|
"board_name": true,
|
|
"board_vendor": true,
|
|
"board_version": true,
|
|
"chassis_vendor": true,
|
|
"chassis_version": true,
|
|
"cluster": true,
|
|
"endpoint": true,
|
|
"flags": true,
|
|
"hvm": true,
|
|
"instance": true,
|
|
"job": true,
|
|
"kversion": true,
|
|
"machine": true,
|
|
"namespace": true,
|
|
"product_family": true,
|
|
"product_sku": true,
|
|
"product_version": true,
|
|
"prometheus": true,
|
|
"prometheus 5": true,
|
|
"release": true,
|
|
"service": true,
|
|
"service 5": true,
|
|
"sysname": true
|
|
},
|
|
"includeByName": {
|
|
"Value #B": true,
|
|
"Value #C": true,
|
|
"Value #D": true,
|
|
"Value #F": true,
|
|
"Value #G": true,
|
|
"cores": true,
|
|
"cpus": true,
|
|
"model": true,
|
|
"node": true,
|
|
"pveversion": true,
|
|
"sockets": true
|
|
},
|
|
"indexByName": {
|
|
"Time 1": 35,
|
|
"Time 2": 18,
|
|
"Time 3": 24,
|
|
"Time 4": 29,
|
|
"Time 5": 36,
|
|
"Time 6": 48,
|
|
"Time 7": 49,
|
|
"Value #A": 17,
|
|
"Value #B": 1,
|
|
"Value #C": 2,
|
|
"Value #D": 5,
|
|
"Value #E": 47,
|
|
"Value #F": 4,
|
|
"Value #G": 3,
|
|
"__name__ 1": 16,
|
|
"__name__ 2": 19,
|
|
"__name__ 3": 30,
|
|
"__name__ 4": 37,
|
|
"cluster": 10,
|
|
"cluster 2": 20,
|
|
"cluster 3": 25,
|
|
"cluster 4": 31,
|
|
"cluster 5": 38,
|
|
"cluster 6": 50,
|
|
"cores": 11,
|
|
"cpus": 12,
|
|
"flags": 13,
|
|
"hvm": 14,
|
|
"instance": 7,
|
|
"instance 2": 21,
|
|
"instance 3": 26,
|
|
"instance 4": 32,
|
|
"instance 5": 39,
|
|
"job": 8,
|
|
"job 2": 22,
|
|
"job 3": 27,
|
|
"job 4": 33,
|
|
"job 5": 40,
|
|
"kversion": 41,
|
|
"machine": 42,
|
|
"model": 6,
|
|
"node": 0,
|
|
"prometheus": 9,
|
|
"prometheus 2": 23,
|
|
"prometheus 3": 28,
|
|
"prometheus 4": 34,
|
|
"prometheus 5": 43,
|
|
"pveversion": 44,
|
|
"release": 45,
|
|
"sockets": 15,
|
|
"sysname": 46
|
|
},
|
|
"renameByName": {
|
|
"Value #B": "CPU Usage",
|
|
"Value #C": "Memory Usage",
|
|
"Value #D": "Installed Memory",
|
|
"Value #E": "",
|
|
"Value #F": "Local Storage Usage",
|
|
"Value #G": "Memory Allocated",
|
|
"cores": "Physical CPU Cores",
|
|
"cpus": "CPU Threads",
|
|
"model": "CPU Model",
|
|
"node": "Node",
|
|
"pveversion": "PVE Version",
|
|
"sockets": "CPU Sockets",
|
|
"{__name__=\"pve_node_cpu_usage\", cluster=\"IMTM\", endpoint=\"9090\", instance=\"10.42.3.132:9090\", job=\"pve-exporter\", node=\"pve-hp1\", prometheus=\"monitoring/monitoring-prometheus\", service=\"pve-exporter\"}": "CPU Usage %"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 19,
|
|
"links": [],
|
|
"title": "Node CPU/Memory Info",
|
|
"vizConfig": {
|
|
"group": "table",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "auto",
|
|
"cellOptions": {
|
|
"type": "auto"
|
|
},
|
|
"footer": {
|
|
"reducers": []
|
|
},
|
|
"inspect": false
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Node"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "links",
|
|
"value": [
|
|
{
|
|
"title": "Show node details",
|
|
"url": "/d/proxmox-node/node-details?var-datasource=$datasource&var-node=${__data.fields.node}&var-cluster=${cluster}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 153
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Value #B"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "percentunit"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "CPU Usage"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 289
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 0.7
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 0.9
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"mode": "lcd",
|
|
"type": "gauge"
|
|
}
|
|
},
|
|
{
|
|
"id": "max",
|
|
"value": 1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Memory Usage"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "percentunit"
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"mode": "lcd",
|
|
"type": "gauge"
|
|
}
|
|
},
|
|
{
|
|
"id": "max",
|
|
"value": 1
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 0.7
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 0.9
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 288
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Installed Memory"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "bytes"
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 166
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Physical CPU Cores"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 174
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "CPU Threads"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 169
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "kversion"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 203
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "CPU Sockets"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 135
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Memory Allocated"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "percentunit"
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 273
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"mode": "lcd",
|
|
"type": "gauge"
|
|
}
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 0.8
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 0.9
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "max",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"cellHeight": "sm",
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "CPU Usage"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-20": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum(rate(pve_vm_network_in_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0)) + sum(rate(pve_ct_network_in_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0))",
|
|
"instant": false,
|
|
"legendFormat": "__auto",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "",
|
|
"instant": false,
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 20,
|
|
"links": [],
|
|
"title": "Guest Network Rx",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
"unit": "binBps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-21": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum(rate(pve_vm_network_out_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0)) + sum(rate(pve_ct_network_out_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0))",
|
|
"instant": false,
|
|
"legendFormat": "__auto",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "",
|
|
"instant": false,
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 21,
|
|
"links": [],
|
|
"title": "Guest Network Tx",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"match": "null",
|
|
"result": {
|
|
"index": 0,
|
|
"text": "0"
|
|
}
|
|
},
|
|
"type": "special"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
"unit": "binBps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-22": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum(rate(pve_vm_disk_rd_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0)) + sum(rate(pve_ct_disk_rd_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0))",
|
|
"instant": false,
|
|
"legendFormat": "__auto",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "",
|
|
"instant": false,
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 22,
|
|
"links": [],
|
|
"title": "Guest Disk Read",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
"unit": "binBps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-23": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum(rate(pve_vm_disk_wr_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0)) + sum(rate(pve_ct_disk_wr_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0))",
|
|
"instant": false,
|
|
"legendFormat": "__auto",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "",
|
|
"instant": false,
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 23,
|
|
"links": [],
|
|
"title": "Guest Disk Write",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
"unit": "binBps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-24": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "count(pve_node_state{cluster=\"$cluster\"} == 1) or vector(0)",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": " Online",
|
|
"step": 300
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"expr": "count(pve_node_state{cluster=\"$cluster\"} == 0) or vector(0)",
|
|
"instant": false,
|
|
"legendFormat": "Offline",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"interval": "1m",
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 24,
|
|
"links": [],
|
|
"title": "Nodes",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
"unit": "none"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": " Online"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "red",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Offline"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "horizontal",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"text": {},
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-25": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"expr": "pve_node_load5{cluster=~\"$cluster\"} / pve_node_cpu_count{cluster=~\"$cluster\"}",
|
|
"instant": false,
|
|
"legendFormat": "{{node}}",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 25,
|
|
"links": [],
|
|
"title": "Node CPU Usage",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"insertNulls": false,
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "percentunit"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": {
|
|
"clustering": -1,
|
|
"multiLane": false
|
|
},
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"enableFacetedFilter": false,
|
|
"overflow": "ellipsis",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "Mean",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"hideZeros": false,
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-26": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"expr": "pve_node_memory_used_bytes{cluster=~\"$cluster\"} / pve_node_memory_total_bytes{cluster=~\"$cluster\"}",
|
|
"instant": false,
|
|
"legendFormat": "{{node}}",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 26,
|
|
"links": [],
|
|
"title": "Node Memory Usage",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"insertNulls": false,
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "percentunit"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": {
|
|
"clustering": -1,
|
|
"multiLane": false
|
|
},
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"enableFacetedFilter": false,
|
|
"overflow": "ellipsis",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "Mean",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"hideZeros": false,
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-27": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"expr": "sum(rate(pve_vm_network_in_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0)) + sum(rate(pve_ct_network_in_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0))",
|
|
"instant": false,
|
|
"legendFormat": "Receive",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"expr": "sum(rate(pve_vm_network_out_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0)) + sum(rate(pve_ct_network_out_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0))",
|
|
"instant": false,
|
|
"legendFormat": "Transmit",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 27,
|
|
"links": [],
|
|
"title": "Total Guest Network Usage",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"insertNulls": false,
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "binBps"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Transmit"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.transform",
|
|
"value": "negative-Y"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"annotations": {
|
|
"clustering": -1,
|
|
"multiLane": false
|
|
},
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"enableFacetedFilter": false,
|
|
"overflow": "ellipsis",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "Mean",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"hideZeros": false,
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-28": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"expr": "sum(rate(pve_vm_disk_rd_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0)) + sum(rate(pve_ct_disk_rd_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0))",
|
|
"instant": false,
|
|
"legendFormat": "Read",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"expr": "sum(rate(pve_vm_disk_wr_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0)) + sum(rate(pve_ct_disk_wr_bytes{cluster=\"$cluster\"}[$__rate_interval]) or vector(0))",
|
|
"instant": false,
|
|
"legendFormat": "Write",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 28,
|
|
"links": [],
|
|
"title": "Total Guest Disk Usage",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"insertNulls": false,
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "binBps"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Read"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.transform",
|
|
"value": "negative-Y"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"annotations": {
|
|
"clustering": -1,
|
|
"multiLane": false
|
|
},
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"enableFacetedFilter": false,
|
|
"overflow": "ellipsis",
|
|
"placement": "right",
|
|
"showLegend": true,
|
|
"sortBy": "Mean",
|
|
"sortDesc": true
|
|
},
|
|
"tooltip": {
|
|
"hideZeros": false,
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-29": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "topk(20, pve_vm_mem_used_bytes{cluster=~\"$cluster\"})",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": [
|
|
{
|
|
"group": "organize",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"__name__": true,
|
|
"cluster": true,
|
|
"instance": true,
|
|
"job": true,
|
|
"prometheus": true
|
|
},
|
|
"includeByName": {
|
|
"Value": true,
|
|
"name": true,
|
|
"node": true,
|
|
"vmid": true
|
|
},
|
|
"indexByName": {},
|
|
"renameByName": {
|
|
"Value": "Host Memory Usage",
|
|
"name": "Guest",
|
|
"node": "Node",
|
|
"vmid": "Guest ID"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 29,
|
|
"links": [],
|
|
"title": "Top Memory Consumers",
|
|
"vizConfig": {
|
|
"group": "table",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "auto",
|
|
"cellOptions": {
|
|
"type": "auto"
|
|
},
|
|
"footer": {
|
|
"reducers": []
|
|
},
|
|
"inspect": false
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Host Memory Usage"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "bytes"
|
|
},
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "green",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-text"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Guest"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "links",
|
|
"value": [
|
|
{
|
|
"title": "Show guest details",
|
|
"url": "/d/proxmox-guest/guest-details?var-cluster=${cluster}&var-guest=${__data.fields.name}"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Node"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "links",
|
|
"value": [
|
|
{
|
|
"title": "Show node details",
|
|
"url": "/d/proxmox-node/node-details?var-datasource=$datasource&var-node=${__data.fields.node}&var-cluster=${cluster}"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Guest ID"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "yellow",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-text"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"cellHeight": "sm",
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Host Memory Usage"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-30": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "topk(20, \r\n (avg_over_time(pve_vm_cpu_usage{cluster=~\"$cluster\"}[1d]) * pve_vm_cpu_count{cluster=~\"$cluster\"} and pve_vm_state{cluster=~\"$cluster\"} == 1 or \r\n avg_over_time(pve_ct_cpu_usage{cluster=~\"$cluster\"}[1d]) * pve_ct_cpu_count{cluster=~\"$cluster\"} and pve_ct_state{cluster=~\"$cluster\"} == 1) \r\n / on (node) group_left(cluster) pve_node_cpu_count{cluster=~\"$cluster\"})",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": [
|
|
{
|
|
"group": "organize",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"__name__": true,
|
|
"cluster": true,
|
|
"instance": true,
|
|
"job": true,
|
|
"prometheus": true
|
|
},
|
|
"includeByName": {
|
|
"Value": true,
|
|
"name": true,
|
|
"node": true,
|
|
"vmid": true
|
|
},
|
|
"indexByName": {},
|
|
"renameByName": {
|
|
"Value": "Host CPU Usage",
|
|
"name": "Guest",
|
|
"node": "Node",
|
|
"vmid": "Guest ID"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 30,
|
|
"links": [],
|
|
"title": "Top CPU Consumers [Last 24 Hours Average]",
|
|
"vizConfig": {
|
|
"group": "table",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "auto",
|
|
"cellOptions": {
|
|
"type": "auto"
|
|
},
|
|
"footer": {
|
|
"reducers": []
|
|
},
|
|
"inspect": false
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Host CPU Usage"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "percentunit"
|
|
},
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "green",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-text"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Guest"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "links",
|
|
"value": [
|
|
{
|
|
"title": "Show guest details",
|
|
"url": "/d/proxmox-guest/guest-details?var-cluster=${cluster}&var-guest=${__data.fields.name}"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Node"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "links",
|
|
"value": [
|
|
{
|
|
"title": "Show node details",
|
|
"url": "/d/proxmox-node/node-details?var-datasource=$datasource&var-node=${__data.fields.node}&var-cluster=${cluster}"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Guest ID"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "yellow",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-text"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"cellHeight": "sm",
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Host CPU Usage"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-31": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "sum by (node) (pve_storage_total_bytes{cluster=~\"$cluster\", shared=\"0\",content=~\".*images.*\"})",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "E"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "1 - sum by (node) (pve_storage_avail_bytes{cluster=~\"$cluster\", shared=\"0\",content=~\".*images.*\"}) / \r\n sum by (node) (pve_storage_total_bytes{cluster=~\"$cluster\", shared=\"0\",content=~\".*images.*\"})",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "F"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "pve_node_rootfs_used_bytes{cluster=~\"$cluster\"} / \r\npve_node_rootfs_total_bytes{cluster=~\"$cluster\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": [
|
|
{
|
|
"group": "joinByField",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"byField": "node",
|
|
"mode": "outer"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"group": "organize",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"Value": true,
|
|
"Value #A": false,
|
|
"Value #E": false,
|
|
"__name__": true,
|
|
"board_name": true,
|
|
"board_vendor": true,
|
|
"board_version": true,
|
|
"chassis_vendor": true,
|
|
"chassis_version": true,
|
|
"cluster": true,
|
|
"endpoint": true,
|
|
"flags": true,
|
|
"hvm": true,
|
|
"instance": true,
|
|
"job": true,
|
|
"kversion": true,
|
|
"machine": true,
|
|
"namespace": true,
|
|
"product_family": true,
|
|
"product_sku": true,
|
|
"product_version": true,
|
|
"prometheus": true,
|
|
"prometheus 5": true,
|
|
"release": true,
|
|
"service": true,
|
|
"service 5": true,
|
|
"sysname": true
|
|
},
|
|
"includeByName": {
|
|
"Value #A": true,
|
|
"Value #B": true,
|
|
"Value #C": true,
|
|
"Value #D": true,
|
|
"Value #E": true,
|
|
"Value #F": true,
|
|
"Value #G": true,
|
|
"cores": true,
|
|
"cpus": true,
|
|
"model": true,
|
|
"node": true,
|
|
"pveversion": true,
|
|
"sockets": true
|
|
},
|
|
"indexByName": {
|
|
"Time 1": 35,
|
|
"Time 2": 18,
|
|
"Time 3": 24,
|
|
"Time 4": 29,
|
|
"Time 5": 36,
|
|
"Time 6": 48,
|
|
"Time 7": 49,
|
|
"Value #A": 17,
|
|
"Value #B": 1,
|
|
"Value #C": 2,
|
|
"Value #D": 5,
|
|
"Value #E": 47,
|
|
"Value #F": 4,
|
|
"Value #G": 3,
|
|
"__name__ 1": 16,
|
|
"__name__ 2": 19,
|
|
"__name__ 3": 30,
|
|
"__name__ 4": 37,
|
|
"cluster": 10,
|
|
"cluster 2": 20,
|
|
"cluster 3": 25,
|
|
"cluster 4": 31,
|
|
"cluster 5": 38,
|
|
"cluster 6": 50,
|
|
"cores": 11,
|
|
"cpus": 12,
|
|
"flags": 13,
|
|
"hvm": 14,
|
|
"instance": 7,
|
|
"instance 2": 21,
|
|
"instance 3": 26,
|
|
"instance 4": 32,
|
|
"instance 5": 39,
|
|
"job": 8,
|
|
"job 2": 22,
|
|
"job 3": 27,
|
|
"job 4": 33,
|
|
"job 5": 40,
|
|
"kversion": 41,
|
|
"machine": 42,
|
|
"model": 6,
|
|
"node": 0,
|
|
"prometheus": 9,
|
|
"prometheus 2": 23,
|
|
"prometheus 3": 28,
|
|
"prometheus 4": 34,
|
|
"prometheus 5": 43,
|
|
"pveversion": 44,
|
|
"release": 45,
|
|
"sockets": 15,
|
|
"sysname": 46
|
|
},
|
|
"renameByName": {
|
|
"Value #A": "RootFS Usage",
|
|
"Value #B": "CPU Usage",
|
|
"Value #C": "Memory Usage",
|
|
"Value #D": "Installed Memory",
|
|
"Value #E": "Local Storage Capacity",
|
|
"Value #F": "Local Storage Usage",
|
|
"Value #G": "Memory Allocated",
|
|
"cores": "Physical CPU Cores",
|
|
"cpus": "CPU Threads",
|
|
"model": "CPU Model",
|
|
"node": "Node",
|
|
"pveversion": "PVE Version",
|
|
"sockets": "CPU Sockets",
|
|
"{__name__=\"pve_node_cpu_usage\", cluster=\"IMTM\", endpoint=\"9090\", instance=\"10.42.3.132:9090\", job=\"pve-exporter\", node=\"pve-hp1\", prometheus=\"monitoring/monitoring-prometheus\", service=\"pve-exporter\"}": "CPU Usage %"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 31,
|
|
"links": [],
|
|
"title": "Local Storage Info",
|
|
"vizConfig": {
|
|
"group": "table",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "auto",
|
|
"cellOptions": {
|
|
"type": "auto"
|
|
},
|
|
"footer": {
|
|
"reducers": []
|
|
},
|
|
"inspect": false
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Node"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "links",
|
|
"value": [
|
|
{
|
|
"title": "Show node details",
|
|
"url": "/d/proxmox-node/node-details?var-datasource=$datasource&var-node=${__data.fields.node}&var-cluster=${cluster}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 153
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "pveversion"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 325
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Local Storage Usage"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "percentunit"
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"mode": "lcd",
|
|
"type": "gauge"
|
|
}
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 0.7
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 0.9
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "max",
|
|
"value": 1
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 277
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "RootFS Usage"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"mode": "lcd",
|
|
"type": "gauge"
|
|
}
|
|
},
|
|
{
|
|
"id": "unit",
|
|
"value": "percentunit"
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 0.7
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 0.9
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "max",
|
|
"value": 1
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 288
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Local Storage Capacity"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "bytes"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"cellHeight": "sm",
|
|
"showHeader": true,
|
|
"sortBy": []
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-33": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "max by (storage, type, content, cluster) (pve_storage_total_bytes{shared=\"1\"})",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "E"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "max by (storage, type, content, cluster) (pve_storage_used_bytes{cluster=\"$cluster\", shared=\"1\"})",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "max by (storage, type, content, cluster) (pve_storage_used_bytes{cluster=\"$cluster\", shared=\"1\"}) / max by (storage, type, content, cluster) (pve_storage_total_bytes{cluster=\"$cluster\", shared=\"1\"})",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "max by (storage, type, content, cluster) \r\n (pve_storage_total_bytes{cluster=\"$cluster\", shared=\"1\"} / \r\n deriv(pve_storage_used_bytes{cluster=\"$cluster\", shared=\"1\"}[6h]))",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "C"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": [
|
|
{
|
|
"group": "joinByField",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"byField": "storage",
|
|
"mode": "outer"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"group": "organize",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"Time 2": true,
|
|
"Time 3": true,
|
|
"Time 4": true,
|
|
"Value": false,
|
|
"Value #A": false,
|
|
"Value #E": false,
|
|
"__name__": true,
|
|
"board_name": true,
|
|
"board_vendor": true,
|
|
"board_version": true,
|
|
"chassis_vendor": true,
|
|
"chassis_version": true,
|
|
"cluster": true,
|
|
"cluster 2": true,
|
|
"cluster 3": true,
|
|
"cluster 4": true,
|
|
"content 2": true,
|
|
"content 3": true,
|
|
"content 4": true,
|
|
"endpoint": true,
|
|
"flags": true,
|
|
"hvm": true,
|
|
"instance": true,
|
|
"job": true,
|
|
"kversion": true,
|
|
"machine": true,
|
|
"namespace": true,
|
|
"product_family": true,
|
|
"product_sku": true,
|
|
"product_version": true,
|
|
"prometheus": true,
|
|
"prometheus 5": true,
|
|
"release": true,
|
|
"service": true,
|
|
"service 5": true,
|
|
"sysname": true,
|
|
"type": true,
|
|
"type 2": true,
|
|
"type 3": true,
|
|
"type 4": true
|
|
},
|
|
"includeByName": {
|
|
"Value": true,
|
|
"Value #A": true,
|
|
"Value #B": true,
|
|
"Value #C": true,
|
|
"Value #D": true,
|
|
"Value #E": true,
|
|
"Value #F": true,
|
|
"Value #G": true,
|
|
"content": true,
|
|
"cores": true,
|
|
"cpus": true,
|
|
"model": true,
|
|
"node": true,
|
|
"pveversion": true,
|
|
"sockets": true,
|
|
"storage": true
|
|
},
|
|
"indexByName": {
|
|
"Time": 8,
|
|
"Time 2": 5,
|
|
"Time 3": 12,
|
|
"Value #A": 4,
|
|
"Value #B": 1,
|
|
"Value #E": 7,
|
|
"cluster": 3,
|
|
"cluster 2": 6,
|
|
"cluster 3": 13,
|
|
"content": 2,
|
|
"content 2": 10,
|
|
"content 3": 14,
|
|
"storage": 0,
|
|
"type": 9,
|
|
"type 2": 11,
|
|
"type 3": 15
|
|
},
|
|
"renameByName": {
|
|
"Value": "Total Capacity",
|
|
"Value #A": "Storage Used",
|
|
"Value #B": "Storage Usage",
|
|
"Value #C": "Time Till Full",
|
|
"Value #D": "Installed Memory",
|
|
"Value #E": "Storage Capacity",
|
|
"Value #F": "Local Storage Usage",
|
|
"Value #G": "Memory Allocated",
|
|
"content": "Content",
|
|
"cores": "Physical CPU Cores",
|
|
"cpus": "CPU Threads",
|
|
"model": "CPU Model",
|
|
"node": "Node",
|
|
"pveversion": "PVE Version",
|
|
"sockets": "CPU Sockets",
|
|
"storage": "Storage",
|
|
"type": "Type",
|
|
"{__name__=\"pve_node_cpu_usage\", cluster=\"IMTM\", endpoint=\"9090\", instance=\"10.42.3.132:9090\", job=\"pve-exporter\", node=\"pve-hp1\", prometheus=\"monitoring/monitoring-prometheus\", service=\"pve-exporter\"}": "CPU Usage %"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 33,
|
|
"links": [],
|
|
"title": "Shared Storage Info",
|
|
"vizConfig": {
|
|
"group": "table",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "auto",
|
|
"cellOptions": {
|
|
"type": "auto"
|
|
},
|
|
"footer": {
|
|
"reducers": []
|
|
},
|
|
"inspect": false
|
|
},
|
|
"fieldMinMax": true,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Storage Used"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "bytes"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Storage Capacity"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "bytes"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Storage Usage"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"mode": "lcd",
|
|
"type": "gauge"
|
|
}
|
|
},
|
|
{
|
|
"id": "unit",
|
|
"value": "percentunit"
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 0.8
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 0.9
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "max",
|
|
"value": 1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Time Till Full"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "s"
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "red",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 604800
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 2592000
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-background"
|
|
}
|
|
},
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"from": -999999999999999,
|
|
"result": {
|
|
"color": "green",
|
|
"index": 0,
|
|
"text": "∞ years"
|
|
},
|
|
"to": 0
|
|
},
|
|
"type": "range"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"cellHeight": "sm",
|
|
"showHeader": true,
|
|
"sortBy": []
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-34": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "count(pve_vm_state{cluster=\"$cluster\"} == 1) OR vector(0)",
|
|
"instant": true,
|
|
"legendFormat": "VMs",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 34,
|
|
"links": [],
|
|
"title": "Running Virtual Machines",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-35": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"exemplar": false,
|
|
"expr": "count(pve_ct_state{cluster=\"$cluster\"} == 1) OR vector(0)",
|
|
"instant": true,
|
|
"legendFormat": "CTs",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 35,
|
|
"links": [],
|
|
"title": "Running LXC Containers",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"layout": {
|
|
"kind": "RowsLayout",
|
|
"spec": {
|
|
"rows": [
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-10"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-24"
|
|
},
|
|
"height": 6,
|
|
"width": 3,
|
|
"x": 3,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-34"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 6,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-16"
|
|
},
|
|
"height": 6,
|
|
"width": 3,
|
|
"x": 9,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-15"
|
|
},
|
|
"height": 6,
|
|
"width": 3,
|
|
"x": 12,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-13"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 15,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-20"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 18,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-22"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 21,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-18"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 0,
|
|
"y": 3
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-35"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 6,
|
|
"y": 3
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-14"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 15,
|
|
"y": 3
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-21"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 18,
|
|
"y": 3
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-23"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 21,
|
|
"y": 3
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-19"
|
|
},
|
|
"height": 7,
|
|
"width": 24,
|
|
"x": 0,
|
|
"y": 6
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-31"
|
|
},
|
|
"height": 7,
|
|
"width": 12,
|
|
"x": 0,
|
|
"y": 13
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-33"
|
|
},
|
|
"height": 7,
|
|
"width": 12,
|
|
"x": 12,
|
|
"y": 13
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-29"
|
|
},
|
|
"height": 7,
|
|
"width": 12,
|
|
"x": 0,
|
|
"y": 20
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-30"
|
|
},
|
|
"height": 7,
|
|
"width": 12,
|
|
"x": 12,
|
|
"y": 20
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"title": "Cluster Overview"
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-25"
|
|
},
|
|
"height": 9,
|
|
"width": 12,
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-26"
|
|
},
|
|
"height": 9,
|
|
"width": 12,
|
|
"x": 12,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-27"
|
|
},
|
|
"height": 9,
|
|
"width": 12,
|
|
"x": 0,
|
|
"y": 9
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-28"
|
|
},
|
|
"height": 9,
|
|
"width": 12,
|
|
"x": 12,
|
|
"y": 9
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"title": "Node Resources"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"links": [],
|
|
"liveNow": false,
|
|
"preload": false,
|
|
"tags": [
|
|
"proxmox",
|
|
"virtualization",
|
|
"hypervisor"
|
|
],
|
|
"timeSettings": {
|
|
"autoRefresh": "10s",
|
|
"autoRefreshIntervals": [
|
|
"5s",
|
|
"10s",
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h",
|
|
"1d"
|
|
],
|
|
"fiscalYearStartMonth": 0,
|
|
"from": "now-24h",
|
|
"hideTimepicker": false,
|
|
"timezone": "browser",
|
|
"to": "now"
|
|
},
|
|
"title": "Proxmox / Overview",
|
|
"variables": [
|
|
{
|
|
"kind": "QueryVariable",
|
|
"spec": {
|
|
"allowCustomValue": true,
|
|
"current": {
|
|
"text": "HomeLab",
|
|
"value": "HomeLab"
|
|
},
|
|
"definition": "label_values(pve_cluster_nodes,cluster)",
|
|
"hide": "dontHide",
|
|
"includeAll": false,
|
|
"label": "Cluster",
|
|
"multi": false,
|
|
"name": "cluster",
|
|
"options": [],
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"qryType": 1,
|
|
"query": "label_values(pve_cluster_nodes,cluster)",
|
|
"refId": "PrometheusVariableQueryEditor-VariableQuery"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refresh": "onDashboardLoad",
|
|
"regex": "",
|
|
"regexApplyTo": "value",
|
|
"skipUrlSync": false,
|
|
"sort": "disabled"
|
|
}
|
|
}
|
|
]
|
|
} |