1355 lines
32 KiB
JSON
1355 lines
32 KiB
JSON
{
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": {
|
|
"type": "datasource",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"target": {
|
|
"limit": 100,
|
|
"matchAny": false,
|
|
"tags": [],
|
|
"type": "dashboard"
|
|
},
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"editable": true,
|
|
"fiscalYearStartMonth": 0,
|
|
"graphTooltip": 1,
|
|
"id": 47,
|
|
"links": [],
|
|
"liveNow": false,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 100,
|
|
"options": {
|
|
"content": "<div style=\"text-align: center; font-size: 26px; font-weight: bold; color: #00e5ff; letter-spacing: 4px;\">VEEAM 全任务监控中心</div>",
|
|
"mode": "html"
|
|
},
|
|
"pluginVersion": "9.1.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"transparent": true,
|
|
"type": "text"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"decimals": 0,
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#36cf87",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 3,
|
|
"x": 0,
|
|
"y": 3
|
|
},
|
|
"id": 2,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "center",
|
|
"orientation": "vertical",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "value_and_name"
|
|
},
|
|
"pluginVersion": "9.1.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "veeam_global_total_jobs",
|
|
"interval": "",
|
|
"legendFormat": "总任务数",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "全部任务",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"decimals": 0,
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#36cf87",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#ff7d00",
|
|
"value": 1
|
|
},
|
|
{
|
|
"color": "#f53f3f",
|
|
"value": 3
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 3,
|
|
"x": 3,
|
|
"y": 3
|
|
},
|
|
"id": 102,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "center",
|
|
"orientation": "vertical",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "value_and_name"
|
|
},
|
|
"pluginVersion": "9.1.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "veeam_global_running_jobs",
|
|
"interval": "",
|
|
"legendFormat": "运行中任务",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "当前运行中",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"decimals": 0,
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#36cf87",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#f53f3f",
|
|
"value": 1
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 3,
|
|
"x": 6,
|
|
"y": 3
|
|
},
|
|
"id": 4,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "area",
|
|
"justifyMode": "center",
|
|
"orientation": "vertical",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "value_and_name"
|
|
},
|
|
"pluginVersion": "9.1.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "veeam_global_failed_jobs",
|
|
"interval": "",
|
|
"legendFormat": "失败任务",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "异常失败任务",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"decimals": 0,
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#9b59b6",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 3,
|
|
"x": 9,
|
|
"y": 3
|
|
},
|
|
"id": 105,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "center",
|
|
"orientation": "vertical",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "value_and_name"
|
|
},
|
|
"pluginVersion": "9.1.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "count(count by(job_name) (veeam_job_status{job_name=~\"Restore_.*\"}))",
|
|
"interval": "",
|
|
"legendFormat": "恢复任务",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "今日恢复任务",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"decimals": 1,
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#f53f3f",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#ff7d00",
|
|
"value": 95
|
|
},
|
|
{
|
|
"color": "#36cf87",
|
|
"value": 99
|
|
}
|
|
]
|
|
},
|
|
"unit": "percent"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 3,
|
|
"x": 12,
|
|
"y": 3
|
|
},
|
|
"id": 103,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "center",
|
|
"orientation": "vertical",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "value_and_name"
|
|
},
|
|
"pluginVersion": "9.1.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "veeam_global_success_rate",
|
|
"interval": "",
|
|
"legendFormat": "全局成功率",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "全局成功率",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"decimals": 2,
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#409eff",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "decgbytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 3,
|
|
"x": 15,
|
|
"y": 3
|
|
},
|
|
"id": 104,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "center",
|
|
"orientation": "vertical",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "value_and_name"
|
|
},
|
|
"pluginVersion": "9.1.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "veeam_global_daily_total_gb",
|
|
"interval": "",
|
|
"legendFormat": "今日总备份",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "当日累计备份量",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#ff7d00",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "dtdurations"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 3,
|
|
"x": 18,
|
|
"y": 3
|
|
},
|
|
"id": 8,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "center",
|
|
"orientation": "vertical",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "value_and_name"
|
|
},
|
|
"pluginVersion": "9.1.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "max(veeam_job_duration_seconds)",
|
|
"interval": "",
|
|
"legendFormat": "最长耗时",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "单任务最长耗时",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 9
|
|
},
|
|
"id": 2,
|
|
"panels": [],
|
|
"title": "全任务运行监控(含完整备份量)",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "center",
|
|
"displayMode": "auto",
|
|
"filterable": true,
|
|
"inspect": false
|
|
},
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"0": {
|
|
"color": "#36cf87",
|
|
"index": 0,
|
|
"text": "执行成功"
|
|
},
|
|
"1": {
|
|
"color": "#ff7d00",
|
|
"index": 1,
|
|
"text": "警告"
|
|
},
|
|
"2": {
|
|
"color": "#f53f3f",
|
|
"index": 2,
|
|
"text": "执行失败"
|
|
},
|
|
"3": {
|
|
"color": "#86909c",
|
|
"index": 3,
|
|
"text": "未运行"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#36cf87",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#ff7d00",
|
|
"value": 86400
|
|
},
|
|
{
|
|
"color": "#f53f3f",
|
|
"value": 172800
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "任务名称"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.displayMode",
|
|
"value": "color-text"
|
|
},
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"match": "regex",
|
|
"pattern": "^Restore_.*"
|
|
},
|
|
"type": "special"
|
|
},
|
|
{
|
|
"options": {
|
|
"Restore_": {
|
|
"color": "#9b59b6"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "任务耗时"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "dtdurations"
|
|
},
|
|
{
|
|
"id": "custom.displayMode",
|
|
"value": "color-text"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "任务状态"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.displayMode",
|
|
"value": "color-text"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "备份大小(GB)"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "decgbytes"
|
|
},
|
|
{
|
|
"id": "decimals",
|
|
"value": 2
|
|
},
|
|
{
|
|
"id": "custom.displayMode",
|
|
"value": "color-text"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "原始数据(GB)"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "decgbytes"
|
|
},
|
|
{
|
|
"id": "decimals",
|
|
"value": 2
|
|
},
|
|
{
|
|
"id": "custom.displayMode",
|
|
"value": "color-text"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "距离上次成功(小时)"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "h"
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#36cf87",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#ff7d00",
|
|
"value": 24
|
|
},
|
|
{
|
|
"color": "#f53f3f",
|
|
"value": 48
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.displayMode",
|
|
"value": "color-text"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "压缩率"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "decimals",
|
|
"value": 2
|
|
},
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"0": {
|
|
"color": "#86909c",
|
|
"text": "无数据"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "上次成功时间"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "dateTimeAsIso"
|
|
},
|
|
{
|
|
"id": "custom.displayMode",
|
|
"value": "color-text"
|
|
},
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"0": {
|
|
"color": "#86909c",
|
|
"text": "从未成功"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 10,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 10
|
|
},
|
|
"id": 10,
|
|
"options": {
|
|
"footer": {
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"field": "距离上次成功(小时)"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "9.1.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "sum by(job_name) (veeam_job_duration_seconds)",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "sum by(job_name) (veeam_job_status)",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "sum by(job_name) (veeam_job_backup_size_gb)",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "sum by(job_name) (veeam_job_data_size_gb)",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "D"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "sum by(job_name) (veeam_job_since_last_success_hours)",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "E"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "sum by(job_name) (veeam_job_last_success_timestamp)",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "F"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "sum by(job_name) (veeam_job_compression_ratio)",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "G"
|
|
}
|
|
],
|
|
"title": "所有任务明细(含完整备份量)",
|
|
"transformations": [
|
|
{
|
|
"id": "labelsToFields",
|
|
"options": {
|
|
"keepLabels": [
|
|
"job_name"
|
|
],
|
|
"valueField": "Value"
|
|
}
|
|
},
|
|
{
|
|
"id": "merge",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"Value #A": false,
|
|
"Value #B": false,
|
|
"Value #C": false,
|
|
"Value #D": false,
|
|
"Value #E": false,
|
|
"Value #F": false,
|
|
"Value #G": false,
|
|
"job_name": false
|
|
},
|
|
"indexByName": {
|
|
"Value #A": 2,
|
|
"Value #B": 1,
|
|
"Value #C": 3,
|
|
"Value #D": 4,
|
|
"Value #E": 5,
|
|
"Value #F": 6,
|
|
"Value #G": 7,
|
|
"job_name": 0
|
|
},
|
|
"renameByName": {
|
|
"Value #A": "任务耗时",
|
|
"Value #B": "任务状态",
|
|
"Value #C": "备份大小(GB)",
|
|
"Value #D": "原始数据(GB)",
|
|
"Value #E": "距离上次成功(小时)",
|
|
"Value #F": "上次成功时间",
|
|
"Value #G": "压缩率",
|
|
"job_name": "任务名称"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 20
|
|
},
|
|
"id": 5,
|
|
"panels": [],
|
|
"title": "备份仓库存储容量(含智能预警)",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "center",
|
|
"displayMode": "auto",
|
|
"filterable": true,
|
|
"inspect": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#f53f3f",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#ff7d00",
|
|
"value": 1024
|
|
},
|
|
{
|
|
"color": "#36cf87",
|
|
"value": 2048
|
|
}
|
|
]
|
|
},
|
|
"unit": "decgbytes"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "剩余空间(GB)"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.displayMode",
|
|
"value": "color-text"
|
|
},
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"0": {
|
|
"color": "#86909c",
|
|
"text": "离线/不可用"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "使用率(%)"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "percent"
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#36cf87",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#ff7d00",
|
|
"value": 70
|
|
},
|
|
{
|
|
"color": "#f53f3f",
|
|
"value": 85
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.displayMode",
|
|
"value": "color-text"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "剩余可用天数"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "d"
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#f53f3f",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#ff7d00",
|
|
"value": 7
|
|
},
|
|
{
|
|
"color": "#36cf87",
|
|
"value": 30
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.displayMode",
|
|
"value": "color-text"
|
|
},
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"999": {
|
|
"color": "#86909c",
|
|
"text": "暂无数据"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 14,
|
|
"x": 0,
|
|
"y": 21
|
|
},
|
|
"id": 16,
|
|
"options": {
|
|
"footer": {
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": false,
|
|
"field": "剩余可用天数"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "9.1.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "sum by(repo_name) (veeam_repo_free_space_gb)",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "sum by(repo_name) (veeam_repo_total_space_gb)",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "sum by(repo_name) (veeam_repo_usage_percent)",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"expr": "sum by(repo_name) (veeam_repo_remaining_days)",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "D"
|
|
}
|
|
],
|
|
"title": "备份仓库容量明细(按剩余天数排序)",
|
|
"transformations": [
|
|
{
|
|
"id": "labelsToFields",
|
|
"options": {
|
|
"keepLabels": [
|
|
"repo_name"
|
|
],
|
|
"valueField": "Value"
|
|
}
|
|
},
|
|
{
|
|
"id": "merge",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"Value #A": false,
|
|
"Value #B": false,
|
|
"Value #C": false,
|
|
"Value #D": false,
|
|
"repo_name": false
|
|
},
|
|
"indexByName": {
|
|
"Value #A": 2,
|
|
"Value #B": 1,
|
|
"Value #C": 3,
|
|
"Value #D": 4,
|
|
"repo_name": 0
|
|
},
|
|
"renameByName": {
|
|
"Value #A": "剩余空间(GB)",
|
|
"Value #B": "总容量(GB)",
|
|
"Value #C": "使用率(%)",
|
|
"Value #D": "剩余可用天数",
|
|
"repo_name": "仓库名称"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "1XIZL9hDz"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "使用率(%)",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "bars",
|
|
"fillOpacity": 70,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "never",
|
|
"spanNulls": true,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#36cf87",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#ff7d00",
|
|
"value": 70
|
|
},
|
|
{
|
|
"color": "#f53f3f",
|
|
"value": 85
|
|
}
|
|
]
|
|
},
|
|
"unit": "percent"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 10,
|
|
"x": 14,
|
|
"y": 21
|
|
},
|
|
"id": 9,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"displayMode": "list",
|
|
"placement": "bottom",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "9.1.2",
|
|
"targets": [
|
|
{
|
|
"expr": "sum by(repo_name) (veeam_repo_usage_percent)",
|
|
"legendFormat": "{{repo_name}} 使用率",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "备份仓库使用率对比",
|
|
"type": "timeseries"
|
|
}
|
|
],
|
|
"refresh": "1m",
|
|
"schemaVersion": 37,
|
|
"style": "dark",
|
|
"tags": [
|
|
"Veeam",
|
|
"企业级",
|
|
"全任务监控",
|
|
"备份量统计"
|
|
],
|
|
"templating": {
|
|
"list": []
|
|
},
|
|
"time": {
|
|
"from": "now-1h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {},
|
|
"timezone": "",
|
|
"title": "Veeam 全任务监控大屏(完整备份量版)",
|
|
"uid": "veeam_monitor_all_jobs_backup_size",
|
|
"version": 3,
|
|
"weekStart": ""
|
|
} |