-
-
Save PhillipJacobsen/859a33d429882edd466a9bd2a8b58331 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "__inputs": [ | |
| { | |
| "name": "DS_INFLUXDB", | |
| "label": "InfluxDB", | |
| "description": "", | |
| "type": "datasource", | |
| "pluginId": "influxdb", | |
| "pluginName": "InfluxDB" | |
| }, | |
| { | |
| "name": "DS_JSON_API LOCAL", | |
| "label": "JSON API Local", | |
| "description": "", | |
| "type": "datasource", | |
| "pluginId": "marcusolsson-json-datasource", | |
| "pluginName": "JSON API" | |
| } | |
| ], | |
| "__requires": [ | |
| { | |
| "type": "panel", | |
| "id": "gauge", | |
| "name": "Gauge", | |
| "version": "" | |
| }, | |
| { | |
| "type": "grafana", | |
| "id": "grafana", | |
| "name": "Grafana", | |
| "version": "7.4.0" | |
| }, | |
| { | |
| "type": "panel", | |
| "id": "graph", | |
| "name": "Graph", | |
| "version": "" | |
| }, | |
| { | |
| "type": "datasource", | |
| "id": "influxdb", | |
| "name": "InfluxDB", | |
| "version": "1.0.0" | |
| }, | |
| { | |
| "type": "datasource", | |
| "id": "marcusolsson-json-datasource", | |
| "name": "JSON API", | |
| "version": "1.1.1" | |
| }, | |
| { | |
| "type": "panel", | |
| "id": "stat", | |
| "name": "Stat", | |
| "version": "" | |
| } | |
| ], | |
| "annotations": { | |
| "list": [ | |
| { | |
| "builtIn": 1, | |
| "datasource": "-- Grafana --", | |
| "enable": true, | |
| "hide": true, | |
| "iconColor": "rgba(0, 211, 255, 1)", | |
| "name": "Annotations & Alerts", | |
| "type": "dashboard" | |
| } | |
| ] | |
| }, | |
| "description": "Ark Bridgechain CPU Monitor", | |
| "editable": true, | |
| "gnetId": 10578, | |
| "graphTooltip": 1, | |
| "id": null, | |
| "iteration": 1618971398989, | |
| "links": [], | |
| "panels": [ | |
| { | |
| "collapsed": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "gridPos": { | |
| "h": 1, | |
| "w": 24, | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "id": 61987, | |
| "panels": [], | |
| "repeat": null, | |
| "title": "Quick overview", | |
| "type": "row" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "datasource": "${DS_INFLUXDB}", | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "thresholds" | |
| }, | |
| "custom": {}, | |
| "decimals": 1, | |
| "mappings": [ | |
| { | |
| "id": 0, | |
| "op": "=", | |
| "text": "N/A", | |
| "type": 1, | |
| "value": "null" | |
| } | |
| ], | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "dark-green", | |
| "value": null | |
| } | |
| ] | |
| }, | |
| "unit": "s" | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 2, | |
| "x": 0, | |
| "y": 1 | |
| }, | |
| "id": 61858, | |
| "interval": null, | |
| "links": [], | |
| "maxDataPoints": 100, | |
| "options": { | |
| "colorMode": "value", | |
| "graphMode": "none", | |
| "justifyMode": "auto", | |
| "orientation": "horizontal", | |
| "reduceOptions": { | |
| "calcs": [ | |
| "lastNotNull" | |
| ], | |
| "fields": "", | |
| "values": false | |
| }, | |
| "text": {}, | |
| "textMode": "auto" | |
| }, | |
| "pluginVersion": "7.4.0", | |
| "targets": [ | |
| { | |
| "dsType": "influxdb", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "null" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "system", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "uptime" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "last" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$server$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "title": "Uptime", | |
| "type": "stat" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "datasource": "${DS_INFLUXDB}", | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "thresholds" | |
| }, | |
| "custom": {}, | |
| "mappings": [ | |
| { | |
| "id": 0, | |
| "op": "=", | |
| "text": "N/A", | |
| "type": 1, | |
| "value": "null" | |
| } | |
| ], | |
| "max": 100, | |
| "min": 0, | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "dark-green", | |
| "value": null | |
| }, | |
| { | |
| "color": "rgba(237, 129, 40, 0.89)", | |
| "value": 70 | |
| }, | |
| { | |
| "color": "rgba(245, 54, 54, 0.9)", | |
| "value": 80 | |
| } | |
| ] | |
| }, | |
| "unit": "percent" | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 2, | |
| "x": 2, | |
| "y": 1 | |
| }, | |
| "id": 61861, | |
| "interval": null, | |
| "links": [], | |
| "maxDataPoints": 100, | |
| "options": { | |
| "orientation": "horizontal", | |
| "reduceOptions": { | |
| "calcs": [ | |
| "lastNotNull" | |
| ], | |
| "fields": "", | |
| "values": false | |
| }, | |
| "showThresholdLabels": false, | |
| "showThresholdMarkers": true, | |
| "text": {} | |
| }, | |
| "pluginVersion": "7.4.0", | |
| "targets": [ | |
| { | |
| "dsType": "influxdb", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "null" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "cpu", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "usage_idle" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "last" | |
| }, | |
| { | |
| "params": [ | |
| "* -1 + 100" | |
| ], | |
| "type": "math" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$server$/" | |
| }, | |
| { | |
| "condition": "AND", | |
| "key": "cpu", | |
| "operator": "=", | |
| "value": "cpu-total" | |
| } | |
| ] | |
| } | |
| ], | |
| "title": "CPU usage", | |
| "type": "gauge" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "datasource": "${DS_INFLUXDB}", | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "thresholds" | |
| }, | |
| "custom": {}, | |
| "mappings": [ | |
| { | |
| "id": 0, | |
| "op": "=", | |
| "text": "N/A", | |
| "type": 1, | |
| "value": "null" | |
| } | |
| ], | |
| "max": 100, | |
| "min": 0, | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "dark-green", | |
| "value": null | |
| }, | |
| { | |
| "color": "rgba(237, 129, 40, 0.89)", | |
| "value": 70 | |
| }, | |
| { | |
| "color": "rgba(245, 54, 54, 0.9)", | |
| "value": 80 | |
| } | |
| ] | |
| }, | |
| "unit": "percent" | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 2, | |
| "x": 4, | |
| "y": 1 | |
| }, | |
| "id": 61860, | |
| "interval": null, | |
| "links": [], | |
| "maxDataPoints": 100, | |
| "options": { | |
| "orientation": "horizontal", | |
| "reduceOptions": { | |
| "calcs": [ | |
| "lastNotNull" | |
| ], | |
| "fields": "", | |
| "values": false | |
| }, | |
| "showThresholdLabels": false, | |
| "showThresholdMarkers": true, | |
| "text": {} | |
| }, | |
| "pluginVersion": "7.4.0", | |
| "targets": [ | |
| { | |
| "dsType": "influxdb", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "null" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "mem", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "used_percent" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "last" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$server$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "title": "RAM usage", | |
| "type": "gauge" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "datasource": "${DS_INFLUXDB}", | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "thresholds" | |
| }, | |
| "custom": {}, | |
| "decimals": 0, | |
| "mappings": [ | |
| { | |
| "id": 0, | |
| "op": "=", | |
| "text": "N/A", | |
| "type": 1, | |
| "value": "null" | |
| } | |
| ], | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "dark-green", | |
| "value": null | |
| } | |
| ] | |
| }, | |
| "unit": "none" | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 2, | |
| "x": 6, | |
| "y": 1 | |
| }, | |
| "id": 61864, | |
| "interval": null, | |
| "links": [], | |
| "maxDataPoints": 100, | |
| "options": { | |
| "colorMode": "value", | |
| "graphMode": "area", | |
| "justifyMode": "auto", | |
| "orientation": "horizontal", | |
| "reduceOptions": { | |
| "calcs": [ | |
| "lastNotNull" | |
| ], | |
| "fields": "", | |
| "values": false | |
| }, | |
| "text": {}, | |
| "textMode": "auto" | |
| }, | |
| "pluginVersion": "7.4.0", | |
| "targets": [ | |
| { | |
| "dsType": "influxdb", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "null" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "processes", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "total" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "last" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$server$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "title": "Processes", | |
| "type": "stat" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "datasource": "${DS_INFLUXDB}", | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "thresholds" | |
| }, | |
| "custom": {}, | |
| "decimals": 0, | |
| "mappings": [ | |
| { | |
| "id": 0, | |
| "op": "=", | |
| "text": "N/A", | |
| "type": 1, | |
| "value": "null" | |
| } | |
| ], | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "dark-green", | |
| "value": null | |
| } | |
| ] | |
| }, | |
| "unit": "none" | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 2, | |
| "x": 8, | |
| "y": 1 | |
| }, | |
| "id": 61865, | |
| "interval": null, | |
| "links": [], | |
| "maxDataPoints": 100, | |
| "options": { | |
| "colorMode": "value", | |
| "graphMode": "area", | |
| "justifyMode": "auto", | |
| "orientation": "horizontal", | |
| "reduceOptions": { | |
| "calcs": [ | |
| "lastNotNull" | |
| ], | |
| "fields": "", | |
| "values": false | |
| }, | |
| "text": {}, | |
| "textMode": "auto" | |
| }, | |
| "pluginVersion": "7.4.0", | |
| "targets": [ | |
| { | |
| "dsType": "influxdb", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "null" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "processes", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "total_threads" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "last" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$server$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "title": "Threads", | |
| "type": "stat" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "datasource": "${DS_INFLUXDB}", | |
| "description": "Swap usage", | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "thresholds" | |
| }, | |
| "custom": {}, | |
| "decimals": 0, | |
| "mappings": [ | |
| { | |
| "id": 0, | |
| "op": "=", | |
| "text": "N/A", | |
| "type": 1, | |
| "value": "null" | |
| } | |
| ], | |
| "max": 100, | |
| "min": 0, | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "rgba(50, 172, 45, 0.97)", | |
| "value": null | |
| }, | |
| { | |
| "color": "rgba(237, 129, 40, 0.89)", | |
| "value": 50 | |
| }, | |
| { | |
| "color": "rgba(245, 54, 54, 0.9)", | |
| "value": 70 | |
| } | |
| ] | |
| }, | |
| "unit": "percent" | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 2, | |
| "x": 10, | |
| "y": 1 | |
| }, | |
| "id": 61863, | |
| "interval": null, | |
| "links": [], | |
| "maxDataPoints": 100, | |
| "options": { | |
| "orientation": "horizontal", | |
| "reduceOptions": { | |
| "calcs": [ | |
| "lastNotNull" | |
| ], | |
| "fields": "", | |
| "values": false | |
| }, | |
| "showThresholdLabels": false, | |
| "showThresholdMarkers": true, | |
| "text": {} | |
| }, | |
| "pluginVersion": "7.4.0", | |
| "targets": [ | |
| { | |
| "dsType": "influxdb", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "null" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "swap", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "used_percent" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "last" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$server$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "title": "Swap", | |
| "type": "gauge" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "datasource": "${DS_INFLUXDB}", | |
| "description": "RootFS Used", | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "thresholds" | |
| }, | |
| "custom": {}, | |
| "decimals": 0, | |
| "mappings": [ | |
| { | |
| "id": 0, | |
| "op": "=", | |
| "text": "N/A", | |
| "type": 1, | |
| "value": "null" | |
| } | |
| ], | |
| "max": 100, | |
| "min": 0, | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "dark-green", | |
| "value": null | |
| }, | |
| { | |
| "color": "rgba(237, 129, 40, 0.89)", | |
| "value": 70 | |
| }, | |
| { | |
| "color": "rgba(245, 54, 54, 0.9)", | |
| "value": 80 | |
| } | |
| ] | |
| }, | |
| "unit": "percent" | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 2, | |
| "x": 12, | |
| "y": 1 | |
| }, | |
| "id": 61866, | |
| "interval": null, | |
| "links": [], | |
| "maxDataPoints": 100, | |
| "options": { | |
| "orientation": "horizontal", | |
| "reduceOptions": { | |
| "calcs": [ | |
| "lastNotNull" | |
| ], | |
| "fields": "", | |
| "values": false | |
| }, | |
| "showThresholdLabels": false, | |
| "showThresholdMarkers": true, | |
| "text": {} | |
| }, | |
| "pluginVersion": "7.4.0", | |
| "targets": [ | |
| { | |
| "dsType": "influxdb", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "null" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "disk", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "used_percent" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "last" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$server$/" | |
| }, | |
| { | |
| "condition": "AND", | |
| "key": "path", | |
| "operator": "=", | |
| "value": "/" | |
| } | |
| ] | |
| } | |
| ], | |
| "title": "RootFS", | |
| "type": "gauge" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "datasource": "${DS_INFLUXDB}", | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "thresholds" | |
| }, | |
| "custom": {}, | |
| "decimals": 0, | |
| "mappings": [ | |
| { | |
| "id": 0, | |
| "op": "=", | |
| "text": "N/A", | |
| "type": 1, | |
| "value": "null" | |
| } | |
| ], | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "dark-green", | |
| "value": null | |
| }, | |
| { | |
| "color": "rgba(237, 129, 40, 0.89)", | |
| "value": 1 | |
| }, | |
| { | |
| "color": "rgba(245, 54, 54, 0.9)", | |
| "value": 5 | |
| } | |
| ] | |
| }, | |
| "unit": "none" | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 2, | |
| "x": 14, | |
| "y": 1 | |
| }, | |
| "id": 61862, | |
| "interval": null, | |
| "links": [], | |
| "maxDataPoints": 100, | |
| "options": { | |
| "colorMode": "value", | |
| "graphMode": "none", | |
| "justifyMode": "auto", | |
| "orientation": "horizontal", | |
| "reduceOptions": { | |
| "calcs": [ | |
| "lastNotNull" | |
| ], | |
| "fields": "", | |
| "values": false | |
| }, | |
| "text": {}, | |
| "textMode": "auto" | |
| }, | |
| "pluginVersion": "7.4.0", | |
| "targets": [ | |
| { | |
| "dsType": "influxdb", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "null" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "processes", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "zombies" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "last" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$server$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "title": "Zombies", | |
| "type": "stat" | |
| }, | |
| { | |
| "datasource": "${DS_JSON_API LOCAL}", | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "thresholds" | |
| }, | |
| "custom": {}, | |
| "mappings": [], | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "green", | |
| "value": null | |
| }, | |
| { | |
| "color": "red", | |
| "value": 80 | |
| } | |
| ] | |
| } | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 4, | |
| "x": 16, | |
| "y": 1 | |
| }, | |
| "id": 62042, | |
| "options": { | |
| "colorMode": "value", | |
| "graphMode": "area", | |
| "justifyMode": "auto", | |
| "orientation": "auto", | |
| "reduceOptions": { | |
| "calcs": [ | |
| "last" | |
| ], | |
| "fields": "/.*/", | |
| "values": false | |
| }, | |
| "text": {}, | |
| "textMode": "auto" | |
| }, | |
| "pluginVersion": "7.4.0", | |
| "targets": [ | |
| { | |
| "cacheDurationSeconds": 300, | |
| "fields": [ | |
| { | |
| "jsonPath": "$.data.synced", | |
| "name": "" | |
| } | |
| ], | |
| "method": "GET", | |
| "queryParams": "", | |
| "refId": "A", | |
| "urlPath": "/api/node/status" | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Relay Synced?", | |
| "type": "stat" | |
| }, | |
| { | |
| "datasource": "${DS_JSON_API LOCAL}", | |
| "fieldConfig": { | |
| "defaults": { | |
| "color": { | |
| "mode": "thresholds" | |
| }, | |
| "custom": {}, | |
| "mappings": [], | |
| "thresholds": { | |
| "mode": "absolute", | |
| "steps": [ | |
| { | |
| "color": "green", | |
| "value": null | |
| }, | |
| { | |
| "color": "red", | |
| "value": 80 | |
| } | |
| ] | |
| } | |
| }, | |
| "overrides": [] | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 4, | |
| "x": 20, | |
| "y": 1 | |
| }, | |
| "id": 62052, | |
| "options": { | |
| "colorMode": "value", | |
| "graphMode": "area", | |
| "justifyMode": "auto", | |
| "orientation": "auto", | |
| "reduceOptions": { | |
| "calcs": [ | |
| "last" | |
| ], | |
| "fields": "/.*/", | |
| "values": false | |
| }, | |
| "text": {}, | |
| "textMode": "auto" | |
| }, | |
| "pluginVersion": "7.4.0", | |
| "targets": [ | |
| { | |
| "cacheDurationSeconds": 300, | |
| "fields": [ | |
| { | |
| "jsonPath": "$.data.core.version", | |
| "name": "" | |
| } | |
| ], | |
| "method": "GET", | |
| "queryParams": "", | |
| "refId": "A", | |
| "urlPath": "/api/node/configuration" | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Relay Software Version", | |
| "type": "stat" | |
| }, | |
| { | |
| "collapsed": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "gridPos": { | |
| "h": 1, | |
| "w": 24, | |
| "x": 0, | |
| "y": 5 | |
| }, | |
| "id": 61989, | |
| "panels": [], | |
| "repeat": null, | |
| "title": "CPU", | |
| "type": "row" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 24, | |
| "x": 0, | |
| "y": 6 | |
| }, | |
| "height": "300", | |
| "hiddenSeries": false, | |
| "id": 28239, | |
| "interval": "$inter", | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "hideEmpty": true, | |
| "hideZero": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: $col", | |
| "dsType": "influxdb", | |
| "function": "mean", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "hide": false, | |
| "measurement": "cpu_percentageBusy", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT mean(usage_user) as \"user\", mean(usage_system) as \"system\", mean(usage_softirq) as \"softirq\", mean(usage_steal) as \"steal\", mean(usage_nice) as \"nice\", mean(usage_irq) as \"irq\", mean(usage_iowait) as \"iowait\", mean(usage_guest) as \"guest\", mean(usage_guest_nice) as \"guest_nice\" FROM \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = 'cpu-total' AND $timeFilter GROUP BY time($interval), *", | |
| "rawQuery": true, | |
| "refId": "B", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "CPU usage", | |
| "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:337", | |
| "format": "percent", | |
| "label": "CPU Usage %", | |
| "logBase": 10, | |
| "max": 100, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "$$hashKey": "object:338", | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "cacheTimeout": null, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {}, | |
| "unit": "percent" | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 12, | |
| "x": 0, | |
| "y": 15 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 62021, | |
| "interval": null, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "maxDataPoints": 100, | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 2, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "dsType": "influxdb", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "null" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "cpu", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(\"usage_iowait\"), 1s) FROM \"cpu\" WHERE \"host\" =~ /^$server$/ AND \"cpu\" = 'cpu-total' AND $timeFilter GROUP BY time($interval) fill(null)", | |
| "rawQuery": false, | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "usage_iowait" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "last" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$server$/" | |
| }, | |
| { | |
| "condition": "AND", | |
| "key": "cpu", | |
| "operator": "=", | |
| "value": "cpu-total" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "IOWait", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "$$hashKey": "object:961", | |
| "format": "percent", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "$$hashKey": "object:962", | |
| "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": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 12, | |
| "x": 12, | |
| "y": 15 | |
| }, | |
| "height": "400", | |
| "hiddenSeries": false, | |
| "id": 12054, | |
| "interval": "$inter", | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [ | |
| { | |
| "$$hashKey": "object:427", | |
| "alias": "/total/", | |
| "color": "#BF1B00", | |
| "fill": 0, | |
| "linewidth": 2 | |
| } | |
| ], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: $col", | |
| "dsType": "influxdb", | |
| "function": "mean", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "mem_inactive", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT mean(total) as total, mean(used) as used, mean(cached) as cached, mean(free) as free, mean(buffered) as buffered FROM \"mem\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc", | |
| "rawQuery": true, | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Memory usage", | |
| "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:438", | |
| "format": "bytes", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "$$hashKey": "object:439", | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 0, | |
| "y": 23 | |
| }, | |
| "height": "350", | |
| "hiddenSeries": false, | |
| "id": 61852, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "hideEmpty": true, | |
| "hideZero": true, | |
| "max": true, | |
| "min": false, | |
| "rightSide": false, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: $col", | |
| "dsType": "influxdb", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "null" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "processes", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT mean(running) as running, mean(blocked) as blocked, mean(sleeping) as sleeping, mean(stopped) as stopped, mean(zombies) as zombies, mean(paging) as paging, mean(unknown) as unknown FROM \"processes\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc", | |
| "rawQuery": true, | |
| "refId": "B", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "blocked" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$server$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Processes", | |
| "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:1703", | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "$$hashKey": "object:1704", | |
| "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": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 0, | |
| "fillGradient": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 12, | |
| "y": 23 | |
| }, | |
| "height": "350", | |
| "hiddenSeries": false, | |
| "id": 54694, | |
| "interval": "$inter", | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: $col", | |
| "dsType": "influxdb", | |
| "function": "mean", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "system_load1", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT mean(load1) as short,mean(load5) as medium,mean(load15) as long FROM \"system\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), * ORDER BY asc", | |
| "rawQuery": true, | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Load averages", | |
| "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:1792", | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "$$hashKey": "object:1793", | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 10, | |
| "w": 12, | |
| "x": 0, | |
| "y": 32 | |
| }, | |
| "height": "", | |
| "hiddenSeries": false, | |
| "id": 61855, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: $col", | |
| "dsType": "influxdb", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "null" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "processes", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(context_switches),1s)as \"context switches\" FROM \"kernel\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc", | |
| "rawQuery": true, | |
| "refId": "B", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "blocked" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$server$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Context switches", | |
| "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:1613", | |
| "format": "ops", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "$$hashKey": "object:1614", | |
| "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": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "gridPos": { | |
| "h": 10, | |
| "w": 12, | |
| "x": 12, | |
| "y": 32 | |
| }, | |
| "height": "", | |
| "hiddenSeries": false, | |
| "id": 61960, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: $col", | |
| "dsType": "influxdb", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$interval" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "params": [ | |
| "null" | |
| ], | |
| "type": "fill" | |
| } | |
| ], | |
| "measurement": "kernel", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(processes_forked),1s) as forks FROM \"kernel\" WHERE \"host\" =~ /^$server$/ AND $timeFilter GROUP BY time($interval), host fill(null)", | |
| "rawQuery": true, | |
| "refId": "B", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "processes_forked" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$server$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Forks", | |
| "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:1523", | |
| "format": "ops", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "$$hashKey": "object:1524", | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "collapsed": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "gridPos": { | |
| "h": 1, | |
| "w": 24, | |
| "x": 0, | |
| "y": 42 | |
| }, | |
| "id": 61990, | |
| "panels": [], | |
| "repeat": "netif", | |
| "title": "Network interface stats for $netif", | |
| "type": "row" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 12, | |
| "x": 0, | |
| "y": 43 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 42026, | |
| "interval": "$inter", | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "rightSide": false, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [ | |
| { | |
| "$$hashKey": "object:553", | |
| "alias": "/ out$/", | |
| "transform": "negative-Y" | |
| }, | |
| { | |
| "$$hashKey": "object:554", | |
| "alias": "/ in$/", | |
| "color": "#7EB26D" | |
| }, | |
| { | |
| "$$hashKey": "object:555", | |
| "alias": "/ out$/", | |
| "color": "#BF1B00" | |
| } | |
| ], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: $tag_interface: $col", | |
| "dsType": "influxdb", | |
| "function": "derivative", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "interface", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "net_bytes_recv", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(bytes_recv),1s)*8 as \"in\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), * fill(none)", | |
| "rawQuery": true, | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| }, | |
| { | |
| "alias": "$tag_host: $tag_interface: $col", | |
| "dsType": "influxdb", | |
| "function": "derivative", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "interface", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "net_bytes_recv", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(bytes_sent),1s)*8 as \"out\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), * fill(none)", | |
| "rawQuery": true, | |
| "refId": "B", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Network Usage", | |
| "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:574", | |
| "format": "bps", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "$$hashKey": "object:575", | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 12, | |
| "x": 12, | |
| "y": 43 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 28572, | |
| "interval": "$inter", | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "rightSide": false, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [ | |
| { | |
| "alias": "/ in$/", | |
| "transform": "negative-Y" | |
| } | |
| ], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: $tag_interface: $col", | |
| "dsType": "influxdb", | |
| "function": "derivative", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "interface", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "net_bytes_recv", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(packets_recv), 1s) as \"in\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), * fill(none)", | |
| "rawQuery": true, | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| }, | |
| { | |
| "alias": "$tag_host: $tag_interface: $col", | |
| "dsType": "influxdb", | |
| "function": "derivative", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "interface", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "net_bytes_recv", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(packets_sent), 1s) as \"out\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), * fill(none)", | |
| "rawQuery": true, | |
| "refId": "B", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Network Packets", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "pps", | |
| "label": "", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {}, | |
| "links": [] | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 5, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 24, | |
| "x": 0, | |
| "y": 50 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 62031, | |
| "interval": "$inter", | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "hideEmpty": true, | |
| "hideZero": true, | |
| "max": true, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "sort": "avg", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$server: $col", | |
| "groupBy": [ | |
| { | |
| "params": [ | |
| "$__interval" | |
| ], | |
| "type": "time" | |
| } | |
| ], | |
| "measurement": "netstat", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT max(\"tcp_close\") AS \"closed\", max(\"tcp_close_wait\") AS \"close wait\", max(\"tcp_closing\") AS \"closing\", max(\"tcp_established\") AS \"established\", max(\"tcp_fin_wait1\") AS \"fin wait1\", max(\"tcp_fin_wait2\") AS \"fin wait2\", max(\"tcp_last_ack\") AS \"last ack\", max(\"tcp_syn_recv\") AS \"sync recv\", max(\"tcp_syn_sent\") AS \"sync rsent\", max(\"tcp_time_wait\") AS \"time wait\" FROM \"netstat\" WHERE (\"host\" =~ /^$server$/) AND $timeFilter GROUP BY time($__interval)", | |
| "rawQuery": false, | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "tcp_close" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "max" | |
| }, | |
| { | |
| "params": [ | |
| "closed" | |
| ], | |
| "type": "alias" | |
| } | |
| ], | |
| [ | |
| { | |
| "params": [ | |
| "tcp_close_wait" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "max" | |
| }, | |
| { | |
| "params": [ | |
| "close wait" | |
| ], | |
| "type": "alias" | |
| } | |
| ], | |
| [ | |
| { | |
| "params": [ | |
| "tcp_closing" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "max" | |
| }, | |
| { | |
| "params": [ | |
| "closing" | |
| ], | |
| "type": "alias" | |
| } | |
| ], | |
| [ | |
| { | |
| "params": [ | |
| "tcp_established" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "max" | |
| }, | |
| { | |
| "params": [ | |
| "established" | |
| ], | |
| "type": "alias" | |
| } | |
| ], | |
| [ | |
| { | |
| "params": [ | |
| "tcp_fin_wait1" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "max" | |
| }, | |
| { | |
| "params": [ | |
| "fin wait1" | |
| ], | |
| "type": "alias" | |
| } | |
| ], | |
| [ | |
| { | |
| "params": [ | |
| "tcp_fin_wait2" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "max" | |
| }, | |
| { | |
| "params": [ | |
| "fin wait2" | |
| ], | |
| "type": "alias" | |
| } | |
| ], | |
| [ | |
| { | |
| "params": [ | |
| "tcp_last_ack" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "max" | |
| }, | |
| { | |
| "params": [ | |
| "last ack" | |
| ], | |
| "type": "alias" | |
| } | |
| ], | |
| [ | |
| { | |
| "params": [ | |
| "tcp_syn_recv" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "max" | |
| }, | |
| { | |
| "params": [ | |
| "sync recv" | |
| ], | |
| "type": "alias" | |
| } | |
| ], | |
| [ | |
| { | |
| "params": [ | |
| "tcp_syn_sent" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "max" | |
| }, | |
| { | |
| "params": [ | |
| "sync rsent" | |
| ], | |
| "type": "alias" | |
| } | |
| ], | |
| [ | |
| { | |
| "params": [ | |
| "tcp_time_wait" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "max" | |
| }, | |
| { | |
| "params": [ | |
| "time wait" | |
| ], | |
| "type": "alias" | |
| } | |
| ] | |
| ], | |
| "tags": [ | |
| { | |
| "key": "host", | |
| "operator": "=~", | |
| "value": "/^$server$/" | |
| } | |
| ] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "TCP connections", | |
| "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:12556", | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "$$hashKey": "object:12557", | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": false | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "decimals": 1, | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 12, | |
| "x": 0, | |
| "y": 57 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 58901, | |
| "interval": "$inter", | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "rightSide": false, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: $tag_interface: $col", | |
| "dsType": "influxdb", | |
| "function": "derivative", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "interface", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "net_bytes_recv", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(drop_in), 1s) as \"in\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), host,interface fill(none)", | |
| "rawQuery": true, | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| }, | |
| { | |
| "alias": "$tag_host: $tag_interface: $col", | |
| "dsType": "influxdb", | |
| "function": "derivative", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "interface", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "net_bytes_recv", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(drop_out), 1s) as \"out\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), host,interface fill(none)", | |
| "rawQuery": true, | |
| "refId": "B", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Network drops", | |
| "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:641", | |
| "format": "pps", | |
| "label": "Drops per second", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "$$hashKey": "object:642", | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 12, | |
| "x": 12, | |
| "y": 57 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 50643, | |
| "interval": "$inter", | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "rightSide": false, | |
| "show": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: $tag_interface: $col", | |
| "dsType": "influxdb", | |
| "function": "derivative", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "interface", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "net_bytes_recv", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(err_in), 1s) as \"in\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), host,interface fill(none)", | |
| "rawQuery": true, | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| }, | |
| { | |
| "alias": "$tag_host: $tag_interface: $col", | |
| "dsType": "influxdb", | |
| "function": "derivative", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "interface", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "net_bytes_recv", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(err_out), 1s) as \"out\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /$netif/ AND $timeFilter GROUP BY time($interval), host,interface fill(none)", | |
| "rawQuery": true, | |
| "refId": "B", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Network errors", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": "Errors per second", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "collapsed": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "gridPos": { | |
| "h": 1, | |
| "w": 24, | |
| "x": 0, | |
| "y": 86 | |
| }, | |
| "id": 61992, | |
| "panels": [], | |
| "repeat": "disk", | |
| "title": "Disk IOPS for /dev/$disk", | |
| "type": "row" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 8, | |
| "x": 0, | |
| "y": 87 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 13782, | |
| "interval": "$inter", | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "hideEmpty": true, | |
| "max": true, | |
| "min": false, | |
| "rightSide": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "maxPerRow": 3, | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeat": null, | |
| "seriesOverrides": [ | |
| { | |
| "$$hashKey": "object:910", | |
| "alias": "/.*write$/", | |
| "transform": "negative-Y" | |
| } | |
| ], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: $tag_name: $col", | |
| "dsType": "influxdb", | |
| "function": "mean", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "path", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "io_reads", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(reads),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($interval), *", | |
| "rawQuery": true, | |
| "refId": "B", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| }, | |
| { | |
| "alias": "$tag_host: $tag_name: $col", | |
| "dsType": "influxdb", | |
| "function": "mean", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "path", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "io_reads", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(writes),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($interval), *", | |
| "rawQuery": true, | |
| "refId": "C", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Disk I/O requests for /dev/$disk", | |
| "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:917", | |
| "format": "iops", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "$$hashKey": "object:918", | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 8, | |
| "x": 8, | |
| "y": 87 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 60200, | |
| "interval": "$inter", | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "hideEmpty": true, | |
| "max": true, | |
| "min": false, | |
| "rightSide": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "maxPerRow": 3, | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeat": null, | |
| "seriesOverrides": [ | |
| { | |
| "$$hashKey": "object:1016", | |
| "alias": "/.*write$/", | |
| "transform": "negative-Y" | |
| } | |
| ], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: $tag_name: $col", | |
| "dsType": "influxdb", | |
| "function": "mean", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "path", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "io_reads", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(read_bytes),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($interval), *", | |
| "rawQuery": true, | |
| "refId": "B", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| }, | |
| { | |
| "alias": "$tag_host: $tag_name: $col", | |
| "dsType": "influxdb", | |
| "function": "mean", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "path", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "io_reads", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(write_bytes),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($interval), *", | |
| "rawQuery": true, | |
| "refId": "C", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Disk I/O bytes for /dev/$disk", | |
| "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:1023", | |
| "format": "bytes", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "$$hashKey": "object:1024", | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 8, | |
| "x": 16, | |
| "y": 87 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 56720, | |
| "interval": "$inter", | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "hideEmpty": true, | |
| "max": true, | |
| "min": false, | |
| "rightSide": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "maxPerRow": 3, | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeat": null, | |
| "seriesOverrides": [ | |
| { | |
| "$$hashKey": "object:1122", | |
| "alias": "/.*write$/", | |
| "transform": "negative-Y" | |
| } | |
| ], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: $tag_name: $col", | |
| "dsType": "influxdb", | |
| "function": "mean", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "path", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "io_reads", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(read_time),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($interval), *", | |
| "rawQuery": true, | |
| "refId": "B", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| }, | |
| { | |
| "alias": "$tag_host: $tag_name: $col", | |
| "dsType": "influxdb", | |
| "function": "mean", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "path", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "io_reads", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT non_negative_derivative(mean(write_time),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /$disk$/ AND $timeFilter GROUP BY time($interval), *", | |
| "rawQuery": true, | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Disk I/O time for /dev/$disk", | |
| "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:1129", | |
| "format": "ms", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "$$hashKey": "object:1130", | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "collapsed": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "gridPos": { | |
| "h": 1, | |
| "w": 24, | |
| "x": 0, | |
| "y": 94 | |
| }, | |
| "id": 61993, | |
| "panels": [], | |
| "repeat": "mountpoint", | |
| "title": "Disk space usage for $mountpoint", | |
| "type": "row" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 12, | |
| "x": 0, | |
| "y": 95 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 52240, | |
| "interval": "$inter", | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "hideEmpty": false, | |
| "hideZero": false, | |
| "max": true, | |
| "min": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "maxPerRow": 2, | |
| "nullPointMode": "null", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeat": null, | |
| "seriesOverrides": [ | |
| { | |
| "$$hashKey": "object:1219", | |
| "alias": "/total/", | |
| "color": "#BF1B00", | |
| "fill": 0, | |
| "linewidth": 2, | |
| "zindex": 3 | |
| } | |
| ], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: mountpoint $tag_path - $col", | |
| "dsType": "influxdb", | |
| "function": "mean", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "path", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "disk_total", | |
| "orderByTime": "ASC", | |
| "policy": "default", | |
| "query": "SELECT mean(total) AS \"total\", mean(used) as \"used\" FROM \"disk\" WHERE \"host\" =~ /$server$/ AND \"path\" =~ /^$mountpoint$/AND $timeFilter GROUP BY time($interval), \"host\", \"path\"", | |
| "rawQuery": true, | |
| "refId": "B", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Disk usage for $mountpoint", | |
| "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:1232", | |
| "format": "bytes", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "$$hashKey": "object:1233", | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": true, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_INFLUXDB}", | |
| "editable": true, | |
| "error": false, | |
| "fieldConfig": { | |
| "defaults": { | |
| "custom": {} | |
| }, | |
| "overrides": [] | |
| }, | |
| "fill": 1, | |
| "fillGradient": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 12, | |
| "x": 12, | |
| "y": 95 | |
| }, | |
| "hiddenSeries": false, | |
| "id": 33458, | |
| "interval": "$inter", | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": false, | |
| "linewidth": 1, | |
| "links": [], | |
| "maxPerRow": 2, | |
| "nullPointMode": "connected", | |
| "options": { | |
| "alertThreshold": true | |
| }, | |
| "percentage": false, | |
| "pluginVersion": "7.4.0", | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeat": null, | |
| "seriesOverrides": [ | |
| { | |
| "alias": "/used/", | |
| "color": "#447EBC", | |
| "zindex": 3 | |
| }, | |
| { | |
| "alias": "/total/", | |
| "bars": false, | |
| "color": "#BF1B00", | |
| "fill": 0, | |
| "lines": true, | |
| "linewidth": 1 | |
| } | |
| ], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": true, | |
| "targets": [ | |
| { | |
| "alias": "$tag_host: mountpoint $tag_path - $col", | |
| "dsType": "influxdb", | |
| "function": "mean", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "path", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "disk_inodes_free", | |
| "policy": "default", | |
| "query": "SELECT mean(inodes_used) as \"used\" FROM \"disk\" WHERE \"host\" =~ /$server$/ AND \"path\" =~ /^$mountpoint$/ AND $timeFilter GROUP BY time($interval), \"host\", \"path\"", | |
| "rawQuery": true, | |
| "refId": "B", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| }, | |
| { | |
| "alias": "$tag_host: mountpoint $tag_path - $col", | |
| "dsType": "influxdb", | |
| "function": "mean", | |
| "groupBy": [ | |
| { | |
| "interval": "auto", | |
| "params": [ | |
| "auto" | |
| ], | |
| "type": "time" | |
| }, | |
| { | |
| "key": "host", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| }, | |
| { | |
| "key": "path", | |
| "params": [ | |
| "tag" | |
| ], | |
| "type": "tag" | |
| } | |
| ], | |
| "measurement": "disk_inodes_free", | |
| "policy": "default", | |
| "query": "SELECT mean(inodes_free) + mean(inodes_used) as \"total\" FROM \"disk\" WHERE \"host\" =~ /$server$/ AND \"path\" =~ /^$mountpoint$/ AND $timeFilter GROUP BY time($interval), \"host\", \"path\"", | |
| "rawQuery": true, | |
| "refId": "A", | |
| "resultFormat": "time_series", | |
| "select": [ | |
| [ | |
| { | |
| "params": [ | |
| "value" | |
| ], | |
| "type": "field" | |
| }, | |
| { | |
| "params": [], | |
| "type": "mean" | |
| } | |
| ] | |
| ], | |
| "tags": [] | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeRegions": [], | |
| "timeShift": null, | |
| "title": "Disk inodes for $mountpoint", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| } | |
| ], | |
| "refresh": "10s", | |
| "schemaVersion": 27, | |
| "style": "dark", | |
| "tags": [ | |
| "CPU" | |
| ], | |
| "templating": { | |
| "list": [ | |
| { | |
| "allFormat": "glob", | |
| "current": { | |
| "selected": false, | |
| "text": "InfluxDB", | |
| "value": "InfluxDB" | |
| }, | |
| "datasource": "InfluxDB telegraf", | |
| "description": null, | |
| "error": null, | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": "", | |
| "multi": false, | |
| "name": "datasource", | |
| "options": [], | |
| "query": "influxdb", | |
| "refresh": 1, | |
| "regex": "", | |
| "skipUrlSync": false, | |
| "type": "datasource" | |
| }, | |
| { | |
| "auto": true, | |
| "auto_count": 100, | |
| "auto_min": "30s", | |
| "current": { | |
| "selected": false, | |
| "text": "30s", | |
| "value": "30s" | |
| }, | |
| "datasource": null, | |
| "description": null, | |
| "error": null, | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": "Sampling", | |
| "multi": false, | |
| "name": "inter", | |
| "options": [ | |
| { | |
| "selected": false, | |
| "text": "auto", | |
| "value": "$__auto_interval_inter" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "10s", | |
| "value": "10s" | |
| }, | |
| { | |
| "selected": true, | |
| "text": "30s", | |
| "value": "30s" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "1m", | |
| "value": "1m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "2m", | |
| "value": "2m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "5m", | |
| "value": "5m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "10m", | |
| "value": "10m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "30m", | |
| "value": "30m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "1h", | |
| "value": "1h" | |
| } | |
| ], | |
| "query": "10s,30s,1m,2m,5m,10m,30m,1h", | |
| "queryValue": "", | |
| "refresh": 2, | |
| "skipUrlSync": false, | |
| "type": "interval" | |
| }, | |
| { | |
| "allValue": null, | |
| "current": {}, | |
| "datasource": "${DS_INFLUXDB}", | |
| "definition": "", | |
| "description": null, | |
| "error": null, | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": "Server", | |
| "multi": false, | |
| "name": "server", | |
| "options": [], | |
| "query": "SHOW TAG VALUES FROM system WITH KEY=host", | |
| "refresh": 1, | |
| "regex": "", | |
| "skipUrlSync": false, | |
| "sort": 0, | |
| "tagValuesQuery": null, | |
| "tags": [], | |
| "tagsQuery": null, | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": null, | |
| "current": {}, | |
| "datasource": "$datasource", | |
| "definition": "", | |
| "description": null, | |
| "error": null, | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "Mountpoint", | |
| "multi": true, | |
| "name": "mountpoint", | |
| "options": [], | |
| "query": "SHOW TAG VALUES FROM \"disk\" WITH KEY = \"path\" WHERE host =~ /$server/", | |
| "refresh": 1, | |
| "regex": "", | |
| "skipUrlSync": false, | |
| "sort": 0, | |
| "tagValuesQuery": null, | |
| "tags": [], | |
| "tagsQuery": null, | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": null, | |
| "current": {}, | |
| "datasource": "$datasource", | |
| "definition": "", | |
| "description": null, | |
| "error": null, | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "CPU", | |
| "multi": true, | |
| "name": "cpu", | |
| "options": [], | |
| "query": "SHOW TAG VALUES FROM \"cpu\" WITH KEY = \"cpu\" WHERE host =~ /$server/", | |
| "refresh": 1, | |
| "regex": "/cpu[0-9]/", | |
| "skipUrlSync": false, | |
| "sort": 1, | |
| "tagValuesQuery": null, | |
| "tags": [], | |
| "tagsQuery": null, | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": null, | |
| "current": {}, | |
| "datasource": "$datasource", | |
| "definition": "", | |
| "description": null, | |
| "error": null, | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "Disk", | |
| "multi": true, | |
| "name": "disk", | |
| "options": [], | |
| "query": "SHOW TAG VALUES FROM \"diskio\" WITH KEY = \"name\" WHERE host =~ /$server/", | |
| "refresh": 1, | |
| "regex": "/[a-z]d[\\D]$/", | |
| "skipUrlSync": false, | |
| "sort": 0, | |
| "tagValuesQuery": null, | |
| "tags": [], | |
| "tagsQuery": null, | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": null, | |
| "current": {}, | |
| "datasource": "$datasource", | |
| "definition": "", | |
| "description": null, | |
| "error": null, | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "Network interface", | |
| "multi": true, | |
| "name": "netif", | |
| "options": [], | |
| "query": "SHOW TAG VALUES FROM \"net\" WITH KEY = \"interface\" WHERE host =~ /$server/", | |
| "refresh": 1, | |
| "regex": "^(?!.*veth|all|tap).*$", | |
| "skipUrlSync": false, | |
| "sort": 1, | |
| "tagValuesQuery": null, | |
| "tags": [], | |
| "tagsQuery": null, | |
| "type": "query", | |
| "useTags": false | |
| } | |
| ] | |
| }, | |
| "time": { | |
| "from": "now-1h", | |
| "to": "now" | |
| }, | |
| "timepicker": { | |
| "refresh_intervals": [ | |
| "5s", | |
| "10s", | |
| "30s", | |
| "1m", | |
| "5m", | |
| "15m", | |
| "30m", | |
| "1h", | |
| "2h", | |
| "1d" | |
| ], | |
| "time_options": [ | |
| "5m", | |
| "15m", | |
| "1h", | |
| "6h", | |
| "12h", | |
| "24h", | |
| "2d", | |
| "7d", | |
| "30d" | |
| ] | |
| }, | |
| "timezone": "browser", | |
| "title": "Relay CPU Monitor", | |
| "uid": "sF7d-FHZz", | |
| "version": 7 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment