diff --git a/grafana/dashboards/system metrics.json b/grafana/dashboards/system metrics.json index 5b37976..f9be403 100644 --- a/grafana/dashboards/system metrics.json +++ b/grafana/dashboards/system metrics.json @@ -18,7 +18,7 @@ "gnetId": 1138, "graphTooltip": 0, "id": null, - "iteration": 1541715265731, + "iteration": 1542308271403, "links": [], "panels": [ { @@ -26,7 +26,7 @@ "editable": true, "error": false, "gridPos": { - "h": 6, + "h": 4, "w": 4, "x": 0, "y": 0 @@ -59,8 +59,8 @@ "thresholdMarkers": true }, "gridPos": { - "h": 6, - "w": 4, + "h": 3, + "w": 3, "x": 4, "y": 0 }, @@ -163,9 +163,9 @@ "colorBackground": false, "colorValue": false, "colors": [ - "rgba(245, 54, 54, 0.9)", + "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" + "rgba(245, 54, 54, 0.9)" ], "datasource": "telegraf_ds", "editable": true, @@ -179,9 +179,9 @@ "thresholdMarkers": true }, "gridPos": { - "h": 6, - "w": 6, - "x": 8, + "h": 3, + "w": 2, + "x": 7, "y": 0 }, "id": 5, @@ -221,6 +221,7 @@ "tableColumn": "", "targets": [ { + "$$hashKey": "object:484", "dsType": "influxdb", "expr": "", "groupBy": [ @@ -239,6 +240,7 @@ ], "intervalFactor": 2, "measurement": "mem", + "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", @@ -265,7 +267,7 @@ ] } ], - "thresholds": "30,70", + "thresholds": "70,85", "title": "Memory available", "transparent": true, "type": "singlestat", @@ -300,21 +302,23 @@ "thresholdMarkers": true }, "gridPos": { - "h": 6, - "w": 4, - "x": 14, + "h": 3, + "w": 3, + "x": 9, "y": 0 }, - "id": 6, + "id": 20, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { + "$$hashKey": "object:1855", "name": "value to text", "value": 1 }, { + "$$hashKey": "object:1856", "name": "range to text", "value": 2 } @@ -337,18 +341,18 @@ "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", - "show": true + "show": false }, "tableColumn": "", "targets": [ { - "alias": "", + "$$hashKey": "object:1591", "dsType": "influxdb", "expr": "", "groupBy": [ { "params": [ - "$interval" + "$__interval" ], "type": "time" }, @@ -361,6 +365,7 @@ ], "intervalFactor": 2, "measurement": "mem", + "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", @@ -368,7 +373,7 @@ [ { "params": [ - "available" + "total" ], "type": "field" }, @@ -388,22 +393,18 @@ } ], "thresholds": "", - "title": "RAM Available", + "title": "Total Memory $host", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { + "$$hashKey": "object:1858", "op": "=", - "text": "OK", - "value": "200" - }, - { - "op": "=", - "text": "", - "value": "" + "text": "N/A", + "value": "null" } ], - "valueName": "avg" + "valueName": "current" }, { "cacheTimeout": null, @@ -426,12 +427,12 @@ "thresholdMarkers": true }, "gridPos": { - "h": 6, - "w": 6, - "x": 18, + "h": 3, + "w": 2, + "x": 12, "y": 0 }, - "id": 13, + "id": 16, "interval": null, "links": [], "mappingType": 1, @@ -468,6 +469,7 @@ "tableColumn": "", "targets": [ { + "$$hashKey": "object:246", "dsType": "influxdb", "expr": "", "groupBy": [ @@ -485,7 +487,8 @@ } ], "intervalFactor": 2, - "measurement": "swap", + "measurement": "disk", + "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", @@ -505,6 +508,12 @@ ], "tags": [ { + "key": "path", + "operator": "=", + "value": "/" + }, + { + "condition": "AND", "key": "host", "operator": "=~", "value": "/^$host$/" @@ -512,8 +521,8 @@ ] } ], - "thresholds": "30,70", - "title": "Swap used", + "thresholds": "70,85", + "title": "SD card usage", "transparent": true, "type": "singlestat", "valueFontSize": "80%", @@ -527,56 +536,77 @@ "valueName": "avg" }, { - "aliasColors": { - "idle": "#EAB839", - "system": "#508642" - }, - "bars": false, - "dashLength": 10, - "dashes": false, + "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": "telegraf_ds", "editable": true, "error": false, - "fill": 4, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 6 + "format": "bytes", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true }, - "id": 3, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "total": false, - "values": true + "gridPos": { + "h": 3, + "w": 2, + "x": 14, + "y": 0 }, - "lines": true, - "linewidth": 1, + "id": 21, + "interval": null, "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "$$hashKey": "object:1855", + "name": "value to text", + "value": 1 + }, + { + "$$hashKey": "object:1856", + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, "nullPointMode": "connected", - "percentage": true, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", "targets": [ { - "$$hashKey": "object:502", - "alias": "system", + "$$hashKey": "object:1591", "dsType": "influxdb", + "expr": "", "groupBy": [ { "params": [ - "$interval" + "$__interval" ], "type": "time" }, @@ -587,16 +617,17 @@ "type": "fill" } ], - "measurement": "cpu", + "intervalFactor": 2, + "measurement": "disk", "orderByTime": "ASC", "policy": "default", - "refId": "F", + "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ - "usage_system" + "total" ], "type": "field" }, @@ -608,26 +639,103 @@ ], "tags": [ { - "key": "cpu", - "operator": "=", - "value": "cpu-total" - }, - { - "condition": "AND", "key": "host", "operator": "=~", "value": "/^$host$/" + }, + { + "condition": "AND", + "key": "path", + "operator": "=", + "value": "/" } ] + } + ], + "thresholds": "", + "title": "Total SD card $host", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "$$hashKey": "object:1858", + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "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": "telegraf_ds", + "editable": true, + "error": false, + "format": "percent", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": true, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 3, + "w": 2, + "x": 16, + "y": 0 + }, + "id": 17, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 }, { - "$$hashKey": "object:503", - "alias": "nice", + "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" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "$$hashKey": "object:331", "dsType": "influxdb", + "expr": "", "groupBy": [ { "params": [ - "$interval" + "$__interval" ], "type": "time" }, @@ -638,7 +746,8 @@ "type": "fill" } ], - "measurement": "cpu", + "intervalFactor": 2, + "measurement": "disk", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -647,7 +756,7 @@ [ { "params": [ - "usage_nice" + "used_percent" ], "type": "field" }, @@ -659,9 +768,9 @@ ], "tags": [ { - "key": "cpu", + "key": "device", "operator": "=", - "value": "cpu-total" + "value": "sda1" }, { "condition": "AND", @@ -670,35 +779,927 @@ "value": "/^$host$/" } ] - }, + } + ], + "thresholds": "70,85", + "title": "/sda1 (USB stick)", + "transparent": true, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ { - "$$hashKey": "object:504", - "alias": "irq", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "avg" + }, + { + "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": "telegraf_ds", + "editable": true, + "error": false, + "format": "bytes", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 3, + "w": 3, + "x": 18, + "y": 0 + }, + "id": 22, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "$$hashKey": "object:1855", + "name": "value to text", + "value": 1 + }, + { + "$$hashKey": "object:1856", + "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" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "$$hashKey": "object:1591", + "dsType": "influxdb", + "expr": "", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "intervalFactor": 2, + "measurement": "disk", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "total" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "device", + "operator": "=", + "value": "sda1" + } + ] + } + ], + "thresholds": "", + "title": "Total USB drive", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "$$hashKey": "object:1858", + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "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": "telegraf_ds", + "editable": true, + "error": false, + "format": "percent", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": true, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 3, + "w": 3, + "x": 4, + "y": 3 + }, + "id": 13, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "$$hashKey": "object:1971", + "name": "value to text", + "value": 1 + }, + { + "$$hashKey": "object:1972", + "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" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "$$hashKey": "object:1894", + "dsType": "influxdb", + "expr": "", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "intervalFactor": 2, + "measurement": "swap", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "used_percent" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$host$/" + } + ] + } + ], + "thresholds": "20,50", + "title": "Swap used", + "transparent": true, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "$$hashKey": "object:1974", + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "avg" + }, + { + "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": "telegraf_ds", + "editable": true, + "error": false, + "format": "bytes", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 3, + "w": 5, + "x": 7, + "y": 3 + }, + "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, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "$$hashKey": "object:415", + "alias": "", + "dsType": "influxdb", + "expr": "", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "intervalFactor": 2, + "measurement": "mem", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "available" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$host$/" + } + ] + } + ], + "thresholds": "", + "title": "Memory Available", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "OK", + "value": "200" + }, + { + "op": "=", + "text": "", + "value": "" + } + ], + "valueName": "avg" + }, + { + "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": "telegraf_ds", + "editable": true, + "error": false, + "format": "bytes", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 3, + "w": 4, + "x": 12, + "y": 3 + }, + "id": 18, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "$$hashKey": "object:804", + "name": "value to text", + "value": 1 + }, + { + "$$hashKey": "object:805", + "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" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "$$hashKey": "object:415", + "alias": "", + "dsType": "influxdb", + "expr": "", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "intervalFactor": 2, + "measurement": "disk", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "used" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "path", + "operator": "=", + "value": "/" + }, + { + "condition": "AND", + "key": "host", + "operator": "=~", + "value": "/^$host$/" + } + ] + } + ], + "thresholds": "", + "title": "disk / (SD card) used", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "$$hashKey": "object:807", + "op": "=", + "text": "OK", + "value": "200" + }, + { + "$$hashKey": "object:808", + "op": "=", + "text": "", + "value": "" + } + ], + "valueName": "avg" + }, + { + "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": "telegraf_ds", + "editable": true, + "error": false, + "format": "bytes", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 3, + "w": 5, + "x": 16, + "y": 3 + }, + "id": 19, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "$$hashKey": "object:804", + "name": "value to text", + "value": 1 + }, + { + "$$hashKey": "object:805", + "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" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "$$hashKey": "object:415", + "alias": "", + "dsType": "influxdb", + "expr": "", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "intervalFactor": 2, + "measurement": "disk", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "used" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "device", + "operator": "=", + "value": "sda1" + }, + { + "condition": "AND", + "key": "host", + "operator": "=~", + "value": "/^$host$/" + } + ] + } + ], + "thresholds": "", + "title": "disk sda1 (USB drive) used", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "$$hashKey": "object:807", + "op": "=", + "text": "OK", + "value": "200" + }, + { + "$$hashKey": "object:808", + "op": "=", + "text": "", + "value": "" + } + ], + "valueName": "avg" + }, + { + "aliasColors": { + "Available": "#447EBC", + "Used": "#0A437C" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "telegraf_ds", + "editable": true, + "error": false, + "fill": 6, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 6 + }, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "$$hashKey": "object:2701", + "alias": "Used", + "dsType": "influxdb", + "expr": "", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "intervalFactor": 2, + "measurement": "mem", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "used" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$host$/" + } + ] + }, + { + "$$hashKey": "object:2702", + "alias": "Available", + "dsType": "influxdb", + "expr": "", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "intervalFactor": 2, + "measurement": "mem", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "available" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$host$/" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Memory", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:2791", + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:2792", + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "idle": "#EAB839", + "system": "#508642" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "telegraf_ds", + "editable": true, + "error": false, + "fill": 4, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 6 + }, + "id": 3, + "legend": { + "alignAsTable": true, + "avg": true, + "current": false, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": true, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "$$hashKey": "object:502", + "alias": "system", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } ], "measurement": "cpu", "orderByTime": "ASC", "policy": "default", - "refId": "B", + "refId": "F", "resultFormat": "time_series", "select": [ [ { "params": [ - "usage_irq" + "usage_system" ], "type": "field" }, @@ -723,8 +1724,8 @@ ] }, { - "$$hashKey": "object:505", - "alias": "softirq", + "$$hashKey": "object:503", + "alias": "nice", "dsType": "influxdb", "groupBy": [ { @@ -743,13 +1744,13 @@ "measurement": "cpu", "orderByTime": "ASC", "policy": "default", - "refId": "C", + "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ - "usage_softirq" + "usage_nice" ], "type": "field" }, @@ -774,8 +1775,8 @@ ] }, { - "$$hashKey": "object:506", - "alias": "iowait", + "$$hashKey": "object:504", + "alias": "irq", "dsType": "influxdb", "groupBy": [ { @@ -794,13 +1795,13 @@ "measurement": "cpu", "orderByTime": "ASC", "policy": "default", - "refId": "D", + "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ - "usage_iowait" + "usage_irq" ], "type": "field" }, @@ -825,8 +1826,8 @@ ] }, { - "$$hashKey": "object:507", - "alias": "steal", + "$$hashKey": "object:505", + "alias": "softirq", "dsType": "influxdb", "groupBy": [ { @@ -845,13 +1846,13 @@ "measurement": "cpu", "orderByTime": "ASC", "policy": "default", - "refId": "G", + "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ - "usage_steal" + "usage_softirq" ], "type": "field" }, @@ -876,8 +1877,8 @@ ] }, { - "$$hashKey": "object:508", - "alias": "guest", + "$$hashKey": "object:506", + "alias": "iowait", "dsType": "influxdb", "groupBy": [ { @@ -896,13 +1897,13 @@ "measurement": "cpu", "orderByTime": "ASC", "policy": "default", - "refId": "H", + "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ - "usage_guest" + "usage_iowait" ], "type": "field" }, @@ -927,8 +1928,8 @@ ] }, { - "$$hashKey": "object:509", - "alias": "user", + "$$hashKey": "object:507", + "alias": "steal", "dsType": "influxdb", "groupBy": [ { @@ -947,13 +1948,13 @@ "measurement": "cpu", "orderByTime": "ASC", "policy": "default", - "refId": "I", + "refId": "G", "resultFormat": "time_series", "select": [ [ { "params": [ - "usage_user" + "usage_steal" ], "type": "field" }, @@ -978,8 +1979,8 @@ ] }, { - "$$hashKey": "object:501", - "alias": "idle", + "$$hashKey": "object:508", + "alias": "guest", "dsType": "influxdb", "groupBy": [ { @@ -998,13 +1999,13 @@ "measurement": "cpu", "orderByTime": "ASC", "policy": "default", - "refId": "E", + "refId": "H", "resultFormat": "time_series", "select": [ [ { "params": [ - "usage_idle" + "usage_guest" ], "type": "field" }, @@ -1027,95 +2028,15 @@ "value": "/^$host$/" } ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "CPU usage", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:2440", - "format": "short", - "label": "", - "logBase": 1, - "max": "100", - "min": "0", - "show": true }, { - "$$hashKey": "object:2441", - "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": "telegraf_ds", - "fill": 1, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 13 - }, - "id": 15, - "legend": { - "avg": false, - "current": true, - "max": true, - "min": false, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "$$hashKey": "object:416", - "alias": "used", + "$$hashKey": "object:509", + "alias": "user", + "dsType": "influxdb", "groupBy": [ { "params": [ - "$__interval" + "$interval" ], "type": "time" }, @@ -1126,17 +2047,16 @@ "type": "fill" } ], - "hide": false, - "measurement": "disk", + "measurement": "cpu", "orderByTime": "ASC", "policy": "default", - "refId": "A", + "refId": "I", "resultFormat": "time_series", "select": [ [ { "params": [ - "used" + "usage_user" ], "type": "field" }, @@ -1148,9 +2068,9 @@ ], "tags": [ { - "key": "path", + "key": "cpu", "operator": "=", - "value": "/" + "value": "cpu-total" }, { "condition": "AND", @@ -1161,12 +2081,13 @@ ] }, { - "$$hashKey": "object:465", - "alias": "free", + "$$hashKey": "object:501", + "alias": "idle", + "dsType": "influxdb", "groupBy": [ { "params": [ - "$__interval" + "$interval" ], "type": "time" }, @@ -1177,16 +2098,16 @@ "type": "fill" } ], - "measurement": "disk", + "measurement": "cpu", "orderByTime": "ASC", "policy": "default", - "refId": "B", + "refId": "E", "resultFormat": "time_series", "select": [ [ { "params": [ - "free" + "usage_idle" ], "type": "field" }, @@ -1198,9 +2119,9 @@ ], "tags": [ { - "key": "path", + "key": "cpu", "operator": "=", - "value": "/" + "value": "cpu-total" }, { "condition": "AND", @@ -1214,8 +2135,9 @@ "thresholds": [], "timeFrom": null, "timeShift": null, - "title": "Disk (SD card)", + "title": "CPU usage", "tooltip": { + "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" @@ -1230,21 +2152,21 @@ }, "yaxes": [ { - "$$hashKey": "object:522", - "format": "bytes", - "label": null, + "$$hashKey": "object:2440", + "format": "short", + "label": "", "logBase": 1, - "max": null, + "max": "100", "min": "0", "show": true }, { - "$$hashKey": "object:523", - "format": "bytes", + "$$hashKey": "object:2441", + "format": "short", "label": null, "logBase": 1, "max": null, - "min": "0", + "min": null, "show": true } ], @@ -1254,60 +2176,97 @@ } }, { - "aliasColors": { - "Load 15m": "#890F02", - "Load 1m": "#F2C96D", - "Load 5m": "#EF843C" - }, + "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "telegraf_ds", "editable": true, "error": false, - "fill": 1, + "fill": 6, "gridPos": { "h": 7, - "w": 24, + "w": 12, "x": 0, - "y": 18 + "y": 13 }, - "id": 4, + "id": 9, "legend": { - "alignAsTable": true, - "avg": true, + "alignAsTable": false, + "avg": false, "current": false, - "max": true, - "min": true, - "rightSide": true, + "max": false, + "min": false, + "rightSide": false, "show": true, - "sort": "min", - "sortDesc": false, "total": false, - "values": true + "values": false }, "lines": true, - "linewidth": 1, + "linewidth": 2, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [ - { - "alias": "Return code", - "yaxis": 2 - } - ], + "seriesOverrides": [], "spaceLength": 10, - "stack": false, + "stack": true, "steppedLine": false, "targets": [ { - "$$hashKey": "object:3128", - "alias": "Load 1m", + "$$hashKey": "object:229", + "alias": "Used", + "dsType": "influxdb", + "expr": "", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "intervalFactor": 2, + "measurement": "mem", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "used" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$host$/" + } + ] + }, + { + "$$hashKey": "object:230", + "alias": "Free", "dsType": "influxdb", + "expr": "", "groupBy": [ { "params": [ @@ -1322,16 +2281,17 @@ "type": "fill" } ], - "measurement": "system", + "intervalFactor": 2, + "measurement": "mem", "orderByTime": "ASC", "policy": "default", - "refId": "A", + "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ - "load1" + "free" ], "type": "field" }, @@ -1350,9 +2310,10 @@ ] }, { - "$$hashKey": "object:3129", - "alias": "Load 5m", + "$$hashKey": "object:231", + "alias": "Cached", "dsType": "influxdb", + "expr": "", "groupBy": [ { "params": [ @@ -1367,16 +2328,17 @@ "type": "fill" } ], - "measurement": "system", + "intervalFactor": 2, + "measurement": "mem", "orderByTime": "ASC", "policy": "default", - "refId": "B", + "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ - "load5" + "cached" ], "type": "field" }, @@ -1395,9 +2357,10 @@ ] }, { - "$$hashKey": "object:3130", - "alias": "Load 15m", + "$$hashKey": "object:232", + "alias": "Buffers", "dsType": "influxdb", + "expr": "", "groupBy": [ { "params": [ @@ -1412,16 +2375,17 @@ "type": "fill" } ], - "measurement": "system", + "intervalFactor": 2, + "measurement": "mem", "orderByTime": "ASC", "policy": "default", - "refId": "C", + "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ - "load15" + "buffered" ], "type": "field" }, @@ -1443,7 +2407,7 @@ "thresholds": [], "timeFrom": null, "timeShift": null, - "title": "Load average", + "title": "Memory Distribution", "tooltip": { "msResolution": false, "shared": true, @@ -1460,21 +2424,21 @@ }, "yaxes": [ { - "$$hashKey": "object:3260", - "format": "percent", - "label": null, + "$$hashKey": "object:263", + "format": "bytes", + "label": "", "logBase": 1, "max": null, - "min": null, + "min": "0", "show": true }, { - "$$hashKey": "object:3261", + "$$hashKey": "object:264", "format": "short", "label": null, "logBase": 1, "max": null, - "min": null, + "min": "0", "show": true } ], @@ -1485,8 +2449,9 @@ }, { "aliasColors": { - "Available": "#447EBC", - "Used": "#0A437C" + "Load 15m": "#890F02", + "Load 1m": "#F2C96D", + "Load 5m": "#EF843C" }, "bars": false, "dashLength": 10, @@ -1494,40 +2459,49 @@ "datasource": "telegraf_ds", "editable": true, "error": false, - "fill": 6, + "fill": 1, "gridPos": { "h": 7, "w": 12, - "x": 0, - "y": 25 + "x": 12, + "y": 13 }, - "id": 8, + "id": 4, "legend": { - "avg": false, + "alignAsTable": true, + "avg": true, "current": false, - "max": false, - "min": false, + "max": true, + "min": true, + "rightSide": true, "show": true, + "sort": "min", + "sortDesc": false, "total": false, - "values": false + "values": true }, "lines": true, - "linewidth": 2, + "linewidth": 1, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [], + "seriesOverrides": [ + { + "alias": "Return code", + "yaxis": 2 + } + ], "spaceLength": 10, - "stack": true, + "stack": false, "steppedLine": false, "targets": [ { - "alias": "Used", + "$$hashKey": "object:3128", + "alias": "Load 1m", "dsType": "influxdb", - "expr": "", "groupBy": [ { "params": [ @@ -1542,8 +2516,53 @@ "type": "fill" } ], - "intervalFactor": 2, - "measurement": "mem", + "measurement": "system", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "load1" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$host$/" + } + ] + }, + { + "$$hashKey": "object:3129", + "alias": "Load 5m", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "system", + "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", @@ -1551,7 +2570,7 @@ [ { "params": [ - "used" + "load5" ], "type": "field" }, @@ -1570,9 +2589,9 @@ ] }, { - "alias": "Available", + "$$hashKey": "object:3130", + "alias": "Load 15m", "dsType": "influxdb", - "expr": "", "groupBy": [ { "params": [ @@ -1587,8 +2606,8 @@ "type": "fill" } ], - "intervalFactor": 2, - "measurement": "mem", + "measurement": "system", + "orderByTime": "ASC", "policy": "default", "refId": "C", "resultFormat": "time_series", @@ -1596,7 +2615,7 @@ [ { "params": [ - "available" + "load15" ], "type": "field" }, @@ -1618,7 +2637,7 @@ "thresholds": [], "timeFrom": null, "timeShift": null, - "title": "Memory", + "title": "Load average", "tooltip": { "msResolution": false, "shared": true, @@ -1635,7 +2654,8 @@ }, "yaxes": [ { - "format": "bytes", + "$$hashKey": "object:3260", + "format": "percent", "label": null, "logBase": 1, "max": null, @@ -1643,6 +2663,7 @@ "show": true }, { + "$$hashKey": "object:3261", "format": "short", "label": null, "logBase": 1, @@ -1662,29 +2683,26 @@ "dashLength": 10, "dashes": false, "datasource": "telegraf_ds", - "editable": true, - "error": false, - "fill": 6, + "fill": 1, "gridPos": { - "h": 7, + "h": 5, "w": 12, - "x": 12, - "y": 25 + "x": 0, + "y": 20 }, - "id": 9, + "id": 15, "legend": { - "alignAsTable": false, "avg": false, - "current": false, - "max": false, + "current": true, + "max": true, "min": false, "rightSide": false, "show": true, "total": false, - "values": false + "values": true }, "lines": true, - "linewidth": 2, + "linewidth": 1, "links": [], "nullPointMode": "connected", "percentage": false, @@ -1697,14 +2715,12 @@ "steppedLine": false, "targets": [ { - "$$hashKey": "object:229", - "alias": "Used", - "dsType": "influxdb", - "expr": "", + "$$hashKey": "object:416", + "alias": "used", "groupBy": [ { "params": [ - "$interval" + "$__interval" ], "type": "time" }, @@ -1715,8 +2731,8 @@ "type": "fill" } ], - "intervalFactor": 2, - "measurement": "mem", + "hide": false, + "measurement": "disk", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -1737,6 +2753,12 @@ ], "tags": [ { + "key": "path", + "operator": "=", + "value": "/" + }, + { + "condition": "AND", "key": "host", "operator": "=~", "value": "/^$host$/" @@ -1744,14 +2766,12 @@ ] }, { - "$$hashKey": "object:230", - "alias": "Free", - "dsType": "influxdb", - "expr": "", + "$$hashKey": "object:465", + "alias": "free", "groupBy": [ { "params": [ - "$interval" + "$__interval" ], "type": "time" }, @@ -1762,8 +2782,7 @@ "type": "fill" } ], - "intervalFactor": 2, - "measurement": "mem", + "measurement": "disk", "orderByTime": "ASC", "policy": "default", "refId": "B", @@ -1784,21 +2803,105 @@ ], "tags": [ { + "key": "path", + "operator": "=", + "value": "/" + }, + { + "condition": "AND", "key": "host", "operator": "=~", "value": "/^$host$/" } ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Disk (SD card)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:522", + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true }, { - "$$hashKey": "object:231", - "alias": "Cached", - "dsType": "influxdb", - "expr": "", + "$$hashKey": "object:523", + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "telegraf_ds", + "fill": 1, + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 20 + }, + "id": 23, + "legend": { + "avg": false, + "current": true, + "max": true, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "$$hashKey": "object:416", + "alias": "used", "groupBy": [ { "params": [ - "$interval" + "$__interval" ], "type": "time" }, @@ -1809,17 +2912,17 @@ "type": "fill" } ], - "intervalFactor": 2, - "measurement": "mem", + "hide": false, + "measurement": "disk", "orderByTime": "ASC", "policy": "default", - "refId": "C", + "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ - "cached" + "used" ], "type": "field" }, @@ -1831,21 +2934,19 @@ ], "tags": [ { - "key": "host", - "operator": "=~", - "value": "/^$host$/" + "key": "device", + "operator": "=", + "value": "sda1" } ] }, { - "$$hashKey": "object:232", - "alias": "Buffers", - "dsType": "influxdb", - "expr": "", + "$$hashKey": "object:465", + "alias": "free", "groupBy": [ { "params": [ - "$interval" + "$__interval" ], "type": "time" }, @@ -1856,17 +2957,16 @@ "type": "fill" } ], - "intervalFactor": 2, - "measurement": "mem", + "measurement": "disk", "orderByTime": "ASC", "policy": "default", - "refId": "D", + "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ - "buffered" + "free" ], "type": "field" }, @@ -1878,9 +2978,9 @@ ], "tags": [ { - "key": "host", - "operator": "=~", - "value": "/^$host$/" + "key": "device", + "operator": "=", + "value": "sda1" } ] } @@ -1888,9 +2988,8 @@ "thresholds": [], "timeFrom": null, "timeShift": null, - "title": "Memory Distribution", + "title": "USB Memory Stick", "tooltip": { - "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" @@ -1905,17 +3004,17 @@ }, "yaxes": [ { - "$$hashKey": "object:263", + "$$hashKey": "object:522", "format": "bytes", - "label": "", + "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { - "$$hashKey": "object:264", - "format": "short", + "$$hashKey": "object:523", + "format": "bytes", "label": null, "logBase": 1, "max": null, @@ -1936,46 +3035,38 @@ "datasource": "telegraf_ds", "editable": true, "error": false, - "fill": 1, + "fill": 2, "gridPos": { - "h": 7, - "w": 24, + "h": 6, + "w": 12, "x": 0, - "y": 32 + "y": 25 }, - "id": 12, + "id": 11, "legend": { - "alignAsTable": true, - "avg": true, + "avg": false, "current": false, - "max": true, - "min": true, - "rightSide": true, + "max": false, + "min": false, "show": true, "total": false, - "values": true + "values": false }, "lines": true, - "linewidth": 1, + "linewidth": 2, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [ - { - "alias": "Bytes OUT", - "transform": "negative-Y" - } - ], + "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "$$hashKey": "object:318", - "alias": "Bytes IN", + "alias": "Read bytes", "dsType": "influxdb", "expr": "", "groupBy": [ @@ -1992,17 +3083,19 @@ "type": "fill" } ], + "hide": false, "intervalFactor": 2, - "measurement": "net", - "orderByTime": "ASC", + "measurement": "diskio", "policy": "default", + "query": "SELECT derivative(mean(\"read_bytes\"), 5m) FROM \"diskio\" WHERE \"host\" =~ /^$host$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ - "bytes_recv" + "read_bytes" ], "type": "field" }, @@ -2012,7 +3105,7 @@ }, { "params": [ - "1s" + "1m" ], "type": "derivative" } @@ -2023,18 +3116,11 @@ "key": "host", "operator": "=~", "value": "/^$host$/" - }, - { - "condition": "AND", - "key": "interface", - "operator": "=", - "value": "wlan0" } ] }, { - "$$hashKey": "object:319", - "alias": "Bytes OUT", + "alias": "Write bytes", "dsType": "influxdb", "expr": "", "groupBy": [ @@ -2052,8 +3138,7 @@ } ], "intervalFactor": 2, - "measurement": "net", - "orderByTime": "ASC", + "measurement": "diskio", "policy": "default", "refId": "B", "resultFormat": "time_series", @@ -2061,7 +3146,7 @@ [ { "params": [ - "bytes_sent" + "write_bytes" ], "type": "field" }, @@ -2071,7 +3156,7 @@ }, { "params": [ - "1s" + "1m" ], "type": "derivative" } @@ -2082,12 +3167,6 @@ "key": "host", "operator": "=~", "value": "/^$host$/" - }, - { - "condition": "AND", - "key": "interface", - "operator": "=", - "value": "wlan0" } ] } @@ -2095,7 +3174,7 @@ "thresholds": [], "timeFrom": null, "timeShift": null, - "title": "wlan0 Traffic", + "title": "I/O Activity", "tooltip": { "msResolution": false, "shared": true, @@ -2112,7 +3191,7 @@ }, "yaxes": [ { - "format": "Bps", + "format": "bytes", "label": null, "logBase": 1, "max": null, @@ -2143,10 +3222,10 @@ "error": false, "fill": 1, "gridPos": { - "h": 7, + "h": 6, "w": 12, - "x": 0, - "y": 39 + "x": 12, + "y": 25 }, "id": 10, "legend": { @@ -2451,38 +3530,46 @@ "datasource": "telegraf_ds", "editable": true, "error": false, - "fill": 2, + "fill": 1, "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 39 + "h": 8, + "w": 24, + "x": 0, + "y": 31 }, - "id": 11, + "id": 12, "legend": { - "avg": false, + "alignAsTable": true, + "avg": true, "current": false, - "max": false, - "min": false, + "max": true, + "min": true, + "rightSide": true, "show": true, "total": false, - "values": false + "values": true }, "lines": true, - "linewidth": 2, + "linewidth": 1, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [], + "seriesOverrides": [ + { + "alias": "Bytes OUT", + "transform": "negative-Y" + } + ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "alias": "Read bytes", + "$$hashKey": "object:318", + "alias": "Bytes IN", "dsType": "influxdb", "expr": "", "groupBy": [ @@ -2499,19 +3586,17 @@ "type": "fill" } ], - "hide": false, "intervalFactor": 2, - "measurement": "diskio", + "measurement": "net", + "orderByTime": "ASC", "policy": "default", - "query": "SELECT derivative(mean(\"read_bytes\"), 5m) FROM \"diskio\" WHERE \"host\" =~ /^$host$/ AND $timeFilter GROUP BY time($interval) fill(null)", - "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ - "read_bytes" + "bytes_recv" ], "type": "field" }, @@ -2521,7 +3606,7 @@ }, { "params": [ - "1m" + "1s" ], "type": "derivative" } @@ -2532,11 +3617,18 @@ "key": "host", "operator": "=~", "value": "/^$host$/" + }, + { + "condition": "AND", + "key": "interface", + "operator": "=", + "value": "wlan0" } ] }, { - "alias": "Write bytes", + "$$hashKey": "object:319", + "alias": "Bytes OUT", "dsType": "influxdb", "expr": "", "groupBy": [ @@ -2554,7 +3646,8 @@ } ], "intervalFactor": 2, - "measurement": "diskio", + "measurement": "net", + "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", @@ -2562,7 +3655,7 @@ [ { "params": [ - "write_bytes" + "bytes_sent" ], "type": "field" }, @@ -2572,7 +3665,7 @@ }, { "params": [ - "1m" + "1s" ], "type": "derivative" } @@ -2583,6 +3676,12 @@ "key": "host", "operator": "=~", "value": "/^$host$/" + }, + { + "condition": "AND", + "key": "interface", + "operator": "=", + "value": "wlan0" } ] } @@ -2590,7 +3689,7 @@ "thresholds": [], "timeFrom": null, "timeShift": null, - "title": "I/O Activity", + "title": "wlan0 Traffic", "tooltip": { "msResolution": false, "shared": true, @@ -2607,7 +3706,7 @@ }, "yaxes": [ { - "format": "bytes", + "format": "Bps", "label": null, "logBase": 1, "max": null, @@ -2642,7 +3741,6 @@ { "allValue": null, "current": { - "tags": [], "text": "997563c", "value": "997563c" }, @@ -2666,8 +3764,8 @@ ] }, "time": { - "from": "now/d", - "to": "now/d" + "from": "now-12h", + "to": "now" }, "timepicker": { "refresh_intervals": [