equelin / unitymetrics

Tool for collecting metrics from a Dell EMC Unity array and translating them in InfluxDB's line protocol.
MIT License
15 stars 10 forks source link

Feature Request : Add sample (dashboard, configuration file) #4

Open mikakev1 opened 5 years ago

mikakev1 commented 5 years ago

Hi Erwan, I hope you're alright. It'd be rather pleasant if you could provide a sample ( dashboard, configuration file) so the probe would be able to produce instantly a glimpse about what's happening on the Unity.

gbloquel commented 5 years ago

Hi @equelin

Great job for the probe. Me too i'm interesting by your grafana dashboard. Could you export it and share as https://grafana.com/dashboards website or include with probe source ?

equelin commented 5 years ago

Hello @mikakev1 , @gbloquel

Thanks for your feedback but unfortunatly I no longer have access to an Unity array and I'm not sure when I'll have the opportunity to create 'shareabled' dashboards...

If I can provide any guidance for you, you can ask questions here.

curtisbuhler commented 5 years ago

Hi @equelin

Are you able to comment on how you created the variables on the dashboard?

I believe you set the type up as "Query" but I am unsure of the query to actually run.

Scrik commented 4 years ago

My dashboard for UNITY. Change in metrics SERVERNAME to server name. This dashboard for 1 server, without groups

