Unbound
Unbound configuration:
# Enable extended statistics.
server:
extended-statistics: yes
statistics-cumulative: yes
remote-control:
control-enable: yes
control-interface: 127.0.0.1
Restart your unbound after changing the configuration, verify it is working by running unbound-control stats.
Agent or SNMP Extend
(Preferred and easiest method)
- Copy the shell script, unbound, to the desired host
wget https://github.com/librenms/librenms-agent/raw/master/snmp/unbound -O /etc/snmp/unbound
- Make the script executable.
chmod +x /etc/snmp/unbound
- Edit your
snmpd.conffile and add:
extend unbound /usr/bin/sudo /etc/snmp/unbound
- Restart snmpd.
LibreNMS discovers the application automatically, as described at the top of the page. If the discovery fails, do the steps under the SNMP Extend heading at the top of the page.
If this device has no agent, install the agent and copy the unbound.sh script to /usr/lib/check_mk_agent/local/