librenms / librenms-agent

LibreNMS Agent & Scripts
GNU General Public License v2.0
118 stars 188 forks source link

Getting Unbound stats from Freebsd13 #368

Open rphanikrishna opened 3 years ago

rphanikrishna commented 3 years ago

unbound-control is in /usr/local/sbin/

can i use the below script to get the Unbound statistics from Freebsd13 to Librennms or do you suggest me to change anything below

Unbound Script

!/bin/sh

Set the path to unbound-control.

unbountctl='/usr/local/sbin unbound-control'

You should not need to change anything below.

$unbountctl stats

SNMPD.conf added this as last line extend unbound /usr/bin/sudo /etc/snmp/unbound