src/go/plugin/go.d/collector/bind/README.md
Bind9 (or named) is a very flexible, full-featured DNS system.
This module will monitor one or more Bind9 servers, depending on your configuration.
bind version 9.9+ with configured statistics-channelsFor detail information on how to get your bind installation ready, please refer to the following articles:
Normally, you will need something like this in your named.conf.options:
statistics-channels {
inet 127.0.0.1 port 8653 allow { 127.0.0.1; };
inet ::1 port 8653 allow { ::1; };
};
It produces the following charts:
requests/squeries/sclientsqueries/squeries/supdates/sfailures/sfailures/soperations/srequests/srequests/sPer View Statistics (the following set will be added for each bind view):
queriesoperations/squeries/srequests/soperations/sEdit the go.d/bind.conf configuration file using edit-config from the
Netdata config directory, which is typically at /etc/netdata.
cd /etc/netdata # Replace this path with your Netdata config directory
sudo ./edit-config go.d/bind.conf
Needs only url. Here is an example for several servers:
jobs:
- name: local
url: http://127.0.0.1:8653/json/v1
- name: local
url: http://127.0.0.1:8653/xml/v3
- name: remote
url: http://203.0.113.10:8653/xml/v3
- name: local_with_views
url: http://127.0.0.1:8653/json/v1
permit_view: '!_* *'
View filter syntax: simple patterns.
For all available options please see module configuration file.
To troubleshoot issues with the bind collector, run the go.d.plugin with the debug option enabled. The output should
give you clues as to why the collector isn't working.
Navigate to the plugins.d directory, usually at /usr/libexec/netdata/plugins.d/. If that's not the case on
your system, open netdata.conf and look for the plugins setting under [directories].
cd /usr/libexec/netdata/plugins.d/
Switch to the netdata user.
sudo -u netdata -s
Run the go.d.plugin to debug the collector:
./go.d.plugin -d -m bind