Systemd service
================
[Unit]
Description=Bind Exporter
Wants=network-online.target
After=network-online.target
[Service]
ExecReload=/bin/kill -HUP $MAINPID
ExecStart=/etc/bind_exporter/bind_exporter \
--bind.pid-file=/var/run/named/named.pid \
--bind.timeout=20s \
--web.listen-address=0.0.0.0:9153 \
--web.telemetry-path=/metrics \
--bind.stats-url=http://127.0.0.1:8053/ \
--bind.stats-groups=server,view,tasks
Restart=always
[Install]
WantedBy=multi-user.target
Prometheus Scraping
====================
- job_name: 'bind_exporter'
static_configs:
- targets: ['10.11.1.2:9153']
labels:
alias: bind_exporter
Configure bind
====================
statistics-channels {
inet 127.0.0.1 port 8053 allow { 127.0.0.1; };
};
Watch video Monitor BIND DNS Server with Prometheus and Grafana on Ubuntu Server online without registration, duration hours minute second in high quality. This video was added by user Ripon4You 03 June 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,048 once and liked it 57 people.