Closed needforspeed closed 3 years ago
So to answer your question in case you accidentally closed this and for others wondering the same here is the basic concept:
run 1 collectd instances on each NAS - 2 total run 1 influxdb and 1 grafana instance on either NAS or independent computer
influxdb has to be reachable from both NAS which means you have to adjust your collectd config in some places.
once that is done you can use the "Hostname" variable in Grafana to switch between both NAS (top left corner):
If you wanted to have a panels for each NAS side by side you can simply create a new dashboard, copy the panels over and modify the query to use hard coded variables:
Be aware of Docker DNS difficulties this setup might bring along which take some studying of the Docker documentation to understand and probably some adjustments to the docker-compose.yml
Hope that helps.
Thanks for the detailed reply. I figured it out last night, so I closed the issue.
I'm totally new to collectd, and I noticed there are a few plugins not seem to used, like users, uptime, load, etc. Are those needed?
most of these are default plugins and could be removed: users, uptime, exec, processes. load monitors cpu usage and is used in one of the panels.
Got it. Thanks a lot
For example I have one qnap 192.168.1.2, and another one 192.168.1.3. Where should I change to have a centralized dashboard to view both nases?
Thanks in advance