{ "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": 0, "id": 25, "links": [], "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 0 }, "hiddenSeries": false, "id": 2, "legend": { "alignAsTable": false, "avg": false, "current": false, "hideEmpty": true, "hideZero": true, "max": false, "min": false, "rightSide": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "SPA - CPU Utilisation %", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "kpi_sp", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "utilization" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spa" } ] }, { "alias": "SPB - CPU Utilisation %", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "kpi_sp", "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "utilization" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spb" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "CPU History", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "percent", "label": null, "logBase": 1, "max": "100", "min": null, "show": true }, { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 0 }, "hiddenSeries": false, "id": 4, "legend": { "avg": false, "current": false, "hideEmpty": true, "hideZero": true, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "SPA-Total", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "memory", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "totalBytes" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spa" } ] }, { "alias": "SPA-Free", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "memory", "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "freeBytes" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spa" } ] }, { "alias": "SPA-Used", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "memory", "orderByTime": "ASC", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "totalUsedBytes" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spa" } ] }, { "alias": "SPB-Total", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "memory", "orderByTime": "ASC", "policy": "default", "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "totalBytes" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spb" } ] }, { "alias": "SPB-Free", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "memory", "orderByTime": "ASC", "policy": "default", "refId": "E", "resultFormat": "time_series", "select": [ [ { "params": [ "freeBytes" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spb" } ] }, { "alias": "SPB-Used", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "memory", "orderByTime": "ASC", "policy": "default", "refId": "F", "resultFormat": "time_series", "select": [ [ { "params": [ "totalUsedBytes" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spb" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Memory History", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "#F2495C", "#FADE2A", "#73BF69" ], "datasource": "InfluxDB", "decimals": 0, "format": "s", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 8, "w": 4, "x": 16, "y": 0 }, "id": 14, "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": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "alias": "SPA", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT last(\"uptime\") FROM \"cpu\" WHERE (\"unity\" = 'SERVERNAME' AND \"sp\" = 'spa') AND $timeFilter GROUP BY time($interval) fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "uptime" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spa" } ] } ], "thresholds": "3600,28800", "timeFrom": null, "timeShift": null, "title": "Uptime (SPA)", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" }, { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "#F2495C", "#FADE2A", "#73BF69" ], "datasource": null, "decimals": 0, "format": "s", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 8, "w": 4, "x": 20, "y": 0 }, "id": 15, "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": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "alias": "SPB", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT last(\"uptime\") FROM \"cpu\" WHERE (\"unity\" = 'SERVERNAME' AND \"sp\" = 'spa') AND $timeFilter GROUP BY time($interval) fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "uptime" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spb" } ] } ], "thresholds": "3600,28800", "timeFrom": null, "timeShift": null, "title": "Uptime (SPB)", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 0, "y": 8 }, "hiddenSeries": false, "id": 10, "legend": { "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "SERVERNAME", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "kpi_disk", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "responseTime" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Response Time History (Global)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "µs", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 8, "y": 8 }, "hiddenSeries": false, "id": 8, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "SERVERNAME", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "kpi_disk", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "queueLength" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Queue Length (Global)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "cps", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "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": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 16, "y": 8 }, "hiddenSeries": false, "id": 6, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "SERVERNAME", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "kpi_disk", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "throughput" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "IOPS History (Global)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "iops", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "alert": { "alertRuleTags": {}, "conditions": [ { "evaluator": { "params": [ 210000000000 ], "type": "lt" }, "operator": { "type": "and" }, "query": { "params": [ "C", "5m", "now" ] }, "reducer": { "params": [], "type": "last" }, "type": "query" } ], "executionErrorState": "alerting", "for": "5m", "frequency": "1m", "handler": 1, "message": "На сервере SERVERNAME осталось свободного места менее 200 ГБ", "name": "Pool Usage SERVERNAME alert", "noDataState": "alerting", "notifications": [] }, "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 14 }, "hiddenSeries": false, "id": 12, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": true, "hideZero": true, "max": true, "min": true, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "connected", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "Pool 1 (Total)", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "pool", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "sizetotal" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "pool", "operator": "=", "value": "pool_1" } ] }, { "alias": "Pool 1 (Used)", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "pool", "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "sizeused" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "pool", "operator": "=", "value": "pool_1" } ] }, { "alias": "Pool 1 (Free)", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "pool", "orderByTime": "ASC", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "sizefree" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "pool", "operator": "=", "value": "pool_1" } ] } ], "thresholds": [ { "colorMode": "critical", "fill": true, "line": true, "op": "lt", "value": 210000000000, "yaxis": "left" } ], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Pool Usage History (Global)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "alert": { "alertRuleTags": {}, "conditions": [ { "evaluator": { "params": [ 2048000000000 ], "type": "lt" }, "operator": { "type": "and" }, "query": { "params": [ "D", "5m", "now" ] }, "reducer": { "params": [], "type": "avg" }, "type": "query" } ], "executionErrorState": "alerting", "for": "5m", "frequency": "1m", "handler": 1, "message": "Свободное место в файловой системе СХД SERVERNAME меньше 2Тб", "name": "FileSystem Usage History (Global) alert", "noDataState": "alerting", "notifications": [] }, "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 21 }, "hiddenSeries": false, "id": 16, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": true, "hideZero": true, "max": true, "min": true, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "connected", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "FileSystem fs01 (Total)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "storageresource", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "sizetotal" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "storageresourcename", "operator": "=", "value": "fs01" } ] }, { "alias": "FileSystem fs01 (Used)", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "storageresource", "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "sizeused" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "storageresourcename", "operator": "=", "value": "fs01" } ] }, { "alias": "FileSystem fs01 (Allocated)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "storageresource", "orderByTime": "ASC", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "sizeallocated" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "storageresourcename", "operator": "=", "value": "fs01" } ] }, { "alias": "FileSystem fs01 (Free)", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "storageresource", "orderByTime": "ASC", "policy": "default", "query": "SELECT (mean(\"sizeallocated\")-mean(\"sizeused\")) FROM \"storageresource\" WHERE (\"unity\" = 'SERVERNAME' AND \"storageresourcename\" = 'fs01') AND $timeFilter GROUP BY time($interval) fill(linear)", "rawQuery": true, "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "sizeallocated" ], "type": "field" }, { "params": [], "type": "mean" } ], [ { "params": [ "sizeused" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "storageresourcename", "operator": "=", "value": "fs01" } ] } ], "thresholds": [ { "colorMode": "critical", "fill": true, "line": true, "op": "lt", "value": 2048000000000 } ], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "FileSystem Usage History (Global)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } } ], "refresh": "5s", "schemaVersion": 21, "style": "dark", "tags": [ "spb", "СХД" ], "templating": { "list": [] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "СХД DELL EMC", "uid": "ulC2wPuZz", "version": 58 }

mattiaoui commented 4 years ago

My dashboard for UNITY. Change in metrics SERVERNAME to server name. This dashboard for 1 server, without groups

{ "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": 0, "id": 25, "links": [], "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 0 }, "hiddenSeries": false, "id": 2, "legend": { "alignAsTable": false, "avg": false, "current": false, "hideEmpty": true, "hideZero": true, "max": false, "min": false, "rightSide": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "SPA - CPU Utilisation %", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "kpi_sp", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "utilization" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spa" } ] }, { "alias": "SPB - CPU Utilisation %", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "kpi_sp", "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "utilization" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spb" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "CPU History", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "percent", "label": null, "logBase": 1, "max": "100", "min": null, "show": true }, { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 0 }, "hiddenSeries": false, "id": 4, "legend": { "avg": false, "current": false, "hideEmpty": true, "hideZero": true, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "SPA-Total", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "memory", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "totalBytes" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spa" } ] }, { "alias": "SPA-Free", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "memory", "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "freeBytes" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spa" } ] }, { "alias": "SPA-Used", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "memory", "orderByTime": "ASC", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "totalUsedBytes" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spa" } ] }, { "alias": "SPB-Total", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "memory", "orderByTime": "ASC", "policy": "default", "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "totalBytes" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spb" } ] }, { "alias": "SPB-Free", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "memory", "orderByTime": "ASC", "policy": "default", "refId": "E", "resultFormat": "time_series", "select": [ [ { "params": [ "freeBytes" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spb" } ] }, { "alias": "SPB-Used", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "memory", "orderByTime": "ASC", "policy": "default", "refId": "F", "resultFormat": "time_series", "select": [ [ { "params": [ "totalUsedBytes" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spb" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Memory History", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "#F2495C", "#FADE2A", "#73BF69" ], "datasource": "InfluxDB", "decimals": 0, "format": "s", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 8, "w": 4, "x": 16, "y": 0 }, "id": 14, "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": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "alias": "SPA", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT last("uptime") FROM "cpu" WHERE ("unity" = 'SERVERNAME' AND "sp" = 'spa') AND $timeFilter GROUP BY time($interval) fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "uptime" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spa" } ] } ], "thresholds": "3600,28800", "timeFrom": null, "timeShift": null, "title": "Uptime (SPA)", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" }, { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "#F2495C", "#FADE2A", "#73BF69" ], "datasource": null, "decimals": 0, "format": "s", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 8, "w": 4, "x": 20, "y": 0 }, "id": 15, "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": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "alias": "SPB", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "query": "SELECT last("uptime") FROM "cpu" WHERE ("unity" = 'SERVERNAME' AND "sp" = 'spa') AND $timeFilter GROUP BY time($interval) fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "uptime" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "sp", "operator": "=", "value": "spb" } ] } ], "thresholds": "3600,28800", "timeFrom": null, "timeShift": null, "title": "Uptime (SPB)", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 0, "y": 8 }, "hiddenSeries": false, "id": 10, "legend": { "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "SERVERNAME", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "kpi_disk", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "responseTime" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Response Time History (Global)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "µs", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 8, "y": 8 }, "hiddenSeries": false, "id": 8, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "SERVERNAME", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "kpi_disk", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "queueLength" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Queue Length (Global)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "cps", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "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": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 16, "y": 8 }, "hiddenSeries": false, "id": 6, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "SERVERNAME", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "kpi_disk", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "throughput" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "IOPS History (Global)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "iops", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "alert": { "alertRuleTags": {}, "conditions": [ { "evaluator": { "params": [ 210000000000 ], "type": "lt" }, "operator": { "type": "and" }, "query": { "params": [ "C", "5m", "now" ] }, "reducer": { "params": [], "type": "last" }, "type": "query" } ], "executionErrorState": "alerting", "for": "5m", "frequency": "1m", "handler": 1, "message": "На сервере SERVERNAME осталось свободного места менее 200 ГБ", "name": "Pool Usage SERVERNAME alert", "noDataState": "alerting", "notifications": [] }, "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 14 }, "hiddenSeries": false, "id": 12, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": true, "hideZero": true, "max": true, "min": true, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "connected", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "Pool 1 (Total)", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "pool", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "sizetotal" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "pool", "operator": "=", "value": "pool_1" } ] }, { "alias": "Pool 1 (Used)", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "pool", "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "sizeused" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "pool", "operator": "=", "value": "pool_1" } ] }, { "alias": "Pool 1 (Free)", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "pool", "orderByTime": "ASC", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "sizefree" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "pool", "operator": "=", "value": "pool_1" } ] } ], "thresholds": [ { "colorMode": "critical", "fill": true, "line": true, "op": "lt", "value": 210000000000, "yaxis": "left" } ], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Pool Usage History (Global)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "alert": { "alertRuleTags": {}, "conditions": [ { "evaluator": { "params": [ 2048000000000 ], "type": "lt" }, "operator": { "type": "and" }, "query": { "params": [ "D", "5m", "now" ] }, "reducer": { "params": [], "type": "avg" }, "type": "query" } ], "executionErrorState": "alerting", "for": "5m", "frequency": "1m", "handler": 1, "message": "Свободное место в файловой системе СХД SERVERNAME меньше 2Тб", "name": "FileSystem Usage History (Global) alert", "noDataState": "alerting", "notifications": [] }, "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 21 }, "hiddenSeries": false, "id": 16, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": true, "hideZero": true, "max": true, "min": true, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "connected", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "FileSystem fs01 (Total)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "storageresource", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "sizetotal" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "storageresourcename", "operator": "=", "value": "fs01" } ] }, { "alias": "FileSystem fs01 (Used)", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "storageresource", "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "sizeused" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "storageresourcename", "operator": "=", "value": "fs01" } ] }, { "alias": "FileSystem fs01 (Allocated)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "storageresource", "orderByTime": "ASC", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "sizeallocated" ], "type": "field" }, { "params": [], "type": "distinct" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "storageresourcename", "operator": "=", "value": "fs01" } ] }, { "alias": "FileSystem fs01 (Free)", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "storageresource", "orderByTime": "ASC", "policy": "default", "query": "SELECT (mean("sizeallocated")-mean("sizeused")) FROM "storageresource" WHERE ("unity" = 'SERVERNAME' AND "storageresourcename" = 'fs01') AND $timeFilter GROUP BY time($interval) fill(linear)", "rawQuery": true, "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "sizeallocated" ], "type": "field" }, { "params": [], "type": "mean" } ], [ { "params": [ "sizeused" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "unity", "operator": "=", "value": "SERVERNAME" }, { "condition": "AND", "key": "storageresourcename", "operator": "=", "value": "fs01" } ] } ], "thresholds": [ { "colorMode": "critical", "fill": true, "line": true, "op": "lt", "value": 2048000000000 } ], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "FileSystem Usage History (Global)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } } ], "refresh": "5s", "schemaVersion": 21, "style": "dark", "tags": [ "spb", "СХД" ], "templating": { "list": [] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "СХД DELL EMC", "uid": "ulC2wPuZz", "version": 58 }

have dashboard, becuse imput not valid on grafana?

Scrik commented 4 years ago

have dashboard, becuse imput not valid on grafana?

I did not understand your question. can you explain please

mattiaoui commented 4 years ago

I find your dashboard but are not in json format,and import in grafana are impossibile..

On Mon, 28 Sep 2020 at 16:29, Scrik notifications@github.com wrote:

have dashboard, becuse imput not valid on grafana?

I did not understand your question.

can you explain please

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/equelin/unitymetrics/issues/4#issuecomment-700044181, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM7WQXHSFZO6ILK5PECYJNTSICMVZANCNFSM4GTH6CCQ .

Scrik commented 4 years ago

I find your dashboard but are not in json format,and import in grafana are impossibile.. On Mon, 28 Sep 2020 at 16:29, Scrik @.***> wrote: have dashboard, becuse imput not valid on grafana? I did not understand your question. can you explain please — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM7WQXHSFZO6ILK5PECYJNTSICMVZANCNFSM4GTH6CCQ .

https://pastebin.com/y8xv4vzr change SERVERNAME in query on your name server

mattiaoui commented 4 years ago

thanks

On Tue, 29 Sep 2020 at 09:21, Scrik notifications@github.com wrote:

I find your dashboard but are not in json format,and import in grafana are impossibile.. … <#m-4696355161464319990> On Mon, 28 Sep 2020 at 16:29, Scrik @.***> wrote: have dashboard, becuse imput not valid on grafana? I did not understand your question. can you explain please — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#4 (comment) https://github.com/equelin/unitymetrics/issues/4#issuecomment-700044181>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM7WQXHSFZO6ILK5PECYJNTSICMVZANCNFSM4GTH6CCQ .

https://pastebin.com/y8xv4vzr change SERVERNAME in query on your name server

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/equelin/unitymetrics/issues/4#issuecomment-700503128, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM7WQXGDKLQDBMURTLEBTCLSIGDJHANCNFSM4GTH6CCQ .

gamecc commented 2 years ago

Anyone can share dashboard or json file for show unity?