5679 lines
170 KiB
JSON
5679 lines
170 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-1": {
|
|
"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": "clamp_max(sum(pve_node_load1{cluster=\"$cluster\", node=\"$node\"}) / sum(pve_node_cpu_count{cluster=\"$cluster\", node=\"$node\"} * 2), 1)",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 1,
|
|
"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-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": "pve_node_ksm_bytes{cluster=\"$cluster\", node=\"$node\"}",
|
|
"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": "Kernel Same-page Merging (KSM). Amount of shared memory in bytes.",
|
|
"id": 10,
|
|
"links": [],
|
|
"title": "Memory Shared (KSM)",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
"unit": "bytes"
|
|
},
|
|
"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-12": {
|
|
"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_free_bytes{cluster=\"$cluster\", node=\"$node\"})",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 12,
|
|
"links": [],
|
|
"title": "Free 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-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_uptime{cluster=\"$cluster\", node=\"$node\"})",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 13,
|
|
"links": [],
|
|
"title": "Uptime",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 15778800
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 31557600
|
|
}
|
|
]
|
|
},
|
|
"unit": "s"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "background",
|
|
"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_time{cluster=\"$cluster\", node=\"$node\"}) * 1000",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 14,
|
|
"links": [],
|
|
"title": "Time",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
"unit": "dateTimeAsLocal"
|
|
},
|
|
"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-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": "count(pve_ct_state{cluster=\"$cluster\", node=\"$node\"} == 1) OR vector(0)",
|
|
"instant": true,
|
|
"legendFormat": "CTs",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 16,
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"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": "topk(20, pve_vm_mem_used_bytes{cluster=~\"$cluster\", node=\"$node\"})",
|
|
"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,
|
|
"node": true,
|
|
"prometheus": true
|
|
},
|
|
"includeByName": {
|
|
"Value": true,
|
|
"name": true,
|
|
"vmid": true
|
|
},
|
|
"indexByName": {},
|
|
"renameByName": {
|
|
"Value": "Host Memory Usage",
|
|
"name": "Guest",
|
|
"node": "Node",
|
|
"vmid": "Guest ID"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 18,
|
|
"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": "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-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": "topk(20, \r\n (avg_over_time(pve_vm_cpu_usage{cluster=~\"$cluster\", node=\"$node\"}[1d]) * pve_vm_cpu_count{cluster=~\"$cluster\", node=\"$node\"} and pve_vm_state{cluster=~\"$cluster\", node=\"$node\"} == 1 or \r\n avg_over_time(pve_ct_cpu_usage{cluster=~\"$cluster\", node=\"$node\"}[1d]) * pve_ct_cpu_count{cluster=~\"$cluster\", node=\"$node\"} and pve_ct_state{cluster=~\"$cluster\", node=\"$node\"} == 1) \r\n / on (node) group_left(cluster) pve_node_cpu_count{cluster=~\"$cluster\", node=\"$node\"})",
|
|
"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,
|
|
"name": false,
|
|
"node": true,
|
|
"prometheus": true
|
|
},
|
|
"includeByName": {
|
|
"Value": true,
|
|
"name": true,
|
|
"vmid": true
|
|
},
|
|
"indexByName": {},
|
|
"renameByName": {
|
|
"Value": "Host CPU Usage",
|
|
"name": "Guest",
|
|
"node": "Node",
|
|
"vmid": "Guest ID"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 19,
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"id": "decimals",
|
|
"value": 2
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": "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-2": {
|
|
"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\", node=\"$node\"}) / sum(pve_node_memory_total_bytes{cluster=\"$cluster\", node=\"$node\"})",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 2,
|
|
"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-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": "(avg_over_time(pve_vm_cpu_usage{cluster=~\"$cluster\", node=\"$node\"}[$__rate_interval]) * pve_vm_cpu_count{cluster=~\"$cluster\", node=\"$node\"} and pve_vm_state{cluster=~\"$cluster\", node=\"$node\"} == 1 or \r\navg_over_time(pve_ct_cpu_usage{cluster=~\"$cluster\", node=\"$node\"}[$__rate_interval]) * pve_ct_cpu_count{cluster=~\"$cluster\", node=\"$node\"} and pve_ct_state{cluster=~\"$cluster\", node=\"$node\"} == 1) ",
|
|
"format": "time_series",
|
|
"instant": false,
|
|
"legendFormat": "{{name}}",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "Gest CPU usage in CPU/seconds.",
|
|
"id": 20,
|
|
"links": [],
|
|
"title": "Guest 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": "normal"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "none"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": {
|
|
"clustering": -1,
|
|
"multiLane": false
|
|
},
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"mean"
|
|
],
|
|
"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-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": "pve_vm_mem_used_bytes{cluster=~\"$cluster\", node=\"$node\"} OR\r\npve_ct_mem_used_bytes{cluster=~\"$cluster\", node=\"$node\"}",
|
|
"format": "time_series",
|
|
"instant": false,
|
|
"legendFormat": "{{name}}",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 21,
|
|
"links": [],
|
|
"title": "Guest 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": "normal"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": {
|
|
"clustering": -1,
|
|
"multiLane": false
|
|
},
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"mean"
|
|
],
|
|
"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-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": "pve_node_disk_healthy{cluster=\"$cluster\", node=\"$node\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"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": "pve_node_disk_wearout{cluster=\"$cluster\", node=\"$node\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": [
|
|
{
|
|
"group": "joinByField",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"byField": "wwn",
|
|
"mode": "outer"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"group": "organize",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"Time 2": true,
|
|
"Value": false,
|
|
"__name__": true,
|
|
"__name__ 1": true,
|
|
"__name__ 2": true,
|
|
"cluster": true,
|
|
"cluster 2": true,
|
|
"instance": true,
|
|
"instance 2": true,
|
|
"job": true,
|
|
"job 2": true,
|
|
"model": false,
|
|
"model 2": true,
|
|
"node": true,
|
|
"node 2": true,
|
|
"osd_id": false,
|
|
"osd_id 2": true,
|
|
"prometheus": true,
|
|
"prometheus 2": true,
|
|
"serial": false,
|
|
"serial 2": true,
|
|
"type 2": true,
|
|
"used 2": true,
|
|
"vendor 2": true
|
|
},
|
|
"includeByName": {
|
|
"Value": true,
|
|
"Value #A": true,
|
|
"Value #B": true,
|
|
"model": true,
|
|
"model 1": true,
|
|
"osd_id": true,
|
|
"osd_id 1": true,
|
|
"serial": true,
|
|
"serial 1": true,
|
|
"type": true,
|
|
"type 1": true,
|
|
"used": true,
|
|
"used 1": true,
|
|
"vendor": true,
|
|
"vendor 1": true,
|
|
"wwn": true
|
|
},
|
|
"indexByName": {
|
|
"Time": 14,
|
|
"Value": 7,
|
|
"__name__": 13,
|
|
"cluster": 8,
|
|
"instance": 9,
|
|
"job": 10,
|
|
"model": 2,
|
|
"node": 11,
|
|
"osd_id": 3,
|
|
"prometheus": 12,
|
|
"serial": 1,
|
|
"type": 4,
|
|
"used": 6,
|
|
"vendor": 5,
|
|
"wwn": 0
|
|
},
|
|
"renameByName": {
|
|
"Value": "State",
|
|
"Value #A": "State",
|
|
"Value #B": "Wearout (Remaining)",
|
|
"model": "Model",
|
|
"model 1": "Model",
|
|
"osd_id": "Ceph OSD",
|
|
"osd_id 1": "Ceph OSD",
|
|
"serial": "Serial Number",
|
|
"serial 1": "Serial",
|
|
"type": "Type",
|
|
"type 1": "Type",
|
|
"used": "Used In",
|
|
"used 1": "Used",
|
|
"vendor": "Vendor",
|
|
"vendor 1": "Vendor",
|
|
"wwn": "WWN"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 24,
|
|
"links": [],
|
|
"title": "Disk Status",
|
|
"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": "State"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"0": {
|
|
"color": "red",
|
|
"index": 1,
|
|
"text": "FAILED"
|
|
},
|
|
"1": {
|
|
"color": "green",
|
|
"index": 0,
|
|
"text": "HEALTHY"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-background"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Ceph OSD"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"-1": {
|
|
"index": 0,
|
|
"text": "N/A"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Type"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"hdd": {
|
|
"index": 1,
|
|
"text": "HDD"
|
|
},
|
|
"ssd": {
|
|
"index": 0,
|
|
"text": "SSD"
|
|
},
|
|
"unknown": {
|
|
"index": 2,
|
|
"text": "N/A"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Wearout (Remaining)"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "red",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 50
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 90
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-background"
|
|
}
|
|
},
|
|
{
|
|
"id": "unit",
|
|
"value": "percent"
|
|
},
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"match": "null",
|
|
"result": {
|
|
"color": "transparent",
|
|
"index": 0,
|
|
"text": "N/A"
|
|
}
|
|
},
|
|
"type": "special"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Used"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"match": "empty",
|
|
"result": {
|
|
"color": "text",
|
|
"index": 0,
|
|
"text": "Unused"
|
|
}
|
|
},
|
|
"type": "special"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"cellHeight": "sm",
|
|
"showHeader": true
|
|
}
|
|
},
|
|
"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 by (name) (rate(pve_vm_network_in_bytes{cluster=\"$cluster\", node=\"$node\"}[$__rate_interval]) or rate(pve_ct_network_in_bytes{cluster=\"$cluster\", node=\"$node\"}[$__rate_interval]))",
|
|
"instant": false,
|
|
"legendFormat": "{{name}}",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 27,
|
|
"links": [],
|
|
"title": "Network Receive Rate",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": -1,
|
|
"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": "normal"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "binBps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": {
|
|
"clustering": -1,
|
|
"multiLane": false
|
|
},
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"mean"
|
|
],
|
|
"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 by (name) (rate(pve_vm_network_out_bytes{cluster=\"$cluster\", node=\"$node\"}[$__rate_interval]) or rate(pve_ct_network_out_bytes{cluster=\"$cluster\", node=\"$node\"}[$__rate_interval]))",
|
|
"instant": false,
|
|
"legendFormat": "{{name}}",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 28,
|
|
"links": [],
|
|
"title": "Network Transmit Rate",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": -1,
|
|
"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": "normal"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "binBps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": {
|
|
"clustering": -1,
|
|
"multiLane": false
|
|
},
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"mean"
|
|
],
|
|
"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": "sum by (name) (pve_vm_network_in_bytes{cluster=\"$cluster\", node=\"$node\"}) or \r\nsum by (name) (pve_ct_network_in_bytes{cluster=\"$cluster\", node=\"$node\"})",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "{{name}}",
|
|
"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": "sum by (name) (pve_vm_network_out_bytes{cluster=\"$cluster\", node=\"$node\"}) or \r\nsum by (name) (pve_ct_network_out_bytes{cluster=\"$cluster\", node=\"$node\"})",
|
|
"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": "(sum by (name) (pve_vm_network_in_bytes{cluster=\"$cluster\", node=\"$node\"}) or \r\n sum by (name) (pve_ct_network_in_bytes{cluster=\"$cluster\", node=\"$node\"})) \r\n + \r\n(sum by (name) (pve_vm_network_out_bytes{cluster=\"$cluster\", node=\"$node\"}) or \r\n sum by (name) (pve_ct_network_out_bytes{cluster=\"$cluster\", node=\"$node\"}))",
|
|
"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": "sum by (name) (delta(pve_vm_network_in_bytes{cluster=\"$cluster\", node=\"$node\"}[$__range]) + \r\n delta(pve_vm_network_out_bytes{cluster=\"$cluster\", node=\"$node\"}[$__range])) or\r\nsum by (name) (delta(pve_ct_network_in_bytes{cluster=\"$cluster\", node=\"$node\"}[$__range]) + \r\n delta(pve_ct_network_out_bytes{cluster=\"$cluster\", node=\"$node\"}[$__range]))",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "D"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": [
|
|
{
|
|
"group": "joinByField",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"byField": "name",
|
|
"mode": "outer"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"group": "organize",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"__name__": true,
|
|
"cluster": true,
|
|
"instance": true
|
|
},
|
|
"includeByName": {
|
|
"Value #A": true,
|
|
"Value #B": true,
|
|
"Value #C": true,
|
|
"Value #D": true,
|
|
"name": true
|
|
},
|
|
"indexByName": {},
|
|
"renameByName": {
|
|
"Value #A": "Received",
|
|
"Value #B": "Transmitted",
|
|
"Value #C": "Total Traffic",
|
|
"Value #D": "Traffic Growth (Period)",
|
|
"name": "Guest"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 29,
|
|
"links": [],
|
|
"title": "Network Traffic",
|
|
"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
|
|
}
|
|
]
|
|
},
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"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}"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"cellHeight": "sm",
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Total Traffic"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-3": {
|
|
"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\", node=\"$node\"})",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 3,
|
|
"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-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",
|
|
"expr": "sum by (name) (rate(pve_vm_disk_rd_bytes{cluster=\"$cluster\", node=\"$node\"}[$__rate_interval]) or rate(pve_ct_disk_rd_bytes{cluster=\"$cluster\", node=\"$node\"}[$__rate_interval]))",
|
|
"instant": false,
|
|
"legendFormat": "{{name}}",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 30,
|
|
"links": [],
|
|
"title": "Disk Read Rate",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": -1,
|
|
"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": "normal"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "binBps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": {
|
|
"clustering": -1,
|
|
"multiLane": false
|
|
},
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"mean"
|
|
],
|
|
"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-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",
|
|
"expr": "sum by (name) (rate(pve_vm_disk_wr_bytes{cluster=\"$cluster\", node=\"$node\"}[$__rate_interval]) or rate(pve_ct_disk_wr_bytes{cluster=\"$cluster\", node=\"$node\"}[$__rate_interval]))",
|
|
"instant": false,
|
|
"legendFormat": "{{name}}",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 31,
|
|
"links": [],
|
|
"title": "Disk Write Rate",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": -1,
|
|
"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": "normal"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "binBps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": {
|
|
"clustering": -1,
|
|
"multiLane": false
|
|
},
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"mean"
|
|
],
|
|
"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-32": {
|
|
"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 (name) (pve_vm_disk_rd_bytes{cluster=\"$cluster\", node=\"$node\"}) or \r\nsum by (name) (pve_ct_disk_rd_bytes{cluster=\"$cluster\", node=\"$node\"})",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "{{name}}",
|
|
"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": "sum by (name) (pve_vm_disk_wr_bytes{cluster=\"$cluster\", node=\"$node\"}) or \r\nsum by (name) (pve_ct_disk_wr_bytes{cluster=\"$cluster\", node=\"$node\"})",
|
|
"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": "(sum by (name) (pve_vm_disk_rd_bytes{cluster=\"$cluster\", node=\"$node\"}) or \r\n sum by (name) (pve_ct_disk_rd_bytes{cluster=\"$cluster\", node=\"$node\"})) \r\n + \r\n(sum by (name) (pve_vm_disk_wr_bytes{cluster=\"$cluster\", node=\"$node\"}) or \r\n sum by (name) (pve_ct_disk_wr_bytes{cluster=\"$cluster\", node=\"$node\"}))",
|
|
"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": "sum by (name) (delta(pve_vm_disk_rd_bytes{cluster=\"$cluster\", node=\"$node\"}[$__range]) + \r\n delta(pve_vm_disk_wr_bytes{cluster=\"$cluster\", node=\"$node\"}[$__range])) or\r\nsum by (name) (delta(pve_ct_disk_rd_bytes{cluster=\"$cluster\", node=\"$node\"}[$__range]) + \r\n delta(pve_ct_disk_wr_bytes{cluster=\"$cluster\", node=\"$node\"}[$__range]))",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "D"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": [
|
|
{
|
|
"group": "joinByField",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"byField": "name",
|
|
"mode": "outer"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"group": "organize",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"__name__": true,
|
|
"cluster": true,
|
|
"instance": true
|
|
},
|
|
"includeByName": {
|
|
"Value #A": true,
|
|
"Value #B": true,
|
|
"Value #C": true,
|
|
"Value #D": true,
|
|
"name": true
|
|
},
|
|
"indexByName": {},
|
|
"renameByName": {
|
|
"Value #A": "Read",
|
|
"Value #B": "Written",
|
|
"Value #C": "Total",
|
|
"Value #D": "Growth (Period)",
|
|
"name": "Guest"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 32,
|
|
"links": [],
|
|
"title": "Disk R/W Usage",
|
|
"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
|
|
}
|
|
]
|
|
},
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"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}"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"cellHeight": "sm",
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "Total"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"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",
|
|
"expr": "sum by (name) (rate(pve_vm_disk_rd_operations{cluster=\"$cluster\", node=\"$node\"}[$__rate_interval]))",
|
|
"instant": false,
|
|
"legendFormat": "{{name}}",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 33,
|
|
"links": [],
|
|
"title": "Disk Read I/O Rate",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": -1,
|
|
"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": "normal"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "iops"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": {
|
|
"clustering": -1,
|
|
"multiLane": false
|
|
},
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"mean"
|
|
],
|
|
"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-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",
|
|
"expr": "sum by (name) (rate(pve_vm_disk_wr_operations{cluster=\"$cluster\", node=\"$node\"}[$__rate_interval]))",
|
|
"instant": false,
|
|
"legendFormat": "{{name}}",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 34,
|
|
"links": [],
|
|
"title": "Disk Write I/O Rate",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": -1,
|
|
"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": "normal"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "iops"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": {
|
|
"clustering": -1,
|
|
"multiLane": false
|
|
},
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"mean"
|
|
],
|
|
"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-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": "pve_storage_total_bytes{cluster=~\"$cluster\", node=\"$node\", shared=\"0\"}",
|
|
"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 - pve_storage_avail_bytes{cluster=~\"$cluster\", node=\"$node\", shared=\"0\"} / \r\n pve_storage_total_bytes{cluster=~\"$cluster\", node=\"$node\", shared=\"0\"}",
|
|
"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_storage_total_bytes{cluster=~\"$cluster\", node=\"$node\", shared=\"0\"} / \r\nderiv(pve_storage_used_bytes{cluster=~\"$cluster\", node=\"$node\", shared=\"0\"}[6h])",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 300
|
|
},
|
|
"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,
|
|
"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,
|
|
"cluster 2": true,
|
|
"cluster 3": true,
|
|
"content": false,
|
|
"content 2": true,
|
|
"content 3": true,
|
|
"endpoint": true,
|
|
"flags": true,
|
|
"hvm": true,
|
|
"instance": true,
|
|
"instance 2": true,
|
|
"instance 3": true,
|
|
"job": true,
|
|
"job 2": true,
|
|
"job 3": true,
|
|
"kversion": true,
|
|
"machine": true,
|
|
"namespace": true,
|
|
"node": true,
|
|
"node 2": true,
|
|
"node 3": true,
|
|
"product_family": true,
|
|
"product_sku": true,
|
|
"product_version": true,
|
|
"prometheus": true,
|
|
"prometheus 2": true,
|
|
"prometheus 3": true,
|
|
"prometheus 5": true,
|
|
"release": true,
|
|
"service": true,
|
|
"service 5": true,
|
|
"shared": true,
|
|
"shared 2": true,
|
|
"shared 3": true,
|
|
"sysname": true,
|
|
"type 2": true,
|
|
"type 3": true
|
|
},
|
|
"includeByName": {
|
|
"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,
|
|
"pveversion": true,
|
|
"sockets": true,
|
|
"storage": true,
|
|
"type": true
|
|
},
|
|
"indexByName": {
|
|
"Time": 13,
|
|
"Time 2": 7,
|
|
"Value #E": 12,
|
|
"Value #F": 2,
|
|
"__name__": 14,
|
|
"cluster": 6,
|
|
"cluster 2": 8,
|
|
"content": 15,
|
|
"content 2": 18,
|
|
"instance": 3,
|
|
"instance 2": 9,
|
|
"job": 4,
|
|
"job 2": 10,
|
|
"node": 1,
|
|
"node 2": 19,
|
|
"prometheus": 5,
|
|
"prometheus 2": 11,
|
|
"shared": 16,
|
|
"shared 2": 20,
|
|
"storage": 0,
|
|
"type": 17,
|
|
"type 2": 21
|
|
},
|
|
"renameByName": {
|
|
"Value #A": "RootFS Usage",
|
|
"Value #B": "Time Till Full",
|
|
"Value #C": "Memory Usage",
|
|
"Value #D": "Installed Memory",
|
|
"Value #E": "Capacity",
|
|
"Value #F": "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": 35,
|
|
"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": "pveversion"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 325
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Usage"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "percentunit"
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"mode": "lcd",
|
|
"type": "gauge",
|
|
"valueDisplayMode": "text"
|
|
}
|
|
},
|
|
{
|
|
"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": 207
|
|
},
|
|
{
|
|
"id": "min",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "decimals",
|
|
"value": 2
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Capacity"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "bytes"
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 91
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": "custom.align",
|
|
"value": "center"
|
|
},
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"from": -999999999999999,
|
|
"result": {
|
|
"color": "green",
|
|
"index": 0,
|
|
"text": "∞ years"
|
|
},
|
|
"to": 0
|
|
},
|
|
"type": "range"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Storage"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 119
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "type"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 90
|
|
},
|
|
{
|
|
"id": "displayName",
|
|
"value": "Type"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "content"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 134
|
|
},
|
|
{
|
|
"id": "displayName",
|
|
"value": "Content"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"cellHeight": "sm",
|
|
"showHeader": true,
|
|
"sortBy": []
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-36": {
|
|
"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_rootfs_total_bytes{cluster=\"$cluster\", node=\"$node\"}",
|
|
"instant": false,
|
|
"legendFormat": "Total",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"editorMode": "code",
|
|
"expr": "pve_node_rootfs_used_bytes{cluster=\"$cluster\", node=\"$node\"}",
|
|
"instant": false,
|
|
"legendFormat": "Used",
|
|
"range": true
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 600
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 36,
|
|
"links": [],
|
|
"title": "Root Filesystem",
|
|
"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": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": {
|
|
"clustering": -1,
|
|
"multiLane": false
|
|
},
|
|
"legend": {
|
|
"calcs": [
|
|
"last"
|
|
],
|
|
"displayMode": "list",
|
|
"enableFacetedFilter": false,
|
|
"overflow": "ellipsis",
|
|
"placement": "bottom",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"hideZeros": false,
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-37": {
|
|
"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_subscription_info{cluster=\"$cluster\", node=\"$node\", productname!=\"\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": [
|
|
{
|
|
"group": "joinByField",
|
|
"kind": "Transformation",
|
|
"spec": {
|
|
"options": {
|
|
"byField": "Time",
|
|
"mode": "outerTabular"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 37,
|
|
"links": [],
|
|
"title": "Product",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "/^productname$/",
|
|
"values": true
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "value",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-38": {
|
|
"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_subscription_status{cluster=\"$cluster\", node=\"$node\"}",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 38,
|
|
"links": [],
|
|
"title": "License",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"0": {
|
|
"index": 1,
|
|
"text": "NO SUBSCRIPTION"
|
|
},
|
|
"1": {
|
|
"index": 0,
|
|
"text": "VALID"
|
|
},
|
|
"2": {
|
|
"index": 2,
|
|
"text": "EXPIRED"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "orange",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 1
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 2
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": true
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "value",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-39": {
|
|
"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_subscription_nextduedate{cluster=\"$cluster\", node=\"$node\"} * 1000",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 39,
|
|
"links": [],
|
|
"title": "Due Date",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
"unit": "dateTimeAsIso"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": true
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "value",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-4": {
|
|
"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\", node=\"$node\"})",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 4,
|
|
"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-41": {
|
|
"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_subscription_regdate{cluster=\"$cluster\", node=\"$node\"} * 1000",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"legendFormat": "__auto",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 41,
|
|
"links": [],
|
|
"title": "Registration",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
}
|
|
]
|
|
},
|
|
"unit": "dateTimeAsIso"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": true
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "value",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-43": {
|
|
"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_systeminfo{cluster=\"$cluster\", node=\"$node\"}",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"legendFormat": "{{pveversion}}",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 43,
|
|
"links": [],
|
|
"title": "Manager Version",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": true
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "name",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-44": {
|
|
"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_systeminfo{cluster=\"$cluster\", node=\"$node\"}",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"legendFormat": "{{kversion}}",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 44,
|
|
"links": [],
|
|
"title": "Kernel Version",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": true
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "name",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-45": {
|
|
"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\", node=\"$node\"}",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"legendFormat": "{{model}}",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 45,
|
|
"links": [],
|
|
"title": "CPU Model",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": true
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "name",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-46": {
|
|
"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\", node=\"$node\"}",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"legendFormat": "{{cores}}",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 46,
|
|
"links": [],
|
|
"title": "CPU Cores Total",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": true
|
|
},
|
|
"showPercentChange": false,
|
|
"textMode": "name",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.1.3"
|
|
}
|
|
}
|
|
},
|
|
"panel-5": {
|
|
"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\", node=\"$node\"} == 1) OR vector(0)",
|
|
"instant": true,
|
|
"legendFormat": "VMs",
|
|
"range": false
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {
|
|
"maxDataPoints": 100
|
|
},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 5,
|
|
"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-6": {
|
|
"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\", node=\"$node\"}[$__rate_interval]) or vector(0)) + sum(rate(pve_ct_network_in_bytes{cluster=\"$cluster\", node=\"$node\"}[$__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": 6,
|
|
"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-7": {
|
|
"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\", node=\"$node\"}[$__rate_interval]) or vector(0)) + sum(rate(pve_ct_network_out_bytes{cluster=\"$cluster\", node=\"$node\"}[$__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": 7,
|
|
"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-8": {
|
|
"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\", node=\"$node\"}[$__rate_interval]) or vector(0)) + sum(rate(pve_ct_disk_rd_bytes{cluster=\"$cluster\", node=\"$node\"}[$__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": 8,
|
|
"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-9": {
|
|
"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\", node=\"$node\"}[$__rate_interval]) or vector(0)) + sum(rate(pve_ct_disk_wr_bytes{cluster=\"$cluster\", node=\"$node\"}[$__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": 9,
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"layout": {
|
|
"kind": "RowsLayout",
|
|
"spec": {
|
|
"rows": [
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-13"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-5"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 3,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-1"
|
|
},
|
|
"height": 6,
|
|
"width": 3,
|
|
"x": 6,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-2"
|
|
},
|
|
"height": 6,
|
|
"width": 3,
|
|
"x": 9,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-3"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 12,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-10"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 15,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-8"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 18,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-6"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 21,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-14"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 0,
|
|
"y": 3
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-16"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 3,
|
|
"y": 3
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-12"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 12,
|
|
"y": 3
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-4"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 15,
|
|
"y": 3
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-9"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 18,
|
|
"y": 3
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-7"
|
|
},
|
|
"height": 3,
|
|
"width": 3,
|
|
"x": 21,
|
|
"y": 3
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"title": "Node Overview"
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-43"
|
|
},
|
|
"height": 2,
|
|
"width": 6,
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-44"
|
|
},
|
|
"height": 2,
|
|
"width": 6,
|
|
"x": 6,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-45"
|
|
},
|
|
"height": 2,
|
|
"width": 6,
|
|
"x": 12,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-46"
|
|
},
|
|
"height": 2,
|
|
"width": 6,
|
|
"x": 18,
|
|
"y": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"title": "System Info"
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-38"
|
|
},
|
|
"height": 2,
|
|
"width": 6,
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-37"
|
|
},
|
|
"height": 2,
|
|
"width": 6,
|
|
"x": 6,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-41"
|
|
},
|
|
"height": 2,
|
|
"width": 6,
|
|
"x": 12,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-39"
|
|
},
|
|
"height": 2,
|
|
"width": 6,
|
|
"x": 18,
|
|
"y": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"title": "Subscription"
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-35"
|
|
},
|
|
"height": 7,
|
|
"width": 12,
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-36"
|
|
},
|
|
"height": 7,
|
|
"width": 12,
|
|
"x": 12,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-24"
|
|
},
|
|
"height": 7,
|
|
"width": 24,
|
|
"x": 0,
|
|
"y": 7
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"title": "Storage Info"
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-19"
|
|
},
|
|
"height": 8,
|
|
"width": 12,
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-20"
|
|
},
|
|
"height": 8,
|
|
"width": 12,
|
|
"x": 12,
|
|
"y": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"title": "Guests CPU"
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-18"
|
|
},
|
|
"height": 8,
|
|
"width": 12,
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-21"
|
|
},
|
|
"height": 8,
|
|
"width": 12,
|
|
"x": 12,
|
|
"y": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"title": "Guests Memory"
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-27"
|
|
},
|
|
"height": 8,
|
|
"width": 12,
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-28"
|
|
},
|
|
"height": 8,
|
|
"width": 12,
|
|
"x": 12,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-29"
|
|
},
|
|
"height": 8,
|
|
"width": 24,
|
|
"x": 0,
|
|
"y": 8
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"title": "Guest Network Usage"
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-30"
|
|
},
|
|
"height": 8,
|
|
"width": 12,
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-31"
|
|
},
|
|
"height": 8,
|
|
"width": 12,
|
|
"x": 12,
|
|
"y": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-33"
|
|
},
|
|
"height": 8,
|
|
"width": 12,
|
|
"x": 0,
|
|
"y": 8
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-34"
|
|
},
|
|
"height": 8,
|
|
"width": 12,
|
|
"x": 12,
|
|
"y": 8
|
|
}
|
|
},
|
|
{
|
|
"kind": "GridLayoutItem",
|
|
"spec": {
|
|
"element": {
|
|
"kind": "ElementReference",
|
|
"name": "panel-32"
|
|
},
|
|
"height": 8,
|
|
"width": 24,
|
|
"x": 0,
|
|
"y": 16
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"title": "Guest Disk Usage"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"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 / Node Details",
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"kind": "QueryVariable",
|
|
"spec": {
|
|
"allowCustomValue": true,
|
|
"current": {
|
|
"text": "pve",
|
|
"value": "pve"
|
|
},
|
|
"definition": "label_values(pve_node_state,node)",
|
|
"hide": "dontHide",
|
|
"includeAll": false,
|
|
"label": "Node",
|
|
"multi": false,
|
|
"name": "node",
|
|
"options": [],
|
|
"query": {
|
|
"datasource": {
|
|
"name": "prometheus"
|
|
},
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"qryType": 1,
|
|
"query": "label_values(pve_node_state,node)",
|
|
"refId": "PrometheusVariableQueryEditor-VariableQuery"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refresh": "onDashboardLoad",
|
|
"regex": "",
|
|
"regexApplyTo": "value",
|
|
"skipUrlSync": false,
|
|
"sort": "disabled"
|
|
}
|
|
}
|
|
]
|
|
} |