munin-monitoring / contrib

Contributed stuff for munin (plugins, tools, etc...)
http://munin-monitoring.org
1.05k stars 679 forks source link

Add dnsperftest plugin to monitor response times of multiple DNS servers #1439

Closed cweiske closed 1 month ago

cweiske commented 1 month ago

Includes an example graph.

DNS server IPs are read from /etc/resolv.conf. This path can be overridden with env.resolvconf. A list of domains is tested that can be overriden as well with env.domains.

Based on https://github.com/cleanbrowsing/dnsperftest

Bash script was shellcheck'ed, and all relevant issues were resolved. Requires dig and bc.

cweiske commented 1 month ago

Thanks for the quick merge!