From 819bff227fdd6cd2eb6fa298d772cdf01a7c2bdf Mon Sep 17 00:00:00 2001 From: Uzurka Date: Mon, 20 May 2024 17:51:22 +0200 Subject: [PATCH] Changed : Updated to /opt instead of /jffs, using newer panels in the Grafana dashboard --- README.md | 38 +- checkBandwidthInterface.sh | 2 +- checkCPU.sh | 2 +- checkCPUTemp.sh | 2 +- checkClients.sh | 2 +- checkConnections.sh | 2 +- checkDisk.sh | 2 +- checkLoad.sh | 2 +- checkMem.sh | 2 +- collector.sh | 18 +- collector20.sh | 2 +- collector40.sh | 2 +- pingGoogle.sh | 2 +- speedTest.sh | 6 +- tomato router dashboard.json | 2739 +++++++++++++++++++--------------- variables.sh | 14 +- 16 files changed, 1598 insertions(+), 1239 deletions(-) diff --git a/README.md b/README.md index 592c839..59f522f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # tomato-grafana -Scripts to display metrics from routers running FreshTomato. Developed on Netgear R7000. +Scripts to display metrics from routers running FreshTomato. Developed on Netgear R7000, updated with a Netgear R8000. ![Dashboard Preview](https://i.imgur.com/fR4c8LC.png) @@ -8,9 +8,9 @@ Based on dd-wrt-grafana by Trevor Dodds (https://grafana.com/grafana/dashboards/ # Requirements -- Router running FreshTomato (tested on 2021.2) +- Router running FreshTomato (tested on 2021.2 & 2024.1) - Server running Grafana -- Server running InfluxDB +- Server running InfluxDB (=< 1.8) # Installation @@ -20,24 +20,46 @@ Set up a blank InfluxDB database for storage (after installing influxdb-client, Connect Grafana to InfluxDB as a data source using the same username and password you set up for influx auth. -On to the router. Enable JFFS support on Tomato under Administration -> JFFS. +On to the router. Connect and mount a disk to /opt (USB Drive, SD Card, external HDD/SSD. If you already installed Entware, skip this step). -Upload all shell scripts to /jffs/tomato-grafana/. Modify the IP, port, password, and username of your influxdb server in variables.sh. Also add any additional mount points you may want to monitor in this file as well, space-delimited. Scripts do not have to be executable. +If you want to use JFFS instead, Enable JFFS support on Tomato under Administration -> JFFS -For speedtest results, download the Ookla ARM CLI tool from https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-arm-linux.tgz and place its contents into a folder called /jffs/speedtest/. The core speedtest binary should be executable. +## /opt +Upload all shell scripts to /opt/tomato-grafana/. + +## /jffs +Upload all shell scripts to /jffs/tomato-grafana/. +Before, or after uploading the scripts, run the following command in the scripts folder to replace /opt with /jffs +`find . -type f -exec sed -i 's#/jffs/#/opt/#g' {} +` + + +Modify the IP, port, password, and username of your influxdb server in variables.sh. Also add any additional mount points you may want to monitor in this file as well, space-delimited. Scripts do not have to be executable. + +For speedtest results, download the Ookla ARM CLI tool from https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-armel.tgz and place its contents into a folder called /opt/speedtest/. The core speedtest binary should be executable. Add the following three commands under Administration -> Scheduler as custom cron jobs: ``` +sh /opt/tomato-grafana/collector.sh >/dev/null 2>&1 +sh /opt/tomato-grafana/collector20.sh >/dev/null 2>&1 +sh /opt/tomato-grafana/collector40.sh >/dev/null 2>&1 +``` +or, for jffs : +``` sh /jffs/tomato-grafana/collector.sh >/dev/null 2>&1 sh /jffs/tomato-grafana/collector20.sh >/dev/null 2>&1 sh /jffs/tomato-grafana/collector40.sh >/dev/null 2>&1 ``` These should all run every 1 minute on every day of the week. The collectors will now run every 20 seconds. Additionally, add this cron for the speedtest: ``` -sh /jffs/tomato-grafana/speedTest.sh >/dev/null 2>&1 +sh /opt/tomato-grafana/speedTest.sh >/dev/null 2>&1 +``` +or, for jffs : ``` +sh /opt/tomato-grafana/speedTest.sh >/dev/null 2>&1 +``` + Run this every 30 minutes, or as often as you would like results recorded. -Import the Grafana dashboard via json file or from this dashboard code: https://grafana.com/grafana/dashboards/14237 +Import the Grafana dashboard via json file or from this dashboard code: https://grafana.com/grafana/dashboards/21104 Enjoy! diff --git a/checkBandwidthInterface.sh b/checkBandwidthInterface.sh index 2e71ed6..da2cc80 100644 --- a/checkBandwidthInterface.sh +++ b/checkBandwidthInterface.sh @@ -1,6 +1,6 @@ #!/bin/sh -source /jffs/tomato-grafana/variables.sh +source /opt/tomato-grafana/variables.sh for i in `\ls -A /sys/class/net/`; do rx=0 diff --git a/checkCPU.sh b/checkCPU.sh index ca986ec..ebcd98d 100644 --- a/checkCPU.sh +++ b/checkCPU.sh @@ -1,6 +1,6 @@ #!/bin/sh -source /jffs/tomato-grafana/variables.sh +source /opt/tomato-grafana/variables.sh cpu=`cat /proc/stat | head -n1 | sed 's/cpu //'` user=`echo $cpu | awk '{print $1}'` diff --git a/checkCPUTemp.sh b/checkCPUTemp.sh index cd745e3..63c12aa 100644 --- a/checkCPUTemp.sh +++ b/checkCPUTemp.sh @@ -1,6 +1,6 @@ #!/bin/sh -source /jffs/tomato-grafana/variables.sh +source /opt/tomato-grafana/variables.sh cpuTemp=`cat /proc/dmu/temperature | grep -o '[0-9]\+'` diff --git a/checkClients.sh b/checkClients.sh index c4f1f9d..ec6123b 100644 --- a/checkClients.sh +++ b/checkClients.sh @@ -1,6 +1,6 @@ #!/bin/sh -source /jffs/tomato-grafana/variables.sh +source /opt/tomato-grafana/variables.sh clients=`arp -an | grep -v vlan2 | wc -l` diff --git a/checkConnections.sh b/checkConnections.sh index c9dbfe0..d68d5ac 100644 --- a/checkConnections.sh +++ b/checkConnections.sh @@ -1,6 +1,6 @@ #!/bin/sh -source /jffs/tomato-grafana/variables.sh +source /opt/tomato-grafana/variables.sh connections=`cat /proc/net/nf_conntrack` tcp=`echo "$connections" | grep ipv4 | grep tcp | wc -l` diff --git a/checkDisk.sh b/checkDisk.sh index 433c34c..8e0ace1 100644 --- a/checkDisk.sh +++ b/checkDisk.sh @@ -1,6 +1,6 @@ #!/bin/sh -source /jffs/tomato-grafana/variables.sh +source /opt/tomato-grafana/variables.sh for i in $disks; do used=0 diff --git a/checkLoad.sh b/checkLoad.sh index da343c6..63377e4 100644 --- a/checkLoad.sh +++ b/checkLoad.sh @@ -1,6 +1,6 @@ #!/bin/sh -source /jffs/tomato-grafana/variables.sh +source /opt/tomato-grafana/variables.sh load=`cat /proc/loadavg` load1=`echo "$load" | awk '{print $1}'` diff --git a/checkMem.sh b/checkMem.sh index 02e0563..0929326 100644 --- a/checkMem.sh +++ b/checkMem.sh @@ -1,6 +1,6 @@ #!/bin/sh -source /jffs/tomato-grafana/variables.sh +source /opt/tomato-grafana/variables.sh mem=`cat /proc/meminfo` total=`echo "$mem" | grep ^MemTotal | awk '{print $2}'` diff --git a/collector.sh b/collector.sh index 1d5eaa3..5a122d4 100644 --- a/collector.sh +++ b/collector.sh @@ -1,10 +1,10 @@ #!/bin/sh -sh /jffs/tomato-grafana/checkDisk.sh & -sh /jffs/tomato-grafana/checkBandwidthInterface.sh & -sh /jffs/tomato-grafana/checkConnections.sh & -sh /jffs/tomato-grafana/pingGoogle.sh & -sh /jffs/tomato-grafana/checkLoad.sh & -sh /jffs/tomato-grafana/checkCPUTemp.sh & -sh /jffs/tomato-grafana/checkMem.sh & -sh /jffs/tomato-grafana/checkCPU.sh & -sh /jffs/tomato-grafana/checkClients.sh & +sh /opt/tomato-grafana/checkDisk.sh & +sh /opt/tomato-grafana/checkBandwidthInterface.sh & +sh /opt/tomato-grafana/checkConnections.sh & +sh /opt/tomato-grafana/pingGoogle.sh & +sh /opt/tomato-grafana/checkLoad.sh & +sh /opt/tomato-grafana/checkCPUTemp.sh & +sh /opt/tomato-grafana/checkMem.sh & +sh /opt/tomato-grafana/checkCPU.sh & +sh /opt/tomato-grafana/checkClients.sh & diff --git a/collector20.sh b/collector20.sh index 9f299b7..aa157d5 100644 --- a/collector20.sh +++ b/collector20.sh @@ -1,3 +1,3 @@ #!/bin/sh sleep 20 -/jffs/tomato-grafana/collector.sh +/opt/tomato-grafana/collector.sh diff --git a/collector40.sh b/collector40.sh index 8fcb626..c87c78e 100644 --- a/collector40.sh +++ b/collector40.sh @@ -1,3 +1,3 @@ #!/bin/sh sleep 40 -/jffs/tomato-grafana/collector.sh +/opt/tomato-grafana/collector.sh diff --git a/pingGoogle.sh b/pingGoogle.sh index 1614fd9..b6210e6 100644 --- a/pingGoogle.sh +++ b/pingGoogle.sh @@ -1,6 +1,6 @@ #!/bin/sh -source /jffs/tomato-grafana/variables.sh +source /opt/tomato-grafana/variables.sh googleping=`ping -c 10 www.google.com | tail -2` packet=`echo "$googleping" | tr ',' '\n' | grep "packet loss" | grep -o '[0-9]\+'` diff --git a/speedTest.sh b/speedTest.sh index 7700b95..e9490a2 100644 --- a/speedTest.sh +++ b/speedTest.sh @@ -1,10 +1,10 @@ #!/bin/sh -source /jffs/tomato-grafana/variables.sh +source /opt/tomato-grafana/variables.sh -[ ! -x /jffs/speedtest/speedtest ] && exit +[ ! -x /opt/speedtest/speedtest ] && exit -result=`/jffs/speedtest/speedtest -f csv` +result=`/opt/speedtest/speedtest -f csv` down=`echo "$result" | awk -F\" '{print $12}'` up=`echo "$result" | awk -F\" '{print $14}'` diff --git a/tomato router dashboard.json b/tomato router dashboard.json index 2ef9a01..289db31 100644 --- a/tomato router dashboard.json +++ b/tomato router dashboard.json @@ -1,26 +1,21 @@ { "__inputs": [ { - "name": "DS_INFLUXDB", - "label": "InfluxDB", + "name": "DS_INFLUXDB_FRESHTOMATO", + "label": "influxdb_freshtomato", "description": "", "type": "datasource", "pluginId": "influxdb", "pluginName": "InfluxDB" } ], + "__elements": {}, "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "8.0.6" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph (old)", - "version": "" + "version": "10.4.2" }, { "type": "datasource", @@ -33,13 +28,22 @@ "id": "stat", "name": "Stat", "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" } ], "annotations": { "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -49,14 +53,17 @@ ] }, "editable": true, + "fiscalYearStartMonth": 0, "gnetId": 14237, "graphTooltip": 1, "id": null, "links": [], "panels": [ { - "cacheTimeout": null, - "datasource": "${DS_INFLUXDB}", + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "fieldConfig": { "defaults": { "color": { @@ -101,8 +108,6 @@ "y": 0 }, "id": 13, - "interval": null, - "links": [], "maxDataPoints": "", "options": { "colorMode": "background", @@ -116,12 +121,18 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "8.0.6", + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -163,7 +174,10 @@ "type": "stat" }, { - "datasource": "${DS_INFLUXDB}", + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "fieldConfig": { "defaults": { "color": { @@ -190,7 +204,6 @@ "y": 0 }, "id": 16, - "links": [], "options": { "colorMode": "background", "graphMode": "none", @@ -203,12 +216,18 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "8.0.6", + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -244,52 +263,16 @@ ], "tags": [], "target": "aliasByNode(mem.total.kilobytes, 3)" - }, - { - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "orderByTime": "ASC", - "policy": "default", - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [], - "target": "aliasByNode(scale(mem.used.bytes, 0.0010), 3)" } ], - "timeFrom": null, - "timeShift": null, "title": "Uptime", "type": "stat" }, { - "cacheTimeout": null, - "datasource": "${DS_INFLUXDB}", + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "fieldConfig": { "defaults": { "color": { @@ -334,8 +317,6 @@ "y": 0 }, "id": 14, - "interval": null, - "links": [], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -349,12 +330,18 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "8.0.6", + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -396,8 +383,10 @@ "type": "stat" }, { - "cacheTimeout": null, - "datasource": "${DS_INFLUXDB}", + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "fieldConfig": { "defaults": { "color": { @@ -442,8 +431,6 @@ "y": 0 }, "id": 15, - "interval": null, - "links": [], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -457,12 +444,18 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "8.0.6", + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -512,8 +505,10 @@ "type": "stat" }, { - "cacheTimeout": null, - "datasource": "${DS_INFLUXDB}", + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "fieldConfig": { "defaults": { "color": { @@ -558,8 +553,6 @@ "y": 0 }, "id": 19, - "interval": null, - "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", @@ -573,12 +566,18 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "8.0.6", + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -620,54 +619,96 @@ "type": "stat" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", - "decimals": 2, - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, "gridPos": { "h": 8, "w": 7, "x": 0, "y": 3 }, - "hiddenSeries": false, "id": 1, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.0.6", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -705,94 +746,97 @@ "target": "aliasByNode(ping.*.latency, 3)" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Ping latency", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1583", - "format": "ms", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1584", - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, "gridPos": { "h": 8, "w": 3, "x": 7, "y": 3 }, - "hiddenSeries": false, "id": 3, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.0.6", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -831,92 +875,95 @@ "textEditor": false } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Packet Loss", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "logBase": 1, - "max": 100, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, "gridPos": { "h": 8, "w": 5, "x": 10, "y": 3 }, - "hiddenSeries": false, "id": 2, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.0.6", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -955,99 +1002,128 @@ "target": "aliasByNode(connections.total, 3)" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Active IP Connections", - "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:1472", - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1473", - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": { - "cpu": "#CFFAFF", - "wl1": "#F9934E" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", - "decimals": 2, - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 1, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "celsius" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "cpu" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#CFFAFF", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "wl1" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#F9934E", + "mode": "fixed" + } + } + ] + } + ] + }, "gridPos": { "h": 8, "w": 5, "x": 15, "y": 3 }, - "hiddenSeries": false, "id": 12, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], "maxDataPoints": "2", - "nullPointMode": "connected", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.0.6", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -1086,97 +1162,95 @@ "textEditor": false } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Temperature", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:3270", - "decimals": 1, - "format": "celsius", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:3271", - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "kbytes" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 4, "x": 20, "y": 3 }, - "hiddenSeries": false, "id": 22, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.0.6", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -1191,7 +1265,7 @@ "type": "fill" } ], - "measurement": "disk./jffs.used", + "measurement": "disk./opt.used", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -1213,98 +1287,127 @@ "tags": [] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Disk Usage (/jffs)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:148", - "format": "kbytes", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:149", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "title": "Disk Usage (/opt)", + "type": "timeseries" }, { - "aliasColors": { - "receive": "#508642", - "transmit": "#1F78C1" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "Bps" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "receive" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#508642", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "transmit" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#1F78C1", + "mode": "fixed" + } + } + ] + } + ] + }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 11 }, - "hiddenSeries": false, "id": 4, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.0.6", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -1349,6 +1452,10 @@ "target": "aliasByNode(scaleToSeconds(derivative(network.eth1.receive.bytes), 1), 4)" }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -1393,97 +1500,127 @@ "target": "aliasByNode(scaleToSeconds(derivative(network.eth1.transmit.bytes), 1), 4)" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "WAN (vlan2) Bandwidth", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:5412", - "format": "Bps", - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "$$hashKey": "object:5413", - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": { - "receive": "#508642", - "transmit": "#1F78C1" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "Bps" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "receive" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#508642", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "transmit" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#1F78C1", + "mode": "fixed" + } + } + ] + } + ] + }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 11 }, - "hiddenSeries": false, "id": 8, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.0.6", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -1528,6 +1665,10 @@ "target": "aliasByNode(scaleToSeconds(derivative(network.br0.receive.bytes), 1), 4)" }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -1572,97 +1713,94 @@ "target": "aliasByNode(scaleToSeconds(derivative(network.br0.transmit.bytes), 1), 4)" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "LAN (br0) Bandwidth", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:5591", - "format": "Bps", - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "$$hashKey": "object:5592", - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": { - "receive": "#508642", - "transmit": "#1F78C1" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 11 }, - "hiddenSeries": false, "id": 11, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.0.6", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -1707,6 +1845,10 @@ "target": "aliasByNode(scaleToSeconds(derivative(network.tun1.receive.bytes), 1), 4)" }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -1751,97 +1893,127 @@ "target": "aliasByNode(scaleToSeconds(derivative(network.tun1.transmit.bytes), 1), 4)" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "VPN Tunnel (tun21) Bandwidth", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:6031", - "format": "Bps", - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "$$hashKey": "object:6032", - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": { - "receive": "#508642", - "transmit": "#1F78C1" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "Bps" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "receive" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#508642", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "transmit" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#1F78C1", + "mode": "fixed" + } + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 19 }, - "hiddenSeries": false, "id": 9, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.0.6", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -1886,6 +2058,10 @@ "target": "aliasByNode(scaleToSeconds(derivative(network.eth0.receive.bytes), 1), 4)" }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -1919,109 +2095,139 @@ "type": "mean" }, { - "params": [ - "1s" - ], - "type": "derivative" + "params": [ + "1s" + ], + "type": "derivative" + } + ] + ], + "tags": [], + "target": "aliasByNode(scaleToSeconds(derivative(network.eth0.transmit.bytes), 1), 4)" + } + ], + "title": "Wireless 2.4GHz (eth1) Bandwidth", + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "Bps" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "receive" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#508642", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "transmit" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#1F78C1", + "mode": "fixed" + } } ] - ], - "tags": [], - "target": "aliasByNode(scaleToSeconds(derivative(network.eth0.transmit.bytes), 1), 4)" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Wireless 2.4GHz (eth1) Bandwidth", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:5735", - "format": "Bps", - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "$$hashKey": "object:5736", - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": { - "receive": "#508642", - "transmit": "#1F78C1" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", - "description": "", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, + } + ] + }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 19 }, - "hiddenSeries": false, "id": 10, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.0.6", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -2066,6 +2272,10 @@ "target": "aliasByNode(scaleToSeconds(derivative(network.ath1.receive.bytes), 1), 4)" }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -2110,95 +2320,96 @@ "target": "aliasByNode(scaleToSeconds(derivative(network.ath1.transmit.bytes), 1), 4)" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Wireless 5GHz (eth2) Bandwidth", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:5887", - "format": "Bps", - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "$$hashKey": "object:5888", - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "description": "", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, "gridPos": { "h": 7, "w": 6, "x": 0, "y": 26 }, - "hiddenSeries": false, "id": 5, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.0.6", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -2238,6 +2449,10 @@ "tags": [] }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -2277,110 +2492,147 @@ "tags": [] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Speedtest", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "transformations": [], - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:2890", - "format": "bps", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:2891", - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": { - "runq-sz": "#9AC48A", - "tps": "#64B0C8" - }, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", - "editable": true, - "error": false, - "fill": 2, - "fillGradient": 0, - "grid": {}, + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 100, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "runq-sz" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#9AC48A", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "tps" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#64B0C8", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "proc_total" + }, + "properties": [ + { + "id": "custom.drawStyle", + "value": "line" + }, + { + "id": "custom.drawStyle", + "value": "line" + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 4, "x": 6, "y": 26 }, - "height": "250px", - "hiddenSeries": false, "id": 6, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": false, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.0.6", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "proc_total", - "bars": false, - "lines": true, - "yaxis": 2 + "legend": { + "calcs": [ + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -2418,6 +2670,10 @@ "target": "aliasByNode(load.proc_run.number, 3)" }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -2456,109 +2712,132 @@ "target": "aliasByNode(load.proc_total.number, 3)" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Run Queue (tasks)", - "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:3025", - "format": "none", - "label": "", - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "$$hashKey": "object:3026", - "format": "none", - "label": "", - "logBase": 1, - "max": null, - "min": 0, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", - "decimals": 2, - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "max": 256000, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "kbytes" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "total" + }, + "properties": [ + { + "id": "custom.stacking", + "value": { + "group": "A", + "mode": "none" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "free" + }, + "properties": [ + { + "id": "custom.lineWidth", + "value": 0 + }, + { + "id": "custom.stacking", + "value": { + "group": "A", + "mode": "none" + } + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 4, "x": 14, "y": 26 }, - "hiddenSeries": false, "id": 17, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.0.6", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:291", - "alias": "total", - "stack": false + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, - { - "$$hashKey": "object:292", - "alias": "free", - "lines": false, - "stack": false + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -2596,6 +2875,10 @@ "target": "aliasByNode(scale(mem.used.bytes, 0.0010), 3)" }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -2633,6 +2916,10 @@ "target": "aliasByNode(mem.buffers.kilobytes, 3)" }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -2670,6 +2957,10 @@ "target": "aliasByNode(mem.cached.kilobytes, 3)" }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -2707,6 +2998,10 @@ "target": "aliasByNode(mem.active.kilobytes, 3)" }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -2744,105 +3039,151 @@ "target": "aliasByNode(mem.inactive.kilobytes, 3)" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "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:3501", - "format": "kbytes", - "logBase": 1, - "max": "256000", - "min": 0, - "show": true - }, - { - "$$hashKey": "object:3502", - "format": "bytes", - "logBase": 1, - "max": null, - "min": 0, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": { - "system": "#890F02", - "user": "#0A437C" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", - "decimals": 2, - "editable": true, - "error": false, - "fill": 3, - "fillGradient": 0, - "grid": {}, + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 30, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "system" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#890F02", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "user" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#0A437C", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "idle" + }, + "properties": [ + { + "id": "custom.lineWidth", + "value": 0 + }, + { + "id": "custom.showPoints", + "value": "never" + }, + { + "id": "custom.stacking", + "value": { + "group": "A", + "mode": "none" + } + } + ] + } + ] + }, "gridPos": { "h": 7, "w": 6, "x": 18, "y": 26 }, - "hiddenSeries": false, "id": 20, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.0.6", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "idle", - "lines": false, - "points": false, - "stack": false + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": true, - "steppedLine": false, + }, + "pluginVersion": "10.4.2", "targets": [ { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -2886,6 +3227,10 @@ "tags": [] }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -2929,6 +3274,10 @@ "tags": [] }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -2972,6 +3321,10 @@ "tags": [] }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -3015,6 +3368,10 @@ "tags": [] }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -3058,6 +3415,10 @@ "tags": [] }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -3101,6 +3462,10 @@ "tags": [] }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -3144,6 +3509,10 @@ "tags": [] }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -3187,6 +3556,10 @@ "tags": [] }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -3230,6 +3603,10 @@ "tags": [] }, { + "datasource": { + "type": "influxdb", + "uid": "${DS_INFLUXDB_FRESHTOMATO}" + }, "groupBy": [ { "params": [ @@ -3273,53 +3650,12 @@ "tags": [] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "CPU", - "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:4088", - "format": "percent", - "label": "", - "logBase": 1, - "max": "100", - "min": 0, - "show": true - }, - { - "$$hashKey": "object:4089", - "format": "bytes", - "logBase": 1, - "max": null, - "min": 0, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" } ], "refresh": "30s", - "schemaVersion": 30, - "style": "dark", + "schemaVersion": 39, "tags": [], "templating": { "list": [] @@ -3357,5 +3693,6 @@ "timezone": "browser", "title": "FreshTomato Router Dashboard", "uid": "s8WX75XMz", - "version": 22 + "version": 2, + "weekStart": "" } \ No newline at end of file diff --git a/variables.sh b/variables.sh index d90a180..966c641 100644 --- a/variables.sh +++ b/variables.sh @@ -1,7 +1,7 @@ -ifserver="192.168.0.18" -ifport="8086" -ifuser="admin" -ifpass="passwerd" -ifdb="tomato" -#add any additional mount points to monitor here, space delimited like "/jffs /nfs" -disks="/jffs" +ifserver="influxdb" # Replace with Hostname or IP of your InfluxDB (=< 1.8) server +ifport="8086" # Replace with port of your InfluxDB (=< 1.8) server +ifuser="admin" # Replace with user of your InfluxDB (=< 1.8) server +ifpass="passwerd" # Replace with password of your InfluxDB (=< 1.8) server +ifdb="tomato" # Replace with database of your InfluxDB (=< 1.8) server +#add any additional mount points to monitor here, space delimited like "/opt /nfs" +disks="/opt"