Robust systemd Script to Store Pi-hole Metrics in Graphite

from blog nickb.dev, | ↗ original
I’m building a home server and I’m using Pi-hole to blackhole ad server domains in a test environment. It’s not perfect, but works well enough. The Pi-hole admin interface shows a dashboard like the following to everyone (admin users get an even greater breakdown, but we’ll focus on just the depicted dashboard) ...