102 lines
3.1 KiB
Markdown
102 lines
3.1 KiB
Markdown
# Synology NAS Monitoring Dashboard Fix Report
|
|
|
|
## Issue Summary
|
|
The Synology NAS Monitoring dashboard was showing "no data" due to several configuration issues:
|
|
|
|
1. **Empty Datasource UIDs**: All panels had `"uid": ""` instead of the correct Prometheus datasource UID
|
|
2. **Broken Template Variables**: Template variables had empty current values and incorrect queries
|
|
3. **Empty Instance Filters**: Queries used `instance=~""` which matched nothing
|
|
|
|
## Fixes Applied
|
|
|
|
### 1. Datasource UID Correction
|
|
**Before**: `"uid": ""`
|
|
**After**: `"uid": "PBFA97CFB590B2093"`
|
|
**Impact**: All 8 panels now connect to the correct Prometheus datasource
|
|
|
|
### 2. Template Variable Fixes
|
|
|
|
#### Datasource Variable
|
|
```json
|
|
"current": {
|
|
"text": "Prometheus",
|
|
"value": "PBFA97CFB590B2093"
|
|
}
|
|
```
|
|
|
|
#### Instance Variable
|
|
- **Query Changed**: `label_values(temperature, instance)` → `label_values(diskTemperature, instance)`
|
|
- **Current Value**: Set to "All" with `$__all` value
|
|
- **Datasource UID**: Updated to correct UID
|
|
|
|
### 3. Query Filter Fixes
|
|
**Before**: `instance=~""`
|
|
**After**: `instance=~"$instance"`
|
|
**Impact**: Queries now properly use the instance template variable
|
|
|
|
## Verification Results
|
|
|
|
### Dashboard Status: ✅ WORKING
|
|
- **Total Panels**: 8
|
|
- **Template Variables**: 2 (both working)
|
|
- **Data Points**: All panels showing data
|
|
|
|
### Metrics Verified
|
|
| Metric | Data Points | Status |
|
|
|--------|-------------|--------|
|
|
| systemStatus | 3 NAS devices | ✅ Working |
|
|
| temperature | 3 readings | ✅ Working |
|
|
| diskTemperature | 18 disk sensors | ✅ Working |
|
|
| hrStorageUsed/Size | 92 storage metrics | ✅ Working |
|
|
|
|
### SNMP Targets Health
|
|
| Target | Instance | Status |
|
|
|--------|----------|--------|
|
|
| atlantis-snmp | 100.83.230.112 | ✅ Up |
|
|
| calypso-snmp | 100.103.48.78 | ✅ Up |
|
|
| setillo-snmp | 100.125.0.20 | ✅ Up |
|
|
|
|
## Sample Data
|
|
- **NAS Temperature**: 40°C (atlantis)
|
|
- **Disk Temperature**: 31°C (sample disk)
|
|
- **Storage Usage**: 67.6% (sample volume)
|
|
- **System Status**: Normal (all 3 devices)
|
|
|
|
## Dashboard Access
|
|
**URL**: http://localhost:3300/d/synology-dashboard-v2
|
|
|
|
## Technical Details
|
|
|
|
### Available SNMP Metrics
|
|
- `systemStatus`: Overall NAS health status
|
|
- `temperature`: System temperature readings
|
|
- `diskTemperature`: Individual disk temperatures
|
|
- `hrStorageUsed`: Storage space used
|
|
- `hrStorageSize`: Total storage capacity
|
|
- `diskStatus`: Individual disk health
|
|
- `diskModel`: Disk model information
|
|
|
|
### Template Variable Configuration
|
|
```json
|
|
{
|
|
"datasource": {
|
|
"current": {"text": "Prometheus", "value": "PBFA97CFB590B2093"}
|
|
},
|
|
"instance": {
|
|
"current": {"text": "All", "value": "$__all"},
|
|
"query": "label_values(diskTemperature, instance)"
|
|
}
|
|
}
|
|
```
|
|
|
|
## Conclusion
|
|
✅ **Synology NAS Monitoring dashboard is now fully functional**
|
|
✅ **All panels displaying real-time data**
|
|
✅ **Template variables working correctly**
|
|
✅ **SNMP monitoring operational across 3 NAS devices**
|
|
|
|
The dashboard now provides comprehensive monitoring of:
|
|
- System health and status
|
|
- Temperature monitoring (system and individual disks)
|
|
- Storage utilization across all volumes
|
|
- Disk health and performance metrics |