{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" } ] }, "description": "", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 1, "id": 6, "links": [ { "asDropdown": true, "icon": "external link", "includeVars": false, "keepTime": false, "tags": [ "Zogg" ], "targetBlank": false, "title": "Dashboards", "tooltip": "", "type": "dashboards", "url": "" } ], "liveNow": false, "panels": [ { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 64, "panels": [], "title": "System", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 0, "y": 1 }, "id": 107, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/^modelName$/", "values": false }, "textMode": "auto" }, "pluginVersion": "10.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "modelName{job=\"nas\"}", "format": "table", "hide": false, "legendFormat": "__auto", "range": true, "refId": "Modell" } ], "title": "Model", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 3, "y": 1 }, "id": 108, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/^serialNumber$/", "values": false }, "textMode": "auto" }, "pluginVersion": "10.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "serialNumber{job=\"nas\"}", "format": "table", "hide": false, "legendFormat": "__auto", "range": true, "refId": "Modell" } ], "title": "Serial", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "filterable": false, "inspect": false }, "decimals": 0, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 176 } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Upgrades" }, "properties": [ { "id": "custom.align", "value": "center" }, { "id": "mappings", "value": [ { "options": { "1": { "index": 0, "text": "Update Available" }, "2": { "index": 1, "text": "Up to Date" }, "3": { "index": 2, "text": "Connecting" }, "4": { "index": 3, "text": "Disconnected" }, "5": { "index": 4, "text": "Others" } }, "type": "value" } ] }, { "id": "color" }, { "id": "custom.cellOptions", "value": { "type": "color-text" } }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 2 }, { "color": "orange", "value": 3 } ] } } ] }, { "matcher": { "id": "byName", "options": "DSM Version" }, "properties": [ { "id": "custom.width", "value": 130 } ] } ] }, "gridPos": { "h": 3, "w": 6, "x": 6, "y": 1 }, "id": 109, "options": { "cellHeight": "sm", "footer": { "countRows": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [] }, "pluginVersion": "10.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "upgradeAvailable{job=\"nas\"}", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "version{job=\"nas\"}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", "refId": "I" } ], "title": "Version", "transformations": [ { "id": "seriesToColumns", "options": { "byField": "Time" } }, { "id": "filterFieldsByName", "options": { "include": { "names": [ "Value #B", "Value #C", "Value #D", "Value #E", "Value #F", "Value #G", "modelName", "version", "serialNumber", "Value #L", "Value #K" ] } } }, { "id": "organize", "options": { "excludeByName": {}, "indexByName": { "Value #A": 5, "Value #B": 7, "Value #C": 11, "Value #D": 9, "Value #E": 10, "Value #F": 6, "Value #G": 8, "Value #K": 3, "Value #L": 4, "modelName": 0, "serialNumber": 2, "version": 1 }, "renameByName": { "Value": "Uptime", "Value #A": "Uptime", "Value #B": "Upgrades", "Value #C": "System Temperature", "Value #D": "CPU Fan Status", "Value #E": "System Fan Status", "Value #F": "System Status", "Value #G": "Power Status", "Value #H": "Version1", "Value #I": "Version", "Value #K": "Memory", "Value #L": "Drives", "modelName": "Model", "serialNumber": "Serial Number", "version": "DSM Version" } } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 6, "w": 12, "x": 12, "y": 1 }, "id": 95, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "vertical", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "textMode": "value_and_name" }, "pluginVersion": "10.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "serviceUsers{job=\"nas\"}", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{serviceName}}", "range": true, "refId": "A" } ], "title": "Users / Service", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "filterable": false, "inspect": false }, "decimals": 0, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 176 } ] } }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "^.*Status$" }, "properties": [ { "id": "custom.align", "value": "center" }, { "id": "custom.cellOptions", "value": { "type": "color-text" } }, { "id": "mappings", "value": [ { "options": { "1": { "text": "NORMAL" }, "2": { "text": "FAILED" } }, "type": "value" } ] }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "semi-dark-green", "value": null }, { "color": "semi-dark-red", "value": 2 } ] } } ] } ] }, "gridPos": { "h": 3, "w": 12, "x": 0, "y": 4 }, "id": 104, "options": { "cellHeight": "sm", "footer": { "countRows": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [] }, "pluginVersion": "10.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "cpuFanStatus{job=\"nas\"}", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "systemFanStatus{job=\"nas\"}", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "E" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "systemStatus{job=\"nas\"}", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "F" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "powerStatus{job=\"nas\"}", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "G" } ], "title": "System Status", "transformations": [ { "id": "seriesToColumns", "options": { "byField": "Time" } }, { "id": "filterFieldsByName", "options": { "include": { "names": [ "Value #B", "Value #C", "Value #D", "Value #E", "Value #F", "Value #G", "modelName", "version", "serialNumber", "Value #L", "Value #K" ] } } }, { "id": "organize", "options": { "excludeByName": {}, "indexByName": { "Value #A": 5, "Value #B": 7, "Value #C": 11, "Value #D": 9, "Value #E": 10, "Value #F": 6, "Value #G": 8, "Value #K": 3, "Value #L": 4, "modelName": 0, "serialNumber": 2, "version": 1 }, "renameByName": { "Value": "Uptime", "Value #A": "Uptime", "Value #B": "Upgrades", "Value #C": "System Temperature", "Value #D": "CPU Fan Status", "Value #E": "System Fan Status", "Value #F": "System Status", "Value #G": "Power Status", "Value #H": "Version1", "Value #I": "Version", "Value #K": "Memory", "Value #L": "Drives", "modelName": "Model", "serialNumber": "Serial Number", "version": "DSM Version" } } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisGridShow": true, "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineStyle": { "fill": "solid" }, "lineWidth": 3, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "dashed+area" } }, "decimals": 2, "links": [], "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "percentage", "steps": [ { "color": "semi-dark-green", "value": null }, { "color": "semi-dark-yellow", "value": 85 }, { "color": "semi-dark-red", "value": 95 } ] }, "unit": "percent" }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "Volume.*" }, "properties": [ { "id": "color", "value": { "fixedColor": "dark-blue", "mode": "thresholds" } } ] } ] }, "gridPos": { "h": 5, "w": 12, "x": 0, "y": 7 }, "id": 89, "links": [], "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "asc" } }, "pluginVersion": "9.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "100-(100/raidTotalSize{job=\"nas\",raidName=\"Volume 1\"}*raidFreeSize{job=\"nas\",raidName=\"Volume 1\"})", "format": "time_series", "hide": false, "intervalFactor": 1, "legendFormat": "Volume 1", "range": true, "refId": "Used 1", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "100-(100/raidTotalSize{job=\"nas\",raidName=\"Volume 2\"}*raidFreeSize{job=\"nas\",raidName=\"Volume 2\"})", "format": "time_series", "hide": false, "intervalFactor": 1, "legendFormat": "Volume 2", "range": true, "refId": "Used 2", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "100-(100/raidTotalSize{job=\"nas\",raidName=\"Volume 3\"}*raidFreeSize{job=\"nas\",raidName=\"Volume 3\"})", "format": "time_series", "hide": false, "intervalFactor": 1, "legendFormat": "Volume 3", "range": true, "refId": "Used 3", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "100-(100/raidTotalSize{job=\"nas\",raidName=\"Volume 4\"}*raidFreeSize{job=\"nas\",raidName=\"Volume 4\"})", "format": "time_series", "hide": false, "intervalFactor": 1, "legendFormat": "Volume 4", "range": true, "refId": "Used 4", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "100-(100/raidTotalSize{job=\"nas\",raidName=\"Volume 5\"}*raidFreeSize{job=\"nas\",raidName=\"Volume 5\"})", "format": "time_series", "hide": false, "intervalFactor": 1, "legendFormat": "Volume 5", "range": true, "refId": "Used 5", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "100-(100/raidTotalSize{job=\"nas\",raidName=\"Volume 6\"}*raidFreeSize{job=\"nas\",raidName=\"Volume 6\"})", "format": "time_series", "hide": false, "intervalFactor": 1, "legendFormat": "Volume 5", "range": true, "refId": "A", "step": 240 } ], "title": "Storage Usage %", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "custom": { "align": "left", "cellOptions": { "type": "auto" }, "filterable": false, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "none" }, "overrides": [ { "matcher": { "id": "byName", "options": "Value" }, "properties": [ { "id": "mappings", "value": [ { "options": { "1": { "index": 0, "text": "Raid Normal" }, "2": { "index": 1, "text": "Raid Repairing" }, "3": { "index": 2, "text": "Raid Migrating" }, "4": { "index": 3, "text": "Raid Expanding" }, "5": { "index": 4, "text": "Raid Deleting" }, "6": { "index": 5, "text": "Raid Creating" }, "7": { "index": 6, "text": "Raid Syncing" }, "8": { "index": 7, "text": "Raid Parity Checking" }, "9": { "index": 8, "text": "Raid Assembling" }, "10": { "index": 9, "text": "Raid Canceling" }, "11": { "index": 10, "text": "Raid Degraded" }, "12": { "index": 11, "text": "Raid Crashed" }, "13": { "index": 12, "text": "Raid Data Scrubbing" }, "14": { "index": 13, "text": "Raid Deploying" }, "15": { "index": 14, "text": "Raid UnDeploying" }, "16": { "index": 15, "text": "Raid Mount Cache" }, "17": { "index": 16, "text": "Raid Unmount Cache" }, "18": { "index": 17, "text": "Raid Expanding Unfinished SHR" }, "19": { "index": 18, "text": "Raid Convert SHR To Pool" }, "20": { "index": 19, "text": "Raid Unknown Status" }, "21": { "index": 20, "text": "Raid Migrate SHR1 To SHR2" } }, "type": "value" } ] }, { "id": "custom.align", "value": "left" }, { "id": "custom.cellOptions", "value": { "type": "color-text" } }, { "id": "color", "value": { "mode": "thresholds" } }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "semi-dark-green", "value": null }, { "color": "semi-dark-yellow", "value": 2 }, { "color": "semi-dark-red", "value": 11 }, { "color": "semi-dark-yellow", "value": 13 }, { "color": "semi-dark-red", "value": 21 } ] } } ] }, { "matcher": { "id": "byName", "options": "Name" }, "properties": [ { "id": "custom.align", "value": "left" }, { "id": "custom.width", "value": 125 } ] } ] }, "gridPos": { "h": 5, "w": 4, "x": 12, "y": 7 }, "id": 90, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [] }, "pluginVersion": "10.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "raidStatus{job=\"nas\", raidName=~\"Volume.*\"}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "__auto", "refId": "Status" } ], "title": "RAID Status", "transformations": [ { "id": "filterFieldsByName", "options": { "include": { "names": [ "raidName", "Value" ] } } }, { "id": "seriesToColumns", "options": { "byField": "raidName", "mode": "outer" } }, { "id": "organize", "options": { "excludeByName": { "Value": false, "diskID": false, "raidIndex": false, "raidName": false, "raidName 2": true }, "indexByName": { "Value #A": 4, "Value #C": 3, "diskID": 0, "diskModel": 2, "diskType": 1 }, "renameByName": { "Value": "Status", "Value #A": "Temperature", "Value #C": "Status", "Value #Status": "Status", "diskID": "Disk", "diskModel": "Model", "diskType": "Type", "raidName": "Name" } } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "filterable": false, "inspect": false }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Speed" }, "properties": [ { "id": "unit", "value": "decbytes" }, { "id": "decimals", "value": 0 }, { "id": "custom.align", "value": "center" }, { "id": "custom.width", "value": 90 } ] }, { "matcher": { "id": "byName", "options": "Status" }, "properties": [ { "id": "mappings", "value": [ { "options": { "1": { "index": 0, "text": "UP" }, "2": { "index": 1, "text": "DOWN" }, "3": { "index": 2, "text": "TESTING" }, "4": { "index": 3, "text": "UNKNOWN" }, "5": { "index": 4, "text": "DORMANT" }, "6": { "index": 5, "text": "NOT PRESENT" }, "7": { "index": 6, "text": "LOWER LAYER DOWN" } }, "type": "value" } ] }, { "id": "custom.cellOptions", "value": { "type": "color-text" } }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 2 }, { "color": "#EAB839", "value": 3 }, { "color": "dark-red", "value": 7 } ] } }, { "id": "custom.align", "value": "center" } ] }, { "matcher": { "id": "byName", "options": "MAC Address" }, "properties": [ { "id": "custom.width", "value": 175 }, { "id": "custom.align", "value": "center" } ] }, { "matcher": { "id": "byName", "options": "Interface" }, "properties": [ { "id": "custom.width", "value": 90 } ] } ] }, "gridPos": { "h": 5, "w": 8, "x": 16, "y": 7 }, "id": 97, "options": { "cellHeight": "sm", "footer": { "countRows": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [] }, "pluginVersion": "10.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "ifPhysAddress{job=\"nas\", ifName=~\"eth.*|ovs_.*|bond.*\"}", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "ifSpeed{job=\"nas\", ifName=~\"eth.*|ovs_.*|bond.*\"}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "ifOperStatus{job=\"nas\", ifName=~\"eth.*|ovs_.*|bond.*\"}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", "refId": "E" } ], "title": "Network Interfaces", "transformations": [ { "id": "seriesToColumns", "options": { "byField": "ifName" } }, { "id": "filterFieldsByName", "options": { "include": { "names": [ "ifName", "ifPhysAddress", "Value #B", "Value #D", "Value #E" ] } } }, { "id": "organize", "options": { "excludeByName": {}, "indexByName": { "Value #B": 3, "Value #D": 1, "Value #E": 4, "Value #G": 2, "ifName": 0, "ifPhysAddress": 5 }, "renameByName": { "Value #B": "Admin Status", "Value #C": "Connector", "Value #D": "Speed", "Value #E": "Status", "Value #F": "Description", "Value #G": "", "ifName": "Interface", "ifPhysAddress": "MAC Address" } } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "custom": { "align": "center", "cellOptions": { "type": "auto" }, "filterable": false, "inspect": false }, "decimals": 0, "mappings": [], "max": 65, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "dark-yellow", "value": 38 }, { "color": "dark-red", "value": 59 } ] }, "unit": "none" }, "overrides": [ { "matcher": { "id": "byName", "options": "Disk" }, "properties": [ { "id": "custom.cellOptions", "value": { "type": "auto" } }, { "id": "custom.align", "value": "left" }, { "id": "custom.width", "value": 65 } ] }, { "matcher": { "id": "byName", "options": "Temperature" }, "properties": [ { "id": "custom.cellOptions", "value": { "mode": "gradient", "type": "gauge" } }, { "id": "color" }, { "id": "unit", "value": "celsius" } ] }, { "matcher": { "id": "byName", "options": "Type" }, "properties": [ { "id": "custom.align", "value": "left" }, { "id": "custom.width", "value": 65 } ] }, { "matcher": { "id": "byName", "options": "Status" }, "properties": [ { "id": "mappings", "value": [ { "options": { "1": { "text": "Normal" }, "2": { "text": "Initialized" }, "3": { "text": "Not Initialized" }, "4": { "text": "System Partition Failed" }, "5": { "text": "Crashed" } }, "type": "value" } ] }, { "id": "custom.align", "value": "left" }, { "id": "custom.cellOptions", "value": { "type": "color-text" } }, { "id": "color" }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "dark-yellow", "value": 2 }, { "color": "dark-red", "value": 4 } ] } }, { "id": "custom.width", "value": 100 } ] }, { "matcher": { "id": "byName", "options": "Model" }, "properties": [ { "id": "custom.align", "value": "left" } ] } ] }, "gridPos": { "h": 6, "w": 24, "x": 0, "y": 12 }, "id": 62, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [] }, "pluginVersion": "10.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "diskTemperature{job=\"nas\"}", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "diskType{job=\"nas\"}", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "diskStatus{job=\"nas\"}", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "diskModel{job=\"nas\"}", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "D" } ], "title": "Hard Drives", "transformations": [ { "id": "filterFieldsByName", "options": { "include": { "names": [ "diskID", "diskType", "Value #C", "diskModel", "Value #A" ] } } }, { "id": "seriesToColumns", "options": { "byField": "diskID" } }, { "id": "organize", "options": { "excludeByName": { "diskID": false }, "indexByName": { "Value #A": 4, "Value #C": 3, "diskID": 0, "diskModel": 2, "diskType": 1 }, "renameByName": { "Value #A": "Temperature", "Value #C": "Status", "diskID": "Disk", "diskModel": "Model", "diskType": "Type" } } } ], "type": "table" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 18 }, "id": 66, "panels": [], "title": "CPU / RAM", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisGridShow": true, "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 40, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "percentunit" }, "overrides": [ { "matcher": { "id": "byName", "options": "Busy Iowait" }, "properties": [ { "id": "color", "value": { "fixedColor": "orange", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "Busy IRQs" }, "properties": [ { "id": "color", "value": { "fixedColor": "light-blue", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "Busy User" }, "properties": [ { "id": "color", "value": { "fixedColor": "yellow", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "Idle" }, "properties": [ { "id": "color", "value": { "fixedColor": "#7EB26D", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "Busy System" }, "properties": [ { "id": "color", "value": { "fixedColor": "light-blue", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "Busy Other" }, "properties": [ { "id": "color", "value": { "fixedColor": "#6D1F62", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 19 }, "id": 30, "links": [], "options": { "legend": { "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "pluginVersion": "9.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum by(instance) (irate(node_cpu_seconds_total{mode=\"system\"}[$__rate_interval])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total[$__rate_interval])))", "format": "time_series", "hide": false, "intervalFactor": 1, "legendFormat": "Busy System", "range": true, "refId": "System", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum by(instance) (irate(node_cpu_seconds_total{mode=~\".*irq\", job=\"node-docker\"}[$__rate_interval])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total{job=\"node-docker\"}[$__rate_interval])))", "format": "time_series", "hide": false, "intervalFactor": 1, "legendFormat": "Busy IRQs", "range": true, "refId": "IRQs", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum by(instance) (irate(node_cpu_seconds_total{mode!='idle',mode!='system',mode!='iowait',mode!='irq',mode!='softirq', job=\"node-docker\"}[$__rate_interval])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total{job=\"node-docker\"}[$__rate_interval])))", "format": "time_series", "hide": false, "intervalFactor": 1, "legendFormat": "Busy User", "range": true, "refId": "User", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum by(instance) (irate(node_cpu_seconds_total{mode=\"iowait\", job=\"node-docker\"}[$__rate_interval])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total{job=\"node-docker\"}[$__rate_interval])))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Busy Iowait", "range": true, "refId": "IOWait", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum by(instance) (irate(node_cpu_seconds_total{mode=\"idle\", job=\"node-docker\"}[$__rate_interval])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total{job=\"node-docker\"}[$__rate_interval])))", "format": "time_series", "hide": false, "intervalFactor": 1, "legendFormat": "Idle", "range": true, "refId": "Idle", "step": 240 } ], "title": "CPU Utilization %", "transformations": [], "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "counter", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 19 }, "id": 32, "links": [], "options": { "legend": { "calcs": [ "mean", "lastNotNull" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "9.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "node_load1", "format": "time_series", "intervalFactor": 4, "legendFormat": "Load 1m", "range": true, "refId": "1m", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "node_load5{job=\"node-docker\"}", "format": "time_series", "intervalFactor": 4, "legendFormat": "Load 5m", "range": true, "refId": "5m", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "node_load15{job=\"node-docker\"}", "format": "time_series", "intervalFactor": 4, "legendFormat": "Load 15m", "range": true, "refId": "15m", "step": 240 } ], "title": "System Load", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 40, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [ { "matcher": { "id": "byName", "options": "RAM Total" }, "properties": [ { "id": "color", "value": { "fixedColor": "#E0F9D7", "mode": "fixed" } }, { "id": "custom.fillOpacity", "value": 0 }, { "id": "custom.stacking", "value": { "group": false, "mode": "normal" } } ] }, { "matcher": { "id": "byName", "options": "RAM Cache" }, "properties": [ { "id": "color", "value": { "fixedColor": "#052B51", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "RAM Free" }, "properties": [ { "id": "color", "value": { "fixedColor": "#7EB26D", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "RAM Buffer" }, "properties": [ { "id": "color", "value": { "fixedColor": "light-blue", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "RAM Used" }, "properties": [ { "id": "color", "value": { "fixedColor": "yellow", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 26 }, "id": 26, "links": [], "options": { "legend": { "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "9.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "node_memory_MemTotal_bytes", "format": "time_series", "hide": false, "intervalFactor": 1, "legendFormat": "RAM Total", "range": true, "refId": "Total", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "(node_memory_MemTotal_bytes{job=\"node-docker\"} - node_memory_MemFree_bytes{job=\"node-docker\"} - (node_memory_Cached_bytes{job=\"node-docker\"} + node_memory_Buffers_bytes{job=\"node-docker\"} + node_memory_SReclaimable_bytes{job=\"node-docker\"}))", "format": "time_series", "hide": false, "intervalFactor": 1, "legendFormat": "RAM Used", "range": true, "refId": "Used", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "node_memory_Cached_bytes{job=\"node-docker\"} + node_memory_SReclaimable_bytes{job=\"node-docker\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "RAM Cache", "range": true, "refId": "Cache", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "node_memory_Buffers_bytes{job=\"node-docker\"}", "hide": false, "legendFormat": "RAM Buffer", "range": true, "refId": "Buffer" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "node_memory_MemFree_bytes{job=\"node-docker\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "RAM Free", "range": true, "refId": "Free", "step": 240 } ], "title": "RAM Utilization", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 40, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [ { "matcher": { "id": "byName", "options": "SWAP Used" }, "properties": [ { "id": "color", "value": { "fixedColor": "yellow", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "SWAP Total" }, "properties": [ { "id": "color", "value": { "fixedColor": "#E0F9D7", "mode": "fixed" } }, { "id": "custom.fillOpacity", "value": 0 }, { "id": "custom.stacking", "value": { "group": false, "mode": "normal" } } ] }, { "matcher": { "id": "byName", "options": "SWAP Free" }, "properties": [ { "id": "color", "value": { "fixedColor": "#7EB26D", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 26 }, "id": 28, "links": [], "options": { "legend": { "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "9.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "node_memory_SwapTotal_bytes", "format": "time_series", "hide": false, "intervalFactor": 1, "legendFormat": "SWAP Total", "range": true, "refId": "Total", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "(node_memory_SwapTotal_bytes{job=\"node-docker\"} - node_memory_SwapFree_bytes{job=\"node-docker\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "SWAP Used", "range": true, "refId": "Used", "step": 240 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "node_memory_SwapFree_bytes{job=\"node-docker\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "SWAP Free", "range": true, "refId": "Free", "step": 240 } ], "title": "SWAP Utilization", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 33 }, "id": 78, "panels": [], "title": "Network", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 80, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "Bps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 34 }, "id": 113, "interval": "", "links": [], "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "asc" } }, "pluginVersion": "9.3.2", "repeatDirection": "h", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "rate(ifHCInOctets{job=\"nas\", ifName=~\"eth.*|ovs_.*|bond.*\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{label_name}}{{ifName}}", "range": true, "refId": "Traffic In", "step": 60 } ], "title": "Host - Received Network Traffic", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "left", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 80, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "Bps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 34 }, "id": 114, "interval": "", "links": [], "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "asc" } }, "pluginVersion": "9.3.2", "repeatDirection": "h", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "rate(ifHCOutOctets{job=\"nas\", ifName=~\"eth.*|ovs_.*|bond.*\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{label_name}}{{ifName}}", "range": true, "refId": "Traffic Out", "step": 60 } ], "title": "Host - Sent Network Traffic", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 42 }, "id": 55, "panels": [], "title": "exporter", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 43 }, "id": 112, "interval": "5s", "links": [], "options": { "legend": { "calcs": [], "displayMode": "table", "placement": "right", "showLegend": false }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "9.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": false, "expr": "snmp_scrape_duration_seconds{job=\"nas\"}", "format": "time_series", "hide": false, "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{label_name}}{{job}}", "range": true, "refId": "A", "step": 240 } ], "title": "SNMP Exporter - Scrape Time", "transformations": [], "type": "timeseries" } ], "refresh": "5m", "schemaVersion": 38, "style": "dark", "tags": [ "Zogg", "Prometheus", "Synology" ], "templating": { "list": [ { "current": { "selected": false, "text": "default", "value": "default" }, "hide": 0, "includeAll": false, "label": "Datasource", "multi": false, "name": "DS_PROMETHEUS", "options": [], "query": "prometheus", "queryValue": "", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" } ] }, "time": { "from": "now-1h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h" ] }, "timezone": "", "title": "Synology", "uid": "ee1033fe-277e-4d02-94e2-cd8eb001c2f7", "version": 6, "weekStart": "monday" }