Hi,
I am trying to use Prometheus and Grafana to monitor bind9 DNS installed on Ubuntu 22.04.
Could someone write me example of bind-exporter docker compose configuration ?
That should work with:
1) Prometheus.yaml scraping configuration:
-job_name: 'bind_exporter'
static_configs: -targets: ['192.168.10.10:9153']
labels:
alias: bind_exporter
2) Bind configuration:
\etc\bind\named.config.options
statistics-channels {
inet 127.0.0.1 port 8053 allow {127.0.0.1;};
};
Currently Grafana, Prometheus, node_explorer are part of the one stack called monitoring and are using the same docker network
172.18.0.0/24 while VM is using 192.168.10.10. Access to the vm is thru Static Public IP and NAT to internal IP.