Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 1,
- "id": 66,
- "iteration": 1584392563204,
- "links": [],
- "panels": [
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "nfsd_stats",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 6,
- "x": 0,
- "y": 0
- },
- "id": 11,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "options": {},
- "pluginVersion": "6.2.5",
- "postfix": " interfaces",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT count(distinct(\"server\")) FROM (SELECT first(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'server') AND $timeFilter GROUP BY \"server\" fill(none))",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "vnas01"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "group"
- }
- ]
- }
- ],
- "thresholds": "",
- "timeFrom": null,
- "timeShift": null,
- "title": "",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "total"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "nfsd_stats",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 6,
- "x": 6,
- "y": 0
- },
- "id": 8,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "options": {},
- "pluginVersion": "6.2.5",
- "postfix": " clients",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": true,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "count",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT count(distinct(\"client\")) FROM (SELECT first(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'client') AND $timeFilter GROUP BY \"client\" fill(none)) GROUP BY time($buckets) fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "vnas01"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "group"
- }
- ]
- }
- ],
- "thresholds": "",
- "timeFrom": null,
- "timeShift": null,
- "title": "",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "nfsd_stats",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 6,
- "x": 12,
- "y": 0
- },
- "id": 9,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "options": {},
- "pluginVersion": "6.2.5",
- "postfix": " users",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": true,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT count(distinct(\"user\")) FROM (SELECT first(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'user') AND $timeFilter GROUP BY \"user\" fill(none)) GROUP BY time($buckets) fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "vnas01"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "group"
- }
- ]
- }
- ],
- "thresholds": "",
- "timeFrom": null,
- "timeShift": null,
- "title": "",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "nfsd_stats",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 6,
- "x": 18,
- "y": 0
- },
- "id": 10,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "options": {},
- "pluginVersion": "6.2.5",
- "postfix": " groups",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": true,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT count(distinct(\"group\")) FROM (SELECT first(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'group') AND $timeFilter GROUP BY \"group\" fill(none)) GROUP BY time($buckets) fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "vnas01"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "group"
- }
- ]
- }
- ],
- "thresholds": "",
- "timeFrom": null,
- "timeShift": null,
- "title": "",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "Idle": "rgb(41, 41, 41)",
- "Idle/Other": "rgb(41, 41, 41)",
- "Read (Out)": "#66db70",
- "Write": "#3381d9",
- "Write (In)": "#3381d9"
- },
- "breakPoint": "50%",
- "cacheTimeout": null,
- "combine": {
- "label": "Others",
- "threshold": "0.005"
- },
- "datasource": "nfsd_stats",
- "fontSize": "80%",
- "format": "Bps",
- "gridPos": {
- "h": 7,
- "w": 7,
- "x": 0,
- "y": 2
- },
- "id": 22,
- "interval": null,
- "legend": {
- "header": "",
- "percentage": true,
- "percentageDecimals": 2,
- "show": true,
- "sideWidth": 285,
- "sort": "current",
- "sortDesc": true,
- "values": false
- },
- "legendType": "Right side",
- "links": [],
- "maxDataPoints": 3,
- "nullPointMode": "connected",
- "options": {},
- "pieType": "pie",
- "strokeWidth": "0",
- "targets": [
- {
- "alias": "Idle",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 7500000000 - last(\"total_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'total_server') AND $timeFilter GROUP BY time($buckets) fill(null)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- },
- {
- "params": [
- "- 8053063680"
- ],
- "type": "math"
- }
- ]
- ],
- "tags": []
- },
- {
- "alias": "[[tag_server]]",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "server"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT max(\"read_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'server') AND $timeFilter GROUP BY time($buckets), \"server\" fill(null)",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "vnas01"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "server"
- }
- ]
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Current Interface Bandwidth (60Gbps)",
- "transparent": true,
- "type": "grafana-piechart-panel",
- "valueName": "current"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "nfsd_stats",
- "fill": 0,
- "gridPos": {
- "h": 7,
- "w": 17,
- "x": 7,
- "y": 2
- },
- "id": 6,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": true,
- "max": true,
- "min": false,
- "rightSide": true,
- "show": true,
- "sideWidth": 480,
- "sort": "max",
- "sortDesc": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null as zero",
- "options": {},
- "percentage": false,
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Total Read (Out)",
- "color": "#66d870",
- "dashes": true
- },
- {
- "alias": "Total Write (In)",
- "color": "#3381d9",
- "dashes": true,
- "transform": "negative-Y",
- "yaxis": 2
- },
- {
- "alias": "/^wr\\./",
- "transform": "negative-Y",
- "yaxis": 2
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "rd.[[tag_server]]",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "server"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'server') AND $timeFilter GROUP BY time($__interval), \"server\" fill(none)",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "read_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "server"
- }
- ]
- },
- {
- "alias": "wr.[[tag_server]]",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "server"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'server') AND $timeFilter GROUP BY time($__interval), \"server\" fill(none)",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "write_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "server"
- }
- ]
- },
- {
- "alias": "Total Read (Out)",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'total_server') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": false,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "read_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "total_server"
- }
- ]
- },
- {
- "alias": "Total Write (In)",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'total_server') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": false,
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "write_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "total_server"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Interface Bandwidth ($buckets buckets)",
- "tooltip": {
- "shared": true,
- "sort": 2,
- "value_type": "individual"
- },
- "transparent": true,
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": true,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Idle": "rgb(41, 41, 41)",
- "Idle/Other": "rgb(41, 41, 41)",
- "Read (Out)": "#66db70",
- "Write": "#3381d9",
- "Write (In)": "#3381d9"
- },
- "breakPoint": "50%",
- "cacheTimeout": null,
- "combine": {
- "label": "Others",
- "threshold": "0.005"
- },
- "datasource": "nfsd_stats",
- "fontSize": "80%",
- "format": "Bps",
- "gridPos": {
- "h": 7,
- "w": 7,
- "x": 0,
- "y": 9
- },
- "id": 24,
- "interval": null,
- "legend": {
- "header": "",
- "percentage": true,
- "percentageDecimals": 2,
- "show": true,
- "sideWidth": 285,
- "sort": "current",
- "sortDesc": true,
- "values": false
- },
- "legendType": "Right side",
- "links": [],
- "maxDataPoints": 3,
- "nullPointMode": "connected",
- "options": {},
- "pieType": "pie",
- "strokeWidth": "0",
- "targets": [
- {
- "alias": "Idle",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": true,
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 7500000000 - last(\"total_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'total_client') AND $timeFilter GROUP BY time($buckets) fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- },
- {
- "params": [
- "- 8053063680"
- ],
- "type": "math"
- }
- ]
- ],
- "tags": []
- },
- {
- "alias": "[[tag_client]]",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "client"
- ],
- "type": "tag"
- },
- {
- "params": [
- "none"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT max(\"read_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'server') AND $timeFilter GROUP BY time($buckets), \"server\" fill(null)",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "vnas01"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "client"
- }
- ]
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Current Client Bandwidth",
- "transparent": true,
- "type": "grafana-piechart-panel",
- "valueName": "current"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "nfsd_stats",
- "fill": 0,
- "gridPos": {
- "h": 7,
- "w": 17,
- "x": 7,
- "y": 9
- },
- "id": 4,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": true,
- "max": true,
- "min": false,
- "rightSide": true,
- "show": true,
- "sideWidth": 480,
- "sort": "current",
- "sortDesc": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null as zero",
- "options": {},
- "percentage": false,
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Total Read (Out)",
- "color": "#66db70",
- "dashes": true
- },
- {
- "alias": "Total Write (In)",
- "color": "#3381d9",
- "dashes": true,
- "transform": "negative-Y",
- "yaxis": 2
- },
- {
- "alias": "/^wr\\./",
- "transform": "negative-Y",
- "yaxis": 2
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "rd.[[tag_client]]",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "client"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "read_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "client"
- }
- ]
- },
- {
- "alias": "wr.[[tag_client]]",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "client"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "write_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "client"
- }
- ]
- },
- {
- "alias": "Total Read (Out)",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "read_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "total_client"
- }
- ]
- },
- {
- "alias": "Total Write (In)",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "write_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "total_client"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Client Bandwidth ($buckets buckets)",
- "tooltip": {
- "shared": true,
- "sort": 2,
- "value_type": "individual"
- },
- "transparent": true,
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": true,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Idle": "rgb(41, 41, 41)",
- "Idle/Other": "rgb(41, 41, 41)",
- "Read (Out)": "#66db70",
- "Write": "#3381d9",
- "Write (In)": "#3381d9"
- },
- "breakPoint": "50%",
- "cacheTimeout": null,
- "combine": {
- "label": "Others",
- "threshold": "0.005"
- },
- "datasource": "nfsd_stats",
- "fontSize": "80%",
- "format": "Bps",
- "gridPos": {
- "h": 7,
- "w": 7,
- "x": 0,
- "y": 16
- },
- "id": 23,
- "interval": null,
- "legend": {
- "header": "",
- "percentage": true,
- "percentageDecimals": 2,
- "show": true,
- "sideWidth": 285,
- "sort": "current",
- "sortDesc": true,
- "values": false
- },
- "legendType": "Right side",
- "links": [],
- "maxDataPoints": 3,
- "nullPointMode": "connected",
- "options": {},
- "pieType": "pie",
- "strokeWidth": "0",
- "targets": [
- {
- "alias": "Idle",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": true,
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 7500000000 - last(\"total_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'total_user') AND $timeFilter GROUP BY time($buckets) fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- },
- {
- "params": [
- "- 8053063680"
- ],
- "type": "math"
- }
- ]
- ],
- "tags": []
- },
- {
- "alias": "[[tag_user]]",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "user"
- ],
- "type": "tag"
- },
- {
- "params": [
- "none"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT max(\"read_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'server') AND $timeFilter GROUP BY time($buckets), \"server\" fill(null)",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "vnas01"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "user"
- }
- ]
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Current User Bandwidth",
- "transparent": true,
- "type": "grafana-piechart-panel",
- "valueName": "current"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "nfsd_stats",
- "fill": 0,
- "gridPos": {
- "h": 7,
- "w": 17,
- "x": 7,
- "y": 16
- },
- "id": 2,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": true,
- "max": true,
- "min": false,
- "rightSide": true,
- "show": true,
- "sideWidth": 480,
- "sort": "max",
- "sortDesc": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null as zero",
- "options": {},
- "percentage": false,
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Total Read (Out)",
- "color": "#66db70",
- "dashes": true
- },
- {
- "alias": "Total Write (In)",
- "color": "#3381d9",
- "dashes": true,
- "transform": "negative-Y",
- "yaxis": 2
- },
- {
- "alias": "/^wr\\./",
- "transform": "negative-Y",
- "yaxis": 2
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "rd.[[tag_user]]",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "user"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "read_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "user"
- }
- ]
- },
- {
- "alias": "wr.[[tag_user]]",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "user"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "write_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "user"
- }
- ]
- },
- {
- "alias": "Total Read (Out)",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "read_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "total_user"
- }
- ]
- },
- {
- "alias": "Total Write (In)",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "write_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "total_user"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "User Bandwidth ($buckets buckets)",
- "tooltip": {
- "shared": true,
- "sort": 2,
- "value_type": "individual"
- },
- "transparent": true,
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": true,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Idle": "rgb(41, 41, 41)",
- "Idle/Other": "rgb(41, 41, 41)",
- "Read (Out)": "#66db70",
- "Write": "#3381d9",
- "Write (In)": "#3381d9"
- },
- "breakPoint": "50%",
- "cacheTimeout": null,
- "combine": {
- "label": "Others",
- "threshold": "0.005"
- },
- "datasource": "nfsd_stats",
- "fontSize": "80%",
- "format": "Bps",
- "gridPos": {
- "h": 7,
- "w": 7,
- "x": 0,
- "y": 23
- },
- "id": 25,
- "interval": null,
- "legend": {
- "header": "",
- "percentage": true,
- "percentageDecimals": 2,
- "show": true,
- "sideWidth": 285,
- "sort": "current",
- "sortDesc": true,
- "values": false
- },
- "legendType": "Right side",
- "links": [],
- "maxDataPoints": 3,
- "nullPointMode": "connected",
- "options": {},
- "pieType": "pie",
- "strokeWidth": "0",
- "targets": [
- {
- "alias": "Idle",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": true,
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 7500000000 - last(\"total_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'total_group') AND $timeFilter GROUP BY time($buckets) fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- },
- {
- "params": [
- "- 8053063680"
- ],
- "type": "math"
- }
- ]
- ],
- "tags": []
- },
- {
- "alias": "[[tag_group]]",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "group"
- ],
- "type": "tag"
- },
- {
- "params": [
- "none"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT max(\"read_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'server') AND $timeFilter GROUP BY time($buckets), \"server\" fill(null)",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "vnas01"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "group"
- }
- ]
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Current Group Bandwidth",
- "transparent": true,
- "type": "grafana-piechart-panel",
- "valueName": "current"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "nfsd_stats",
- "fill": 0,
- "gridPos": {
- "h": 7,
- "w": 17,
- "x": 7,
- "y": 23
- },
- "id": 5,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": true,
- "max": true,
- "min": false,
- "rightSide": true,
- "show": true,
- "sideWidth": 480,
- "sort": "max",
- "sortDesc": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null as zero",
- "options": {},
- "percentage": false,
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Total Read (Out)",
- "color": "#66db70",
- "dashes": true
- },
- {
- "alias": "Total Write (In)",
- "color": "#3381d9",
- "dashes": true,
- "transform": "negative-Y",
- "yaxis": 2
- },
- {
- "alias": "/^wr\\./",
- "transform": "negative-Y",
- "yaxis": 2
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "rd.[[tag_group]]",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "group"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "read_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "group"
- }
- ]
- },
- {
- "alias": "wr.[[tag_group]]",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "group"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "write_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "group"
- }
- ]
- },
- {
- "alias": "Total Read (Out)",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "read_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "total_group"
- }
- ]
- },
- {
- "alias": "Total Write (In)",
- "groupBy": [
- {
- "params": [
- "$buckets"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "tail",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "write_rate"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=",
- "value": "$host"
- },
- {
- "condition": "AND",
- "key": "ident",
- "operator": "=",
- "value": "total_group"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Group Bandwidth ($buckets buckets)",
- "tooltip": {
- "shared": true,
- "sort": 2,
- "value_type": "individual"
- },
- "transparent": true,
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": true,
- "alignLevel": null
- }
- }
- ],
- "refresh": "5m",
- "schemaVersion": 18,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "current": {
- "selected": true,
- "text": "vnas01",
- "value": "vnas01"
- },
- "hide": 2,
- "label": "Host",
- "name": "host",
- "options": [
- {
- "selected": true,
- "text": "vnas01",
- "value": "vnas01"
- }
- ],
- "query": "vnas01",
- "skipUrlSync": false,
- "type": "constant"
- },
- {
- "auto": true,
- "auto_count": 50,
- "auto_min": "300s",
- "current": {
- "text": "auto",
- "value": "$__auto_interval_buckets"
- },
- "hide": 0,
- "label": "Buckets",
- "name": "buckets",
- "options": [
- {
- "selected": true,
- "text": "auto",
- "value": "$__auto_interval_buckets"
- },
- {
- "selected": false,
- "text": "5m",
- "value": "5m"
- },
- {
- "selected": false,
- "text": "10m",
- "value": "10m"
- },
- {
- "selected": false,
- "text": "30m",
- "value": "30m"
- },
- {
- "selected": false,
- "text": "1h",
- "value": "1h"
- },
- {
- "selected": false,
- "text": "6h",
- "value": "6h"
- },
- {
- "selected": false,
- "text": "12h",
- "value": "12h"
- },
- {
- "selected": false,
- "text": "1d",
- "value": "1d"
- },
- {
- "selected": false,
- "text": "7d",
- "value": "7d"
- },
- {
- "selected": false,
- "text": "14d",
- "value": "14d"
- },
- {
- "selected": false,
- "text": "30d",
- "value": "30d"
- }
- ],
- "query": "5m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
- "refresh": 2,
- "skipUrlSync": false,
- "type": "interval"
- },
- {
- "datasource": "nfsd_stats",
- "filters": [],
- "hide": 0,
- "label": null,
- "name": "Filters",
- "skipUrlSync": false,
- "type": "adhoc"
- }
- ]
- },
- "time": {
- "from": "now-12h",
- "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": "",
- "title": "vnas01",
- "uid": "qiad4FXWk",
- "version": 132
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement