In a post from November I'd mentioned trying to get this to work and failing:
"Update (For the life of me, can't get this to work): http://blog.tafkas.net/2015"/01/15/monitoring-a-synology-diskstation-with-munin/
"
Now I finally got it working. The key was to make sure that when the article says "Therefor create a file inside /etc/munin/plugin-conf.d/ folder with the name of the host (e.g. diskstation) containing two lines:" that I used the FQDN as returned from a ping. I finally got the pihole working with the Ubiquiti by setting the local LAN to use it directly and the router as secondary DNS, and added some entries to the pihole's /etc/hosts file to map to certain hosts with the domain (e.g. server.homenet). Then the file in /etc/munin/plugin-conf.d/ was named server.homenet and included the following two lines:
[snmp_server.HomeNet_*]
env.community secret_string
I also included the following in munin.conf:
[server.HomeNet]
address 127.0.0.1
use_node_name no
And made sure to restart munin-node and munin on the Munin server itself.
Update: The same process can be followed for any device that supports SNMP, such as a router.
"Update (For the life of me, can't get this to work): http://blog.tafkas.net/2015"/01/15/monitoring-a-synology-diskstation-with-munin/
"
Now I finally got it working. The key was to make sure that when the article says "Therefor create a file inside /etc/munin/plugin-conf.d/ folder with the name of the host (e.g. diskstation) containing two lines:" that I used the FQDN as returned from a ping. I finally got the pihole working with the Ubiquiti by setting the local LAN to use it directly and the router as secondary DNS, and added some entries to the pihole's /etc/hosts file to map to certain hosts with the domain (e.g. server.homenet). Then the file in /etc/munin/plugin-conf.d/ was named server.homenet and included the following two lines:
[snmp_server.HomeNet_*]
env.community secret_string
I also included the following in munin.conf:
[server.HomeNet]
address 127.0.0.1
use_node_name no
And made sure to restart munin-node and munin on the Munin server itself.
Update: The same process can be followed for any device that supports SNMP, such as a router.
No comments:
Post a Comment