Created
December 31, 2019 17:05
-
-
Save bgulla/b40c096ca6bbcedc147f312c7cddfac4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "annotations": { | |
| "list": [ | |
| { | |
| "builtIn": 1, | |
| "datasource": "-- Grafana --", | |
| "enable": true, | |
| "hide": true, | |
| "iconColor": "rgba(0, 211, 255, 1)", | |
| "name": "Annotations & Alerts", | |
| "type": "dashboard" | |
| } | |
| ] | |
| }, | |
| "editable": true, | |
| "gnetId": null, | |
| "graphTooltip": 0, | |
| "id": 3, | |
| "iteration": 1576607929559, | |
| "links": [], | |
| "panels": [ | |
| { | |
| "collapsed": false, | |
| "datasource": null, | |
| "gridPos": { | |
| "h": 1, | |
| "w": 24, | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "id": 4, | |
| "panels": [], | |
| "repeat": "apcupsd_host", | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "edge", | |
| "value": "edge" | |
| } | |
| }, | |
| "title": "$apcupsd_host", | |
| "type": "row" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "content": "# $apcupsd_host\n\n", | |
| "datasource": "InfluxDB-apcupsd", | |
| "gridPos": { | |
| "h": 5, | |
| "w": 2, | |
| "x": 0, | |
| "y": 1 | |
| }, | |
| "id": 8, | |
| "links": [], | |
| "mode": "markdown", | |
| "options": {}, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "edge", | |
| "value": "edge" | |
| } | |
| }, | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Host", | |
| "type": "text" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "colorBackground": true, | |
| "colorPostfix": false, | |
| "colorPrefix": false, | |
| "colorValue": true, | |
| "colors": [ | |
| "#d44a3a", | |
| "rgba(237, 129, 40, 0.89)", | |
| "#73BF69" | |
| ], | |
| "datasource": "InfluxDB-apcupsd", | |
| "decimals": null, | |
| "description": "", | |
| "format": "none", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 3, | |
| "x": 2, | |
| "y": 1 | |
| }, | |
| "id": 6, | |
| "interval": null, | |
| "links": [], | |
| "mappingType": 1, | |
| "mappingTypes": [ | |
| { | |
| "name": "value to text", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "range to text", | |
| "value": 2 | |
| } | |
| ], | |
| "maxDataPoints": 100, | |
| "nullPointMode": "connected", | |
| "nullText": null, | |
| "options": {}, | |
| "pluginVersion": "6.5.1", | |
| "postfix": "", | |
| "postfixFontSize": "50%", | |
| "prefix": "", | |
| "prefixFontSize": "50%", | |
| "rangeMaps": [ | |
| { | |
| "from": "null", | |
| "text": "N/A", | |
| "to": "null" | |
| } | |
| ], | |
| "repeat": null, | |
| "repeatDirection": null, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "edge", | |
| "value": "edge" | |
| } | |
| }, | |
| "sparkline": { | |
| "fillColor": "rgba(31, 118, 189, 0.18)", | |
| "full": false, | |
| "lineColor": "rgb(31, 120, 193)", | |
| "show": false, | |
| "ymax": null, | |
| "ymin": null | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "table", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "STATUS" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": "ONLINE, OFFLINE, FAIL", | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "$apcupsd_host Status", | |
| "type": "singlestat", | |
| "valueFontSize": "120%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "ONLINE", | |
| "value": "ONLINE" | |
| } | |
| ], | |
| "valueName": "current" | |
| }, | |
| { | |
| "datasource": "InfluxDB-apcupsd", | |
| "gridPos": { | |
| "h": 5, | |
| "w": 3, | |
| "x": 5, | |
| "y": 1 | |
| }, | |
| "id": 16, | |
| "options": { | |
| "fieldOptions": { | |
| "calcs": [ | |
| "lastNotNull" | |
| ], | |
| "defaults": { | |
| "mappings": [], | |
| "max": 100, | |
| "min": 0, | |
| "thresholds": [ | |
| { | |
| "color": "green", | |
| "value": null | |
| }, | |
| { | |
| "color": "red", | |
| "value": 80 | |
| } | |
| ], | |
| "title": "", | |
| "unit": "percent" | |
| }, | |
| "override": {}, | |
| "values": false | |
| }, | |
| "orientation": "auto", | |
| "showThresholdLabels": true, | |
| "showThresholdMarkers": true | |
| }, | |
| "pluginVersion": "6.5.1", | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "edge", | |
| "value": "edge" | |
| } | |
| }, | |
| "targets": [ | |
| { | |
| "alias": "Load", | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "LOADPCT" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "UPS Load", | |
| "type": "gauge" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "colorBackground": false, | |
| "colorPostfix": false, | |
| "colorPrefix": false, | |
| "colorValue": false, | |
| "colors": [ | |
| "#299c46", | |
| "rgba(237, 129, 40, 0.89)", | |
| "#d44a3a" | |
| ], | |
| "datasource": "InfluxDB-apcupsd", | |
| "format": "none", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 3, | |
| "x": 8, | |
| "y": 1 | |
| }, | |
| "id": 2, | |
| "interval": null, | |
| "links": [], | |
| "mappingType": 1, | |
| "mappingTypes": [ | |
| { | |
| "name": "value to text", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "range to text", | |
| "value": 2 | |
| } | |
| ], | |
| "maxDataPoints": 100, | |
| "nullPointMode": "connected", | |
| "nullText": null, | |
| "options": {}, | |
| "pluginVersion": "6.5.1", | |
| "postfix": "", | |
| "postfixFontSize": "50%", | |
| "prefix": "", | |
| "prefixFontSize": "50%", | |
| "rangeMaps": [ | |
| { | |
| "from": "null", | |
| "text": "N/A", | |
| "to": "null" | |
| } | |
| ], | |
| "repeat": null, | |
| "repeatDirection": null, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "edge", | |
| "value": "edge" | |
| } | |
| }, | |
| "sparkline": { | |
| "fillColor": "rgb(41, 41, 43)", | |
| "full": false, | |
| "lineColor": "#5794F2", | |
| "show": true, | |
| "ymax": null, | |
| "ymin": null | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "WATTS" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": "", | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Consumption (watts)", | |
| "type": "singlestat", | |
| "valueFontSize": "200%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "N/A", | |
| "value": "null" | |
| } | |
| ], | |
| "valueName": "current" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "InfluxDB-apcupsd", | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 4, | |
| "x": 11, | |
| "y": 1 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 10, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "nullPointMode": "null", | |
| "options": { | |
| "dataLinks": [] | |
| }, | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "edge", | |
| "value": "edge" | |
| } | |
| }, | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "Load", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$__interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "linear" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "LOADPCT" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Load (%)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percent", | |
| "label": "Load", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": "", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "InfluxDB-apcupsd", | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 4, | |
| "x": 15, | |
| "y": 1 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 14, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "nullPointMode": "null", | |
| "options": { | |
| "dataLinks": [] | |
| }, | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "edge", | |
| "value": "edge" | |
| } | |
| }, | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "Time Left (min)", | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "TIMELEFT" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Time Left on Battery (minutes)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "InfluxDB-apcupsd", | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 4, | |
| "x": 19, | |
| "y": 1 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 12, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "nullPointMode": "null", | |
| "options": { | |
| "dataLinks": [] | |
| }, | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "edge", | |
| "value": "edge" | |
| } | |
| }, | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "Battery Charge %", | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "BCHARGE" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Battery Charge (%)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": "Charge", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "collapsed": false, | |
| "datasource": null, | |
| "gridPos": { | |
| "h": 1, | |
| "w": 24, | |
| "x": 0, | |
| "y": 6 | |
| }, | |
| "id": 17, | |
| "panels": [], | |
| "repeat": null, | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 4, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "mancavepi", | |
| "value": "mancavepi" | |
| } | |
| }, | |
| "title": "$apcupsd_host", | |
| "type": "row" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "content": "# $apcupsd_host\n\n", | |
| "datasource": "InfluxDB-apcupsd", | |
| "gridPos": { | |
| "h": 5, | |
| "w": 2, | |
| "x": 0, | |
| "y": 7 | |
| }, | |
| "id": 18, | |
| "links": [], | |
| "mode": "markdown", | |
| "options": {}, | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 8, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "mancavepi", | |
| "value": "mancavepi" | |
| } | |
| }, | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Host", | |
| "type": "text" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "colorBackground": true, | |
| "colorPostfix": false, | |
| "colorPrefix": false, | |
| "colorValue": true, | |
| "colors": [ | |
| "#d44a3a", | |
| "rgba(237, 129, 40, 0.89)", | |
| "#73BF69" | |
| ], | |
| "datasource": "InfluxDB-apcupsd", | |
| "decimals": null, | |
| "description": "", | |
| "format": "none", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 3, | |
| "x": 2, | |
| "y": 7 | |
| }, | |
| "id": 19, | |
| "interval": null, | |
| "links": [], | |
| "mappingType": 1, | |
| "mappingTypes": [ | |
| { | |
| "name": "value to text", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "range to text", | |
| "value": 2 | |
| } | |
| ], | |
| "maxDataPoints": 100, | |
| "nullPointMode": "connected", | |
| "nullText": null, | |
| "options": {}, | |
| "pluginVersion": "6.5.1", | |
| "postfix": "", | |
| "postfixFontSize": "50%", | |
| "prefix": "", | |
| "prefixFontSize": "50%", | |
| "rangeMaps": [ | |
| { | |
| "from": "null", | |
| "text": "N/A", | |
| "to": "null" | |
| } | |
| ], | |
| "repeat": null, | |
| "repeatDirection": null, | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 6, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "mancavepi", | |
| "value": "mancavepi" | |
| } | |
| }, | |
| "sparkline": { | |
| "fillColor": "rgba(31, 118, 189, 0.18)", | |
| "full": false, | |
| "lineColor": "rgb(31, 120, 193)", | |
| "show": false, | |
| "ymax": null, | |
| "ymin": null | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "table", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "STATUS" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": "ONLINE, OFFLINE, FAIL", | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "$apcupsd_host Status", | |
| "type": "singlestat", | |
| "valueFontSize": "120%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "ONLINE", | |
| "value": "ONLINE" | |
| } | |
| ], | |
| "valueName": "current" | |
| }, | |
| { | |
| "datasource": "InfluxDB-apcupsd", | |
| "gridPos": { | |
| "h": 5, | |
| "w": 3, | |
| "x": 5, | |
| "y": 7 | |
| }, | |
| "id": 20, | |
| "options": { | |
| "fieldOptions": { | |
| "calcs": [ | |
| "lastNotNull" | |
| ], | |
| "defaults": { | |
| "mappings": [], | |
| "max": 100, | |
| "min": 0, | |
| "thresholds": [ | |
| { | |
| "color": "green", | |
| "value": null | |
| }, | |
| { | |
| "color": "red", | |
| "value": 80 | |
| } | |
| ], | |
| "title": "", | |
| "unit": "percent" | |
| }, | |
| "override": {}, | |
| "values": false | |
| }, | |
| "orientation": "auto", | |
| "showThresholdLabels": true, | |
| "showThresholdMarkers": true | |
| }, | |
| "pluginVersion": "6.5.1", | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 16, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "mancavepi", | |
| "value": "mancavepi" | |
| } | |
| }, | |
| "targets": [ | |
| { | |
| "alias": "Load", | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "LOADPCT" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "UPS Load", | |
| "type": "gauge" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "colorBackground": false, | |
| "colorPostfix": false, | |
| "colorPrefix": false, | |
| "colorValue": false, | |
| "colors": [ | |
| "#299c46", | |
| "rgba(237, 129, 40, 0.89)", | |
| "#d44a3a" | |
| ], | |
| "datasource": "InfluxDB-apcupsd", | |
| "format": "none", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 3, | |
| "x": 8, | |
| "y": 7 | |
| }, | |
| "id": 21, | |
| "interval": null, | |
| "links": [], | |
| "mappingType": 1, | |
| "mappingTypes": [ | |
| { | |
| "name": "value to text", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "range to text", | |
| "value": 2 | |
| } | |
| ], | |
| "maxDataPoints": 100, | |
| "nullPointMode": "connected", | |
| "nullText": null, | |
| "options": {}, | |
| "pluginVersion": "6.5.1", | |
| "postfix": "", | |
| "postfixFontSize": "50%", | |
| "prefix": "", | |
| "prefixFontSize": "50%", | |
| "rangeMaps": [ | |
| { | |
| "from": "null", | |
| "text": "N/A", | |
| "to": "null" | |
| } | |
| ], | |
| "repeat": null, | |
| "repeatDirection": null, | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 2, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "mancavepi", | |
| "value": "mancavepi" | |
| } | |
| }, | |
| "sparkline": { | |
| "fillColor": "rgb(41, 41, 43)", | |
| "full": false, | |
| "lineColor": "#5794F2", | |
| "show": true, | |
| "ymax": null, | |
| "ymin": null | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "WATTS" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": "", | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Consumption (watts)", | |
| "type": "singlestat", | |
| "valueFontSize": "200%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "N/A", | |
| "value": "null" | |
| } | |
| ], | |
| "valueName": "current" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "InfluxDB-apcupsd", | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 4, | |
| "x": 11, | |
| "y": 7 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 22, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "nullPointMode": "null", | |
| "options": { | |
| "dataLinks": [] | |
| }, | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 10, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "mancavepi", | |
| "value": "mancavepi" | |
| } | |
| }, | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "Load", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$__interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "linear" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "LOADPCT" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Load (%)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percent", | |
| "label": "Load", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": "", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "InfluxDB-apcupsd", | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 4, | |
| "x": 15, | |
| "y": 7 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 23, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "nullPointMode": "null", | |
| "options": { | |
| "dataLinks": [] | |
| }, | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 14, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "mancavepi", | |
| "value": "mancavepi" | |
| } | |
| }, | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "Time Left (min)", | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "TIMELEFT" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Time Left on Battery (minutes)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "InfluxDB-apcupsd", | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 4, | |
| "x": 19, | |
| "y": 7 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 24, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "nullPointMode": "null", | |
| "options": { | |
| "dataLinks": [] | |
| }, | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 12, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "mancavepi", | |
| "value": "mancavepi" | |
| } | |
| }, | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "Battery Charge %", | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "BCHARGE" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Battery Charge (%)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": "Charge", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "collapsed": false, | |
| "datasource": null, | |
| "gridPos": { | |
| "h": 1, | |
| "w": 24, | |
| "x": 0, | |
| "y": 12 | |
| }, | |
| "id": 25, | |
| "panels": [], | |
| "repeat": null, | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 4, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "officepi", | |
| "value": "officepi" | |
| } | |
| }, | |
| "title": "$apcupsd_host", | |
| "type": "row" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "content": "# $apcupsd_host\n\n", | |
| "datasource": "InfluxDB-apcupsd", | |
| "gridPos": { | |
| "h": 5, | |
| "w": 2, | |
| "x": 0, | |
| "y": 13 | |
| }, | |
| "id": 26, | |
| "links": [], | |
| "mode": "markdown", | |
| "options": {}, | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 8, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "officepi", | |
| "value": "officepi" | |
| } | |
| }, | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Host", | |
| "type": "text" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "colorBackground": true, | |
| "colorPostfix": false, | |
| "colorPrefix": false, | |
| "colorValue": true, | |
| "colors": [ | |
| "#d44a3a", | |
| "rgba(237, 129, 40, 0.89)", | |
| "#73BF69" | |
| ], | |
| "datasource": "InfluxDB-apcupsd", | |
| "decimals": null, | |
| "description": "", | |
| "format": "none", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 3, | |
| "x": 2, | |
| "y": 13 | |
| }, | |
| "id": 27, | |
| "interval": null, | |
| "links": [], | |
| "mappingType": 1, | |
| "mappingTypes": [ | |
| { | |
| "name": "value to text", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "range to text", | |
| "value": 2 | |
| } | |
| ], | |
| "maxDataPoints": 100, | |
| "nullPointMode": "connected", | |
| "nullText": null, | |
| "options": {}, | |
| "pluginVersion": "6.5.1", | |
| "postfix": "", | |
| "postfixFontSize": "50%", | |
| "prefix": "", | |
| "prefixFontSize": "50%", | |
| "rangeMaps": [ | |
| { | |
| "from": "null", | |
| "text": "N/A", | |
| "to": "null" | |
| } | |
| ], | |
| "repeat": null, | |
| "repeatDirection": null, | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 6, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "officepi", | |
| "value": "officepi" | |
| } | |
| }, | |
| "sparkline": { | |
| "fillColor": "rgba(31, 118, 189, 0.18)", | |
| "full": false, | |
| "lineColor": "rgb(31, 120, 193)", | |
| "show": false, | |
| "ymax": null, | |
| "ymin": null | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "table", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "STATUS" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": "ONLINE, OFFLINE, FAIL", | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "$apcupsd_host Status", | |
| "type": "singlestat", | |
| "valueFontSize": "120%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "ONLINE", | |
| "value": "ONLINE" | |
| } | |
| ], | |
| "valueName": "current" | |
| }, | |
| { | |
| "datasource": "InfluxDB-apcupsd", | |
| "gridPos": { | |
| "h": 5, | |
| "w": 3, | |
| "x": 5, | |
| "y": 13 | |
| }, | |
| "id": 28, | |
| "options": { | |
| "fieldOptions": { | |
| "calcs": [ | |
| "lastNotNull" | |
| ], | |
| "defaults": { | |
| "mappings": [], | |
| "max": 100, | |
| "min": 0, | |
| "thresholds": [ | |
| { | |
| "color": "green", | |
| "value": null | |
| }, | |
| { | |
| "color": "red", | |
| "value": 80 | |
| } | |
| ], | |
| "title": "", | |
| "unit": "percent" | |
| }, | |
| "override": {}, | |
| "values": false | |
| }, | |
| "orientation": "auto", | |
| "showThresholdLabels": true, | |
| "showThresholdMarkers": true | |
| }, | |
| "pluginVersion": "6.5.1", | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 16, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "officepi", | |
| "value": "officepi" | |
| } | |
| }, | |
| "targets": [ | |
| { | |
| "alias": "Load", | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "LOADPCT" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "UPS Load", | |
| "type": "gauge" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "colorBackground": false, | |
| "colorPostfix": false, | |
| "colorPrefix": false, | |
| "colorValue": false, | |
| "colors": [ | |
| "#299c46", | |
| "rgba(237, 129, 40, 0.89)", | |
| "#d44a3a" | |
| ], | |
| "datasource": "InfluxDB-apcupsd", | |
| "format": "none", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 3, | |
| "x": 8, | |
| "y": 13 | |
| }, | |
| "id": 29, | |
| "interval": null, | |
| "links": [], | |
| "mappingType": 1, | |
| "mappingTypes": [ | |
| { | |
| "name": "value to text", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "range to text", | |
| "value": 2 | |
| } | |
| ], | |
| "maxDataPoints": 100, | |
| "nullPointMode": "connected", | |
| "nullText": null, | |
| "options": {}, | |
| "pluginVersion": "6.5.1", | |
| "postfix": "", | |
| "postfixFontSize": "50%", | |
| "prefix": "", | |
| "prefixFontSize": "50%", | |
| "rangeMaps": [ | |
| { | |
| "from": "null", | |
| "text": "N/A", | |
| "to": "null" | |
| } | |
| ], | |
| "repeat": null, | |
| "repeatDirection": null, | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 2, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "officepi", | |
| "value": "officepi" | |
| } | |
| }, | |
| "sparkline": { | |
| "fillColor": "rgb(41, 41, 43)", | |
| "full": false, | |
| "lineColor": "#5794F2", | |
| "show": true, | |
| "ymax": null, | |
| "ymin": null | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "WATTS" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": "", | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Consumption (watts)", | |
| "type": "singlestat", | |
| "valueFontSize": "200%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "N/A", | |
| "value": "null" | |
| } | |
| ], | |
| "valueName": "current" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "InfluxDB-apcupsd", | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 4, | |
| "x": 11, | |
| "y": 13 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 30, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "nullPointMode": "null", | |
| "options": { | |
| "dataLinks": [] | |
| }, | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 10, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "officepi", | |
| "value": "officepi" | |
| } | |
| }, | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "Load", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$__interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "linear" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "LOADPCT" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Load (%)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percent", | |
| "label": "Load", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": "", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "InfluxDB-apcupsd", | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 4, | |
| "x": 15, | |
| "y": 13 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 31, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "nullPointMode": "null", | |
| "options": { | |
| "dataLinks": [] | |
| }, | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 14, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "officepi", | |
| "value": "officepi" | |
| } | |
| }, | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "Time Left (min)", | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "TIMELEFT" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Time Left on Battery (minutes)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "InfluxDB-apcupsd", | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 4, | |
| "x": 19, | |
| "y": 13 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 32, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "nullPointMode": "null", | |
| "options": { | |
| "dataLinks": [] | |
| }, | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 12, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "officepi", | |
| "value": "officepi" | |
| } | |
| }, | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "Battery Charge %", | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "BCHARGE" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Battery Charge (%)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": "Charge", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "collapsed": false, | |
| "datasource": null, | |
| "gridPos": { | |
| "h": 1, | |
| "w": 24, | |
| "x": 0, | |
| "y": 18 | |
| }, | |
| "id": 33, | |
| "panels": [], | |
| "repeat": null, | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 4, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "pi4", | |
| "value": "pi4" | |
| } | |
| }, | |
| "title": "$apcupsd_host", | |
| "type": "row" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "content": "# $apcupsd_host\n\n", | |
| "datasource": "InfluxDB-apcupsd", | |
| "gridPos": { | |
| "h": 5, | |
| "w": 2, | |
| "x": 0, | |
| "y": 19 | |
| }, | |
| "id": 34, | |
| "links": [], | |
| "mode": "markdown", | |
| "options": {}, | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 8, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "pi4", | |
| "value": "pi4" | |
| } | |
| }, | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Host", | |
| "type": "text" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "colorBackground": true, | |
| "colorPostfix": false, | |
| "colorPrefix": false, | |
| "colorValue": true, | |
| "colors": [ | |
| "#d44a3a", | |
| "rgba(237, 129, 40, 0.89)", | |
| "#73BF69" | |
| ], | |
| "datasource": "InfluxDB-apcupsd", | |
| "decimals": null, | |
| "description": "", | |
| "format": "none", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 3, | |
| "x": 2, | |
| "y": 19 | |
| }, | |
| "id": 35, | |
| "interval": null, | |
| "links": [], | |
| "mappingType": 1, | |
| "mappingTypes": [ | |
| { | |
| "name": "value to text", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "range to text", | |
| "value": 2 | |
| } | |
| ], | |
| "maxDataPoints": 100, | |
| "nullPointMode": "connected", | |
| "nullText": null, | |
| "options": {}, | |
| "pluginVersion": "6.5.1", | |
| "postfix": "", | |
| "postfixFontSize": "50%", | |
| "prefix": "", | |
| "prefixFontSize": "50%", | |
| "rangeMaps": [ | |
| { | |
| "from": "null", | |
| "text": "N/A", | |
| "to": "null" | |
| } | |
| ], | |
| "repeat": null, | |
| "repeatDirection": null, | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 6, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "pi4", | |
| "value": "pi4" | |
| } | |
| }, | |
| "sparkline": { | |
| "fillColor": "rgba(31, 118, 189, 0.18)", | |
| "full": false, | |
| "lineColor": "rgb(31, 120, 193)", | |
| "show": false, | |
| "ymax": null, | |
| "ymin": null | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "table", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "STATUS" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": "ONLINE, OFFLINE, FAIL", | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "$apcupsd_host Status", | |
| "type": "singlestat", | |
| "valueFontSize": "120%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "ONLINE", | |
| "value": "ONLINE" | |
| } | |
| ], | |
| "valueName": "current" | |
| }, | |
| { | |
| "datasource": "InfluxDB-apcupsd", | |
| "gridPos": { | |
| "h": 5, | |
| "w": 3, | |
| "x": 5, | |
| "y": 19 | |
| }, | |
| "id": 36, | |
| "options": { | |
| "fieldOptions": { | |
| "calcs": [ | |
| "lastNotNull" | |
| ], | |
| "defaults": { | |
| "mappings": [], | |
| "max": 100, | |
| "min": 0, | |
| "thresholds": [ | |
| { | |
| "color": "green", | |
| "value": null | |
| }, | |
| { | |
| "color": "red", | |
| "value": 80 | |
| } | |
| ], | |
| "title": "", | |
| "unit": "percent" | |
| }, | |
| "override": {}, | |
| "values": false | |
| }, | |
| "orientation": "auto", | |
| "showThresholdLabels": true, | |
| "showThresholdMarkers": true | |
| }, | |
| "pluginVersion": "6.5.1", | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 16, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "pi4", | |
| "value": "pi4" | |
| } | |
| }, | |
| "targets": [ | |
| { | |
| "alias": "Load", | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "LOADPCT" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "UPS Load", | |
| "type": "gauge" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "colorBackground": false, | |
| "colorPostfix": false, | |
| "colorPrefix": false, | |
| "colorValue": false, | |
| "colors": [ | |
| "#299c46", | |
| "rgba(237, 129, 40, 0.89)", | |
| "#d44a3a" | |
| ], | |
| "datasource": "InfluxDB-apcupsd", | |
| "format": "none", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 3, | |
| "x": 8, | |
| "y": 19 | |
| }, | |
| "id": 37, | |
| "interval": null, | |
| "links": [], | |
| "mappingType": 1, | |
| "mappingTypes": [ | |
| { | |
| "name": "value to text", | |
| "value": 1 | |
| }, | |
| { | |
| "name": "range to text", | |
| "value": 2 | |
| } | |
| ], | |
| "maxDataPoints": 100, | |
| "nullPointMode": "connected", | |
| "nullText": null, | |
| "options": {}, | |
| "pluginVersion": "6.5.1", | |
| "postfix": "", | |
| "postfixFontSize": "50%", | |
| "prefix": "", | |
| "prefixFontSize": "50%", | |
| "rangeMaps": [ | |
| { | |
| "from": "null", | |
| "text": "N/A", | |
| "to": "null" | |
| } | |
| ], | |
| "repeat": null, | |
| "repeatDirection": null, | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 2, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "pi4", | |
| "value": "pi4" | |
| } | |
| }, | |
| "sparkline": { | |
| "fillColor": "rgb(41, 41, 43)", | |
| "full": false, | |
| "lineColor": "#5794F2", | |
| "show": true, | |
| "ymax": null, | |
| "ymin": null | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "WATTS" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": "", | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Consumption (watts)", | |
| "type": "singlestat", | |
| "valueFontSize": "200%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "N/A", | |
| "value": "null" | |
| } | |
| ], | |
| "valueName": "current" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "InfluxDB-apcupsd", | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 4, | |
| "x": 11, | |
| "y": 19 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 38, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "nullPointMode": "null", | |
| "options": { | |
| "dataLinks": [] | |
| }, | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 10, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "pi4", | |
| "value": "pi4" | |
| } | |
| }, | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "Load", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$__interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "linear" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "LOADPCT" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Load (%)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percent", | |
| "label": "Load", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": "", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "InfluxDB-apcupsd", | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 4, | |
| "x": 15, | |
| "y": 19 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 39, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "nullPointMode": "null", | |
| "options": { | |
| "dataLinks": [] | |
| }, | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 14, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "pi4", | |
| "value": "pi4" | |
| } | |
| }, | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "Time Left (min)", | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "TIMELEFT" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Time Left on Battery (minutes)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "InfluxDB-apcupsd", | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 5, | |
| "w": 4, | |
| "x": 19, | |
| "y": 19 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 40, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "nullPointMode": "null", | |
| "options": { | |
| "dataLinks": [] | |
| }, | |
| "percentage": false, | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeatIteration": 1576607929559, | |
| "repeatPanelId": 12, | |
| "repeatedByRow": true, | |
| "scopedVars": { | |
| "apcupsd_host": { | |
| "selected": true, | |
| "text": "pi4", | |
| "value": "pi4" | |
| } | |
| }, | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "Battery Charge %", | |
| "groupBy": [], | |
| "measurement": "apcaccess_status", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "BCHARGE" | |
| ], | |
| "type": "field" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$apcupsd_host$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Battery Charge (%)", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": "Charge", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| } | |
| ], | |
| "refresh": "30s", | |
| "schemaVersion": 21, | |
| "style": "dark", | |
| "tags": [], | |
| "templating": { | |
| "list": [ | |
| { | |
| "allValue": null, | |
| "current": { | |
| "text": "edge + mancavepi + officepi + pi4", | |
| "value": [ | |
| "edge", | |
| "mancavepi", | |
| "officepi", | |
| "pi4" | |
| ] | |
| }, | |
| "datasource": "InfluxDB-apcupsd", | |
| "definition": "SHOW TAG VALUES WITH KEY = \"host\"", | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": null, | |
| "multi": true, | |
| "name": "apcupsd_host", | |
| "options": [], | |
| "query": "SHOW TAG VALUES WITH KEY = \"host\"", | |
| "refresh": 1, | |
| "regex": "", | |
| "skipUrlSync": false, | |
| "sort": 0, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| } | |
| ] | |
| }, | |
| "time": { | |
| "from": "now-6h", | |
| "to": "now" | |
| }, | |
| "timepicker": { | |
| "refresh_intervals": [ | |
| "5s", | |
| "10s", | |
| "30s", | |
| "1m", | |
| "5m", | |
| "15m", | |
| "30m", | |
| "1h", | |
| "2h", | |
| "1d" | |
| ] | |
| }, | |
| "timezone": "", | |
| "title": "APCUPSd Monitoring", | |
| "uid": "5-Ti_3aZkaasdsfsa", | |
| "version": 8 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment