Grafana dashboard for UPS (Eaton, Riello)
{
"annotations": {
"list": [
{
"$$hashKey": "object:35",
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "Displays monitoring data collected from Riello uninterruptible power supplies via SNMP.",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 12340,
"graphTooltip": 0,
"id": 10,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unitScale": false
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 0
},
"id": 38,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": false,
"sortBy": []
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "upsIdentManufacturer{instance=\"$upsdevice\"}",
"format": "time_series",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"interval": "0",
"legendFormat": "Manufacturer",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "Manufacturer",
"transformations": [
{
"id": "labelsToFields",
"options": {
"keepLabels": [
"upsIdentManufacturer"
],
"mode": "rows"
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"value"
]
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unitScale": false
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "custom.width",
"value": 205
}
]
}
]
},
"gridPos": {
"h": 3,
"w": 3,
"x": 3,
"y": 0
},
"id": 40,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": false,
"sortBy": []
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "upsIdentModel{instance=\"$upsdevice\"}",
"format": "time_series",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Manufacturer",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "Model",
"transformations": [
{
"id": "labelsToFields",
"options": {
"keepLabels": [
"upsIdentModel"
],
"mode": "rows"
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"value"
]
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unitScale": false
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 6,
"y": 0
},
"id": 10,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": false
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "upsBatteryStatus{instance=\"$upsdevice\"}",
"format": "time_series",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "Battery status",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"byVariable": false,
"include": {
"names": [
"Time",
"{__name__=\"upsBatteryStatus\", instance=\"$upsdevice\", job=\"snmp-v2-targets\", upsBatteryStatus=\"batteryDepleted\"}",
"{__name__=\"upsBatteryStatus\", instance=\"$upsdevice\", job=\"snmp-v2-targets\", upsBatteryStatus=\"batteryLow\"}",
"{__name__=\"upsBatteryStatus\", instance=\"$upsdevice\", job=\"snmp-v2-targets\", upsBatteryStatus=\"batteryNormal\"}",
"{__name__=\"upsBatteryStatus\", instance=\"$upsdevice\", job=\"snmp-v2-targets\", upsBatteryStatus=\"unknown\"}"
]
}
}
},
{
"id": "seriesToRows",
"options": {}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "greater",
"options": {
"value": 0
}
},
"fieldName": "Value"
}
],
"match": "any",
"type": "include"
}
},
{
"id": "extractFields",
"options": {
"replace": true,
"source": "Metric"
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"upsBatteryStatus"
]
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "yellow",
"value": null
}
]
},
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 9,
"y": 0
},
"id": 23,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsSecondsOnBattery{instance=\"$upsdevice\"}",
"hide": false,
"instant": false,
"legendFormat": "Seconds on battery",
"range": true,
"refId": "B"
}
],
"title": "Seconds on battery",
"transformations": [],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"decimals": 1,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(245, 54, 54, 0.9)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 10
},
{
"color": "rgba(50, 172, 45, 0.97)",
"value": 20
}
]
},
"unit": "m",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 12,
"y": 0
},
"id": 11,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"lastNotNull"
]
},
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsEstimatedMinutesRemaining{instance=\"$upsdevice\"}",
"instant": true,
"interval": "",
"intervalFactor": 2,
"legendFormat": "",
"metric": "apcupsd_battery_cumulative_time_on_seconds_total",
"refId": "A",
"step": 600
}
],
"title": "Estimated uptime on batteries",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
}
]
},
"unit": "watt",
"unitScale": false
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 0
},
"id": 34,
"links": [],
"maxDataPoints": 100,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "upsOutputPower{instance=\"$upsdevice\", upsOutputLineIndex=\"1\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Line 1",
"metric": "apcupsd_battery_cumulative_time_on_seconds_total",
"refId": "A",
"step": 600,
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsOutputPower {instance=\"$upsdevice\", upsOutputLineIndex=\"2\"}",
"hide": false,
"instant": false,
"legendFormat": "Line 2",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsOutputPower {instance=\"$upsdevice\", upsOutputLineIndex=\"3\"}",
"hide": false,
"instant": false,
"legendFormat": "Line 3",
"range": true,
"refId": "C"
}
],
"title": "UPS load",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unitScale": false
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "custom.width",
"value": 205
}
]
}
]
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 3
},
"id": 39,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": false,
"sortBy": []
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "upsIdentAgentSoftwareVersion{instance=\"$upsdevice\"}",
"format": "time_series",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "Software ver.",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "Software ver.",
"transformations": [
{
"id": "labelsToFields",
"options": {
"keepLabels": [
"upsIdentAgentSoftwareVersion"
],
"mode": "rows"
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"value"
]
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"0": {
"text": "Not Tested"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#d44a3a",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 40
},
{
"color": "#299c46",
"value": 45
}
]
},
"unit": "hertz",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 3,
"y": 3
},
"id": 20,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"lastNotNull"
]
},
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsBypassFrequency{instance=\"$upsdevice\"}/10",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Mains frequency",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"0": {
"text": "No transfers since turnon"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 30
},
{
"color": "#d44a3a",
"value": 35
}
]
},
"unit": "celsius",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 6,
"y": 3
},
"id": 19,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"lastNotNull"
]
},
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsBatteryTemperature{instance=\"$upsdevice\"}",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Battery temperature",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"0": {
"text": "UNKNOWN"
},
"1": {
"text": "OK"
},
"2": {
"text": "FAILED"
},
"3": {
"text": "INVALID"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "yellow",
"value": null
},
{
"color": "green",
"value": 1
},
{
"color": "#EAB839",
"value": 2
}
]
},
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 9,
"y": 3
},
"id": 22,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsTestResultsDetail{instance=\"$upsdevice\"}",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Self-test result",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [
{
"options": {
"1": {
"text": "noTransfer"
},
"2": {
"text": "highLineVoltage"
},
"3": {
"text": "brownout"
},
"4": {
"text": "blackout"
},
"5": {
"text": "smallMomentarySag"
},
"6": {
"text": "deepMomentarySag"
},
"7": {
"text": "smallMomentarySpike"
},
"8": {
"text": "largeMomentarySpike"
},
"9": {
"text": "selfTest"
},
"10": {
"text": "rateOfVoltageChange"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 255, 255)",
"value": null
}
]
},
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 12,
"y": 3
},
"id": 37,
"links": [],
"maxDataPoints": 100,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": false
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsOutputSource{instance=\"$upsdevice\"}",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Output source",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"upsOutputSource{instance=\"$upsdevice\", job=\"snmp-v3-targets\", upsOutputSource=\"battery\"}",
"upsOutputSource{instance=\"$upsdevice\", job=\"snmp-v3-targets\", upsOutputSource=\"booster\"}",
"upsOutputSource{instance=\"$upsdevice\", job=\"snmp-v3-targets\", upsOutputSource=\"bypass\"}",
"upsOutputSource{instance=\"$upsdevice\", job=\"snmp-v3-targets\", upsOutputSource=\"none\"}",
"upsOutputSource{instance=\"$upsdevice\", job=\"snmp-v3-targets\", upsOutputSource=\"normal\"}",
"upsOutputSource{instance=\"$upsdevice\", job=\"snmp-v3-targets\", upsOutputSource=\"other\"}",
"upsOutputSource{instance=\"$upsdevice\", job=\"snmp-v3-targets\", upsOutputSource=\"reducer\"}",
"Time"
]
}
}
},
{
"id": "seriesToRows",
"options": {}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "greater",
"options": {
"value": 0
}
},
"fieldName": "Value"
}
],
"match": "any",
"type": "include"
}
},
{
"id": "filterFieldsByName",
"options": {
"byVariable": false,
"include": {
"names": [
"Metric"
]
}
}
},
{
"id": "extractFields",
"options": {
"source": "Metric"
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"upsOutputSource"
]
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 65
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 80
}
]
},
"unit": "percent",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 0,
"y": 6
},
"id": 15,
"links": [],
"maxDataPoints": 100,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "upsOutputPercentLoad{instance=\"$upsdevice\", upsOutputLineIndex=\"1\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Line 1",
"metric": "apcupsd_battery_cumulative_time_on_seconds_total",
"refId": "A",
"step": 600,
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsOutputPercentLoad {instance=\"$upsdevice\", upsOutputLineIndex=\"2\"}",
"hide": false,
"instant": false,
"legendFormat": "Line 2",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsOutputPercentLoad {instance=\"$upsdevice\", upsOutputLineIndex=\"3\"}",
"hide": false,
"instant": false,
"legendFormat": "Line 3",
"range": true,
"refId": "C"
}
],
"title": "UPS load",
"type": "gauge"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 10
},
"id": 31,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"refId": "A"
}
],
"title": "Battery",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "volt",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 11
},
"id": 2,
"links": [],
"options": {
"legend": {
"calcs": [
"last"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsBatteryVoltage{instance=\"$upsdevice\"}/10",
"interval": "",
"intervalFactor": 2,
"legendFormat": "actual",
"metric": "apcupsd_battery_nominal_volts",
"range": true,
"refId": "A",
"step": 120
}
],
"title": "Voltage",
"type": "timeseries"
},
{
"aliasColors": {
"upsAdvBatteryTemperature{instance=\"127.0.0.1\", job=\"snmp\"}": "red"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"links": [],
"unitScale": true
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 11
},
"hiddenSeries": false,
"id": 25,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.3.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsBatteryTemperature{instance=\"$upsdevice\"}",
"interval": "",
"legendFormat": "",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Temperature",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:313",
"format": "celsius",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:314",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"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"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 11
},
"id": 29,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsBatteryCurrent{instance=\"$upsdevice\"}",
"interval": "",
"legendFormat": "",
"range": true,
"refId": "A"
}
],
"title": "Battery current",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 18
},
"id": 33,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"refId": "A"
}
],
"title": "AC and load",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "volt",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 19
},
"id": 3,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "upsInputVoltage{instance=\"$upsdevice\", upsInputLineIndex=\"1\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Input line 1",
"metric": "apcupsd_battery_nominal_volts",
"range": true,
"refId": "A",
"step": 120,
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsInputVoltage {instance=\"$upsdevice\", upsInputLineIndex=\"2\"}",
"interval": "",
"legendFormat": "Input line 2",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsInputVoltage {instance=\"$upsdevice\", upsInputLineIndex=\"3\"}",
"hide": false,
"instant": false,
"legendFormat": "Input line 3",
"range": true,
"refId": "C"
}
],
"title": "Voltage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "volt",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 19
},
"id": 26,
"options": {
"legend": {
"calcs": [
"last"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "upsOutputVoltage{instance=\"$upsdevice\", upsOutputLineIndex=\"1\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"interval": "",
"legendFormat": "Output line 1",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsOutputVoltage {instance=\"$upsdevice\", upsOutputLineIndex=\"2\"}",
"hide": false,
"instant": false,
"legendFormat": "Output line 2",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsOutputVoltage {instance=\"$upsdevice\", upsOutputLineIndex=\"3\"}",
"hide": false,
"instant": false,
"legendFormat": "Output line 3",
"range": true,
"refId": "C"
}
],
"title": "Output voltage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "watt",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 26
},
"id": 36,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "upsOutputPower{instance=\"$upsdevice\", upsOutputLineIndex=\"1\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"interval": "",
"legendFormat": "Output line 1",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsOutputPower{instance=\"$upsdevice\", upsOutputLineIndex=\"2\"}",
"hide": false,
"instant": false,
"legendFormat": "Output line 2",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsOutputPower{instance=\"$upsdevice\", upsOutputLineIndex=\"3\"}",
"hide": false,
"instant": false,
"legendFormat": "Output line 3",
"range": true,
"refId": "C"
}
],
"title": "Output power",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "amp",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 26
},
"id": 35,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "upsOutputCurrent{instance=\"$upsdevice\", upsOutputLineIndex=\"1\"}/10",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"interval": "",
"legendFormat": "Output line 1",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsOutputCurrent{instance=\"$upsdevice\", upsOutputLineIndex=\"2\"}/10",
"hide": false,
"instant": false,
"legendFormat": "Output line 2",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsOutputCurrent{instance=\"$upsdevice\", upsOutputLineIndex=\"3\"}/10",
"hide": false,
"instant": false,
"legendFormat": "Output line 3",
"range": true,
"refId": "C"
}
],
"title": "Output current",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "watt",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 33
},
"id": 42,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "upsBypassPower{instance=\"$upsdevice\", upsBypassLineIndex=\"1\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"interval": "",
"legendFormat": "Bypass line 1",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsBypassPower {instance=\"$upsdevice\", upsBypassLineIndex=\"2\"}",
"hide": false,
"instant": false,
"legendFormat": "Bypass line 2",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsBypassPower {instance=\"$upsdevice\", upsBypassLineIndex=\"3\"}",
"hide": false,
"instant": false,
"legendFormat": "Bypass line 3",
"range": true,
"refId": "C"
}
],
"title": "Bypass power",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "amp",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 33
},
"id": 41,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "upsBypassCurrent{instance=\"$upsdevice\", upsBypassLineIndex=\"1\"} / 10",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"interval": "",
"legendFormat": "Output line 1",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsBypassCurrent{instance=\"$upsdevice\", upsBypassLineIndex=\"2\"} / 10",
"hide": false,
"instant": false,
"legendFormat": "Output line 2",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsBypassCurrent{instance=\"$upsdevice\", upsBypassLineIndex=\"3\"} / 10",
"hide": false,
"instant": false,
"legendFormat": "Output line 3",
"range": true,
"refId": "C"
}
],
"title": "Bypass current",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "volt",
"unitScale": true
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 40
},
"id": 43,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "upsBypassVoltage{instance=\"$upsdevice\", upsBypassLineIndex=\"1\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"interval": "",
"legendFormat": "Bypass line 1",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsBypassVoltage{instance=\"$upsdevice\", upsBypassLineIndex=\"2\"}",
"hide": false,
"instant": false,
"legendFormat": "Bypass line 2",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"editorMode": "code",
"expr": "upsBypassVoltage{instance=\"$upsdevice\", upsBypassLineIndex=\"3\"}",
"hide": false,
"instant": false,
"legendFormat": "Bypass line 3",
"range": true,
"refId": "C"
}
],
"title": "Bypass voltage",
"type": "timeseries"
}
],
"refresh": "",
"schemaVersion": 39,
"tags": [
"UPS"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "172.21.1.119",
"value": "172.21.1.119"
},
"datasource": {
"type": "prometheus",
"uid": "b12cbe4b-de47-4a92-b146-84d55876fee6"
},
"definition": "label_values(upsIdentModel,instance)",
"hide": 0,
"includeAll": false,
"label": "Device",
"multi": false,
"name": "upsdevice",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(upsIdentModel,instance)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timeRangeUpdatedDuringEditOrView": false,
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "RIELLO UPS (SNMP)",
"uid": "UPS_SNMP_RIELLO",
"version": 91,
"weekStart": ""
}
Comentarii
Trimiteți un comentariu