监控dns
Export BIND(named/dns) v9+ service metrics to Prometheus.
监控bind的dns,需要先检查下支不支持libxml2 ,另外:
Configure BIND to open a statistics channel. It’s recommended to run the bind_exporter next to BIND, so it’s only necessary to open a port locally.
1 | go get github.com/digitalocean/bind_exporter |
prometheus配置
1 | - job_name: 'dns-master' |
grafana模板
1 | { |