This project builds on the template from https://github.com/alhazmy13/Synology-NAS-monitoring. The Docker container was built with Debian 11 (Bullseye) and the latest packages:
- TELEGRAF => 1.21.2-1
- INFLUXDB => 1.8.10
- GRAFANA => 8.1.2
- CHRONOGRAF => 1.9.1
This dashboard was created by "alhazmy13": https://grafana.com/grafana/dashboards/14590 (Synology DashBoard by alhazmy13)
This dashboard was created by "Christian Fetzer": https://grafana.com/grafana/dashboards/713 (FRITZ!Box Router Status by Christian Fetzer)
- Installation of Docker on Synology NAS
- Enable SNMP on Synology NAS
- Enable Logging on Synology NAS
- Adding folders on Synology NAS to store data
- Add FRITZ!Box user for query status
- Install Docker from Synology package center
- From Control panel in your Synology NAS go to Terminal & SNMP
- Click on SNMP tab, and enable SNMPv1, SNMPv2 service
- in Community input put public
- Save
- Create four empty folders in your Synology collectd, collectd-conf.d, grafana and influxdb (On Synology NAS under "docker")
- Create a file with the FRITZ!Box user login data (Template: https://github.com/TheCry/synology-fritzbox-grafana/blob/main/collectd-fritzbox/fritzcollectd.conf)
- Upload "fritzcollectd.conf" on the Synology NAS to the created folder "collectd-conf.d"
- Open Docker client from Synology > Image > Add > Add from url and paste Hub page url "https://hub.docker.com/r/space2place/synology-fritzbox-grafana"
- Wait until it finishes downloading the image
- Click on the image "space2place/synology-fritzbox-grafana" and then click on Launch
- Click on Advanced Settings and check "Enable auto-restart."
- From the Volume tab, click "Add folder" and select the first folder that we created, "collectd" and on mount Path, paste /var/lib/collectd
- From the Volume tab again, click "Add Folder" and select the second folder that we created "collectd-conf.d" and on mount Path paste /etc/collectd/collectd.conf.d
- From the Volume tab again, click "Add folder" and select the third folder that we created, "grafana" and on mount Path, paste /var/lib/grafana
- From the Volume tab again, click "Add Folder" and select the fourth folder that we created "influxdb" and on mount Path paste /var/lib/influxdb
- Network Tab keep it in bridge mode
- Port settings, just change Local port for 3003 from Auto to 3003, and port 514 from Auto to 5144
- Environment Tab > Add new variable "TZ" with your local time zone ignore this if you want to use the default UTC
- Apply, Next, Done and your container should be ready.
- Open http://YOUR_LOCAL_NAS_IP:3003 and login with the default username root and password root
- You need to import the Synology NAS dashboard. To do this, go to http://YOUR_LOCAL_NAS_IP:3003/dashboard/import and put 14590 in "Import via grafana.com" input
- Attach the "Data Source" InfluxDB-Synonlogy to the Synology NAS dashboard
- Click on load and complete the process
- You need to import the FRITZ!Box Router dashboard. To do this, go to http://YOUR_LOCAL_NAS_IP:3003/dashboard/import and put 713 in "Import via grafana.com" input
- Attach the "Data Source" InfluxDB-FritzBox to the FRITZ!Box Router dashboard
- Click on load and complete the process
- Install Log center From Synology package center
- Open Log center app
- Click on Log Sending > check "Send log to syslog server"
- Set Server = localhost, port = 5144, Protocol = UDP, Format = BSD (RFC 3164)
- For testing, click on "Send test log"
- Apply
Yes it is possible. Grafana is configured with allow_embedding = true and auth.anonymous.