update ups grafana [ci skip]

This commit is contained in:
Viktor Barzin 2024-12-17 19:22:08 +00:00
parent 23a882a3d5
commit e6aa28be1c
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863

View file

@ -26,26 +26,34 @@
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "System uptime",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"decimals": 1,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 1
},
{
"color": "green",
"value": 2
"color": "red",
"value": 80
}
]
},
@ -59,11 +67,15 @@
"x": 0,
"y": 0
},
"id": 2,
"hideTimeOverride": true,
"id": 16,
"maxDataPoints": 100,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@ -71,9 +83,9 @@
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.1.0",
"targets": [
@ -86,7 +98,6 @@
"editorMode": "builder",
"expr": "ups_sysUpTime / 100",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "__auto",
@ -95,8 +106,8 @@
"useBackend": false
}
],
"title": "System Uptime",
"type": "gauge"
"title": "Uptime",
"type": "stat"
},
{
"datasource": {
@ -549,7 +560,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "ups_upsBatteryCurrent",
"expr": "ups_upsBatteryCurrent / 1000000000",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
@ -581,7 +592,8 @@
"value": null
}
]
}
},
"unit": "volt"
},
"overrides": []
},
@ -616,7 +628,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "ups_upsBatteryVoltage",
"expr": "ups_upsBatteryVoltage / 10",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
@ -746,6 +758,8 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMax": 235,
"axisSoftMin": 225,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@ -830,205 +844,6 @@
"title": "Output Voltage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 13
},
"id": 7,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "ups_upsBypassFrequency / 10",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Bypass Frequency",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "amp"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 13
},
"id": 12,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "ups_upsOutputCurrent",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Output Current",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
@ -1093,7 +908,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 21
"y": 13
},
"id": 5,
"options": {
@ -1184,7 +999,8 @@
"value": 80
}
]
}
},
"unit": "amp"
},
"overrides": []
},
@ -1192,9 +1008,9 @@
"h": 8,
"w": 12,
"x": 12,
"y": 21
"y": 13
},
"id": 8,
"id": 12,
"options": {
"legend": {
"calcs": [],
@ -1215,7 +1031,7 @@
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "ups_upsBypassVoltage",
"expr": "ups_upsOutputCurrent / 10",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
@ -1225,11 +1041,11 @@
"useBackend": false
}
],
"title": "Bypass Voltage",
"title": "Output Current",
"type": "timeseries"
}
],
"refresh": "",
"refresh": "auto",
"schemaVersion": 39,
"tags": [],
"templating": {
@ -1243,6 +1059,6 @@
"timezone": "browser",
"title": "Huawei UPS 2000",
"uid": "ee70yskqw5u68f",
"version": 7,
"version": 11,
"weekStart": ""
}