I want to configure libreNMS to monitor Bind Service. So I followed up the instructions, explained in the docs: https://docs.librenms.org/#Extensions/Applications/#bind9-aka-named
But the Bind-graphs doesn´t show anything
Is filled up with expected data
rndc stats && cat /var/run/named/stats
Gives a valid output without permission errors.
named.conf.options contains the necessary entry that includes the stat-file:
statistics-file "/var/run/named/stats"; zone-statistics yes;
What I do not understand ist the following part in the docs:
You may possibly need to configure the agent/extend script as well.
The config file’s path defaults to the same path as the script, but with .config appended. So if the script is located at /etc/snmp/bind, the config file will be /etc/snmp/bind.config. Alternatively you can also specify a config via
I Need to create the
bind.config which contains the values for the variables that are already stored in the
bind script itself?
OK, I´am not a coder, but a normal sysadmin - so I created the file with the following content:
rndc = /usr/bin/env call_rndc = 1 stats_file = /var/run/named/stats agent = 0 zero_stats = 0
Hoever, with, or without the bind.config - the bind graphs doesn´t show anything.
Any advice how to get this to work?