From ac7cd21d7ff3c6c784f38e8ec6faf8eee979b38d Mon Sep 17 00:00:00 2001 From: admin <605696661@qq.com> Date: Wed, 27 May 2026 16:24:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20veeam=E6=9C=80=E7=BB=88?= =?UTF-8?q?=E7=89=88.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- veeam最终版.json | 1236 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1236 insertions(+) create mode 100644 veeam最终版.json diff --git a/veeam最终版.json b/veeam最终版.json new file mode 100644 index 0000000..651add8 --- /dev/null +++ b/veeam最终版.json @@ -0,0 +1,1236 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "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": 46, + "links": [], + "liveNow": false, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "1XIZL9hDz" + }, + "gridPos": { + "h": 3, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 100, + "options": { + "content": "
VEEAM 备份系统监控中心
", + "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": 4, + "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": 4, + "x": 4, + "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": 4, + "x": 8, + "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": 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": 4, + "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": 4, + "x": 16, + "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": 4, + "x": 20, + "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": "unit", + "value": "dtdurations" + }, + { + "id": "custom.displayMode", + "value": "color-text" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "作业状态" + }, + "properties": [ + { + "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 + } + ] + }, + { + "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": 14, + "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_last_success_timestamp * 1000)", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "1XIZL9hDz" + }, + "expr": "sum by(job_name) (veeam_job_since_last_success_hours)", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "1XIZL9hDz" + }, + "expr": "sum by(job_name) (veeam_job_compression_ratio)", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "E" + } + ], + "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, + "job_name": false + }, + "indexByName": { + "Value #A": 2, + "Value #B": 1, + "Value #C": 4, + "Value #D": 3, + "Value #E": 5, + "job_name": 0 + }, + "renameByName": { + "Value #A": "作业耗时", + "Value #B": "作业状态", + "Value #C": "上次成功时间", + "Value #D": "距离上次成功(小时)", + "Value #E": "压缩率", + "job_name": "作业名称" + } + } + } + ], + "type": "table" + }, + { + "datasource": { + "type": "prometheus", + "uid": "1XIZL9hDz" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "耗时(秒)", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 75, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#36cf87", + "value": null + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 10, + "x": 14, + "y": 10 + }, + "id": 12, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.1.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "1XIZL9hDz" + }, + "expr": "sum by(job_name) (veeam_job_duration_seconds)", + "interval": "", + "legendFormat": "{{job_name}}", + "refId": "A" + } + ], + "title": "各作业耗时柱状对比", + "type": "timeseries" + }, + { + "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" + } + ] + }, + { + "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" + } + ] + } + ] + }, + "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 Backup 企业级监控大屏(最终修复版2)", + "uid": "veeam_monitor_final2", + "version": 1, + "weekStart": "" +} \ No newline at end of file