{ "__inputs": [ { "name": "DS_GLANCES", "label": "glances", "description": "", "type": "datasource", "pluginId": "influxdb", "pluginName": "InfluxDB" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "4.4.1" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "" }, { "type": "datasource", "id": "influxdb", "name": "InfluxDB", "version": "1.0.0" }, { "type": "panel", "id": "singlestat", "name": "Singlestat", "version": "" }, { "type": "panel", "id": "text", "name": "Text", "version": "" } ], "annotations": { "list": [] }, "editable": true, "gnetId": null, "graphTooltip": 0, "hideControls": false, "id": null, "links": [], "refresh": "10s", "rows": [ { "collapse": false, "height": 196, "panels": [ { "aliasColors": {}, "annotate": { "enable": false }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_GLANCES}", "fill": 0, "grid": { "max": null, "min": null }, "id": 4, "interactive": true, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "total": false, "values": false }, "legend_counts": true, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "options": false, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "resolution": 100, "scale": 1, "seriesOverrides": [], "spaceLength": 10, "span": 6, "spyable": true, "stack": false, "steppedLine": false, "targets": [ { "alias": "1min", "column": "min1", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "load", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"min1\") FROM \"load\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval) fill(null)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "min1" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "load", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "randomWalk('random walk')" }, { "alias": "5mins", "column": "min5", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "load", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"min5\") FROM \"load\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval) fill(null)", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "min5" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "load", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" }, { "alias": "15mins", "column": "min15", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "load", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"min15\") FROM \"load\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval) fill(null)", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "min15" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "load", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "timezone": "browser", "title": "Load", "tooltip": { "query_as_alias": true, "shared": false, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_GLANCES}", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 6, "legend": { "avg": true, "current": false, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 1, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 6, "stack": true, "steppedLine": false, "targets": [ { "alias": "User", "column": "user", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"user\") FROM \"cpu\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval) fill(null)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "user" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "cpu", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] }, { "alias": "System", "column": "system", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"system\") FROM \"cpu\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval) fill(null)", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "system" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "cpu", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" }, { "alias": "IoWait", "column": "iowait", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"iowait\") FROM \"cpu\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval) fill(null)", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "iowait" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "cpu", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "CPU (%)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "percent", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "test", "titleSize": "h6" }, { "collapse": false, "height": 199, "panels": [ { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "datasource": "${DS_GLANCES}", "editable": true, "error": false, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "id": 18, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "span": 3, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "tableColumn": "", "targets": [ { "column": "total", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "measurement": "processcount", "query": "SELECT mean(\"total\") FROM \"processcount\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "total" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "processcount", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] } ], "thresholds": "", "title": "Processes", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_GLANCES}", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 7, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "alias": "Used", "column": "used", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "measurement": "mem", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"used\") FROM \"mem\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "used" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "mem", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] }, { "alias": "Max", "column": "total", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "measurement": "mem", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"total\") FROM \"mem\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "total" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "mem", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MEM", "tooltip": { "shared": false, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "${DS_GLANCES}", "editable": true, "error": false, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "id": 5, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "span": 3, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "", "targets": [ { "column": "cpucore", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "measurement": "load", "query": "SELECT mean(\"cpucore\") FROM \"load\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "cpucore" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "load", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] } ], "thresholds": "", "title": "Core", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "New row", "titleSize": "h1" }, { "collapse": false, "height": 181, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_GLANCES}", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 9, "legend": { "avg": true, "current": false, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "alias": "Rx", "column": "enp0s25.rx", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "interval": "", "measurement": "network", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"enp0s25.rx\")/mean(\"enp0s25.time_since_update\")*8 FROM \"network\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval) fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "eth0.rx" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "network", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] }, { "alias": "Tx", "column": "eth0.tx*-1", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "network", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"enp0s25.tx\")/mean(\"enp0s25.time_since_update\")*8 FROM \"network\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval) fill(null)", "rawQuery": false, "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "eth0.tx" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "network", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Net", "tooltip": { "shared": false, "sort": 0, "value_type": "cumulative" }, "transparent": false, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bps", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_GLANCES}", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 8, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "alias": "Used", "column": "used", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "measurement": "memswap", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"used\") FROM \"memswap\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "used" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "memswap", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] }, { "alias": "Max", "column": "total", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "measurement": "memswap", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"total\") FROM \"memswap\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "total" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "memswap", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "SWAP", "tooltip": { "shared": false, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "New row", "titleSize": "h6" }, { "collapse": false, "height": 182, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_GLANCES}", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 10, "legend": { "avg": true, "current": false, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "alias": "Read", "column": "sda2.read_bytes", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "diskio", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"sda2.read_bytes\")/mean(\"sda2.time_since_update\")*8 FROM \"diskio\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval) fill(null)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "mmcblk0p2.read_bytes" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "diskio", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] }, { "alias": "Write", "column": "sda2.write_bytes", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "diskio", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"sda2.write_bytes\")/mean(\"sda2.time_since_update\")*8 FROM \"diskio\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval) fill(null)", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "mmcblk0p2.write_bytes" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "diskio", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "disk IO", "tooltip": { "shared": false, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_GLANCES}", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 11, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "Used", "column": "\"/.used\"", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "fs", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"/.used\") FROM \"fs\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval) fill(null)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "/etc/hostname.free" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "fs", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] }, { "alias": "Max", "column": "\"/.size\"", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "fs", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"/.size\") FROM \"fs\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval) fill(null)", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "/.size" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "fs", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "/ Size", "tooltip": { "shared": false, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "cacheTimeout": null, "colorBackground": false, "colorValue": true, "colors": [ "rgba(71, 212, 59, 0.4)", "rgba(245, 150, 40, 0.73)", "rgba(225, 40, 40, 0.59)" ], "datasource": "${DS_GLANCES}", "editable": true, "error": false, "format": "percent", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "id": 16, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "span": 1, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(193, 71, 31)", "show": true }, "tableColumn": "", "targets": [ { "column": "\"/.percent\"", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "measurement": "fs", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"/.percent\") FROM \"fs\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "/.percent" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "fs", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] } ], "thresholds": "70,90", "title": "/ used", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(71, 212, 59, 0.4)", "rgba(245, 150, 40, 0.73)", "rgba(225, 40, 40, 0.59)" ], "datasource": "${DS_GLANCES}", "editable": true, "error": false, "format": "decbytes", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "id": 17, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "span": 1, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(193, 71, 31)", "show": true }, "tableColumn": "mean", "targets": [ { "column": "\"/home.percent\"", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "$__interval" ], "type": "time" } ], "measurement": "fs", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"/boot/efi.percent\") FROM \"fs\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "/.free" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "fs", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] } ], "thresholds": "70,90", "title": "/free", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "New row", "titleSize": "h6" }, { "collapse": false, "height": "25px", "panels": [ { "content": "", "editable": true, "error": false, "id": 13, "links": [], "mode": "markdown", "span": 12, "style": {}, "title": "CPU details", "type": "text" } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "New row", "titleSize": "h6" }, { "collapse": false, "height": 188, "panels": [ { "aliasColors": { "max": "#890F02" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_GLANCES}", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 12, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": false, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "max", "fillBelowTo": "min", "lines": false }, { "alias": "min", "lines": false }, { "alias": "mean", "linewidth": 2, "zindex": 3 } ], "spaceLength": 10, "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "mean", "column": "user", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "interval": "60s", "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"user\") FROM \"cpu\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "user" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "cpu", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] }, { "alias": "min", "column": "user", "dsType": "influxdb", "function": "min", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "interval": "60s", "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT min(\"user\") FROM \"cpu\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "user" ], "type": "field" }, { "params": [], "type": "min" } ] ], "series": "cpu", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" }, { "alias": "max", "column": "user", "dsType": "influxdb", "function": "max", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "interval": "60s", "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT max(\"user\") FROM \"cpu\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "user" ], "type": "field" }, { "params": [], "type": "max" } ] ], "series": "cpu", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "CPU user", "tooltip": { "shared": false, "sort": 0, "value_type": "cumulative" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "percent", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": { "max": "#890F02" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_GLANCES}", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 14, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": false, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "max", "fillBelowTo": "min", "lines": false }, { "alias": "min", "lines": false }, { "alias": "mean", "linewidth": 2, "zindex": 3 } ], "spaceLength": 10, "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "mean", "column": "system", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "interval": "60s", "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"system\") FROM \"cpu\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "system" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "cpu", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] }, { "alias": "min", "column": "system", "dsType": "influxdb", "function": "min", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "interval": "60s", "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT min(\"system\") FROM \"cpu\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "system" ], "type": "field" }, { "params": [], "type": "min" } ] ], "series": "cpu", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" }, { "alias": "max", "column": "system", "dsType": "influxdb", "function": "max", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "interval": "60s", "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT max(\"system\") FROM \"cpu\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "system" ], "type": "field" }, { "params": [], "type": "max" } ] ], "series": "cpu", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "CPU system", "tooltip": { "shared": false, "sort": 0, "value_type": "cumulative" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "percent", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": { "max": "#890F02" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_GLANCES}", "editable": true, "error": false, "fill": 0, "grid": {}, "id": 15, "legend": { "alignAsTable": false, "avg": false, "current": false, "hideEmpty": false, "max": false, "min": false, "show": false, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "max", "fillBelowTo": "min", "lines": false }, { "alias": "min", "lines": false }, { "alias": "mean", "linewidth": 2, "zindex": 3 } ], "spaceLength": 10, "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "mean", "column": "iowait", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "interval": "60s", "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"iowait\") FROM \"cpu\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "iowait" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "cpu", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] }, { "alias": "min", "column": "iowait", "dsType": "influxdb", "function": "min", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "interval": "60s", "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT min(\"iowait\") FROM \"cpu\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "iowait" ], "type": "field" }, { "params": [], "type": "min" } ] ], "series": "cpu", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" }, { "alias": "max", "column": "iowait", "dsType": "influxdb", "function": "max", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "interval": "60s", "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT max(\"iowait\") FROM \"cpu\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "iowait" ], "type": "field" }, { "params": [], "type": "max" } ] ], "series": "cpu", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "CPU iowait", "tooltip": { "shared": false, "sort": 0, "value_type": "cumulative" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "percent", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": { "max": "#890F02" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_GLANCES}", "editable": true, "error": false, "fill": 2, "grid": {}, "id": 19, "legend": { "alignAsTable": false, "avg": false, "current": false, "hideEmpty": false, "max": false, "min": false, "show": false, "total": false, "values": false }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "alias": "mean", "column": "iowait", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "interval": "60s", "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"ctx_switches\") / mean(\"time_since_update\") FROM \"cpu\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "ctx_switches" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "cpu", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Context switches", "tooltip": { "shared": false, "sort": 0, "value_type": "cumulative" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "none", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": { "max": "#890F02" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_GLANCES}", "editable": true, "error": false, "fill": 2, "grid": {}, "height": "", "id": 20, "legend": { "alignAsTable": false, "avg": false, "current": false, "hideEmpty": false, "max": false, "min": false, "show": false, "total": false, "values": false }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "alias": "mean", "column": "iowait", "dsType": "influxdb", "function": "mean", "groupBy": [ { "params": [ "auto" ], "type": "time" } ], "interval": "60s", "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"interrupts\") / mean(\"time_since_update\") FROM \"cpu\" WHERE \"server\" = '/^$Server$/' AND $timeFilter GROUP BY time($interval)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "interrupts" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "series": "cpu", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Interrupts", "tooltip": { "shared": false, "sort": 0, "value_type": "cumulative" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "none", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": null, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "New row", "titleSize": "h6" }, { "collapse": false, "height": 250, "panels": [], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Dashboard Row", "titleSize": "h6" } ], "schemaVersion": 14, "style": "dark", "tags": [ { "key": "server", "operator": "=~", "value": "/^$Server$/" } ], "templating": { "list": [ { "allValue": null, "current": {}, "datasource": "${DS_GLANCES}", "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "Server", "options": [], "query": " SHOW TAG VALUES FROM \"cpu\" WITH KEY = \"server\"", "refresh": 2, "regex": "", "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-1h", "to": "now" }, "timepicker": { "collapse": false, "enable": true, "notice": false, "now": true, "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "status": "Stable", "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ], "type": "timepicker" }, "timezone": "browser", "title": "RPI Glances", "version": 2 }