{ "id": 3, "panels": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "mappings": [ { "options": { "1": { "color": "green", "text": "Normal" }, "2": { "color": "red", "text": "Failed" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 2 } ] } } }, "gridPos": { "h": 4, "w": 24, "x": 0, "y": 0 }, "id": 1, "options": { "colorMode": "background", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ] }, "textMode": "value_and_name" }, "targets": [ { "expr": "systemStatus{instance=~\"\"}", "legendFormat": "{{instance}}", "refId": "A" } ], "title": "NAS Status", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "max": 80, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 50 }, { "color": "red", "value": 65 } ] }, "unit": "celsius" } }, "gridPos": { "h": 6, "w": 8, "x": 0, "y": 4 }, "id": 2, "options": { "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "temperature{instance=~\"\"}", "legendFormat": "{{instance}}", "refId": "A" } ], "title": "Temperature", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 70 }, { "color": "red", "value": 90 } ] }, "unit": "percent" } }, "gridPos": { "h": 6, "w": 8, "x": 8, "y": 4 }, "id": 3, "options": { "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "((memTotalReal{instance=~\"\"} - memAvailReal{instance=~\"\"}) / memTotalReal{instance=~\"\"}) * 100", "legendFormat": "{{instance}}", "refId": "A" } ], "title": "Memory Usage", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] }, "unit": "decbytes" } }, "gridPos": { "h": 6, "w": 8, "x": 16, "y": 4 }, "id": 4, "options": { "colorMode": "value", "graphMode": "none", "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "memTotalReal{instance=~\"\"} * 1024", "legendFormat": "{{instance}}", "refId": "A" } ], "title": "Total Memory", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 40 }, { "color": "red", "value": 50 } ] }, "unit": "celsius" } }, "gridPos": { "h": 6, "w": 12, "x": 0, "y": 10 }, "id": 5, "options": { "colorMode": "value", "graphMode": "area", "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "diskTemperature{instance=~\"\"}", "legendFormat": "{{instance}} - Disk {{diskIndex}}", "refId": "A" } ], "title": "Disk Temperature", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "mappings": [ { "options": { "1": { "color": "green", "text": "Normal" }, "11": { "color": "orange", "text": "Degraded" }, "12": { "color": "red", "text": "Crashed" }, "2": { "color": "yellow", "text": "Repairing" }, "3": { "color": "yellow", "text": "Migrating" }, "4": { "color": "yellow", "text": "Expanding" }, "5": { "color": "orange", "text": "Deleting" }, "6": { "color": "blue", "text": "Creating" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } } }, "gridPos": { "h": 6, "w": 12, "x": 12, "y": 10 }, "id": 6, "options": { "colorMode": "background", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ] }, "textMode": "value_and_name" }, "targets": [ { "expr": "raidStatus{instance=~\"\"}", "legendFormat": "{{instance}} - {{raidIndex}}", "refId": "A" } ], "title": "RAID Status", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 70 }, { "color": "red", "value": 85 } ] }, "unit": "percent" } }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 16 }, "id": 7, "options": { "displayMode": "gradient", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "((raidTotalSize{instance=~\"\"} - raidFreeSize{instance=~\"\"}) / raidTotalSize{instance=~\"\"}) * 100", "legendFormat": "{{instance}} - RAID {{raidIndex}}", "refId": "A" } ], "title": "RAID Usage", "type": "bargauge" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "dtdurations" } }, "gridPos": { "h": 4, "w": 24, "x": 0, "y": 24 }, "id": 8, "options": { "colorMode": "value", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "sysUpTime{instance=~\"\"} / 100", "legendFormat": "{{instance}}", "refId": "A" } ], "title": "Uptime", "type": "stat" } ], "refresh": "30s", "schemaVersion": 38, "tags": [ "synology", "nas", "snmp" ], "templating": { "list": [ { "current": { "text": "Prometheus", "value": "PBFA97CFB590B2093" }, "hide": 0, "includeAll": false, "label": "Data Source", "multi": false, "name": "datasource", "options": [], "query": "prometheus", "refresh": 1, "type": "datasource" }, { "allValue": "", "current": { "text": "All", "value": "$__all" }, "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "definition": "label_values(diskTemperature, instance)", "hide": 0, "includeAll": true, "label": "NAS", "multi": true, "name": "instance", "query": "label_values(diskTemperature, instance)", "refresh": 1, "regex": "", "sort": 1, "type": "query" } ] }, "timezone": "browser", "title": "Synology NAS Monitoring", "uid": "synology-dashboard-v2", "version": 4 }