unbound plugin untuk munin

# unbound-plugin-for-munin only for system freeBSD

step1

add this code to: /usr/local/etc/munin/plugin-conf.d/plugins.conf
[unbound*] user root env.statefile /var/munin/plugin-state/nobody/unbound.state env.unbound_conf /usr/local/etc/unbound/unbound.conf env.unbound_control /usr/local/sbin/unbound-control env.spoof_warn 1000 env.spoof_crit 100000

step2

ln -s /usr/local/share/munin/plugins/unbound_munin_ /usr/local/etc/munin/plugins/unbound_munin_by_class ln -s /usr/local/share/munin/plugins/unbound_munin_ /usr/local/etc/munin/plugins/unbound_munin_by_flags ln -s /usr/local/share/munin/plugins/unbound_munin_ /usr/local/etc/munin/plugins/unbound_munin_by_opcode ln -s /usr/local/share/munin/plugins/unbound_munin_ /usr/local/etc/munin/plugins/unbound_munin_by_rcode ln -s /usr/local/share/munin/plugins/unbound_munin_ /usr/local/etc/munin/plugins/unbound_munin_by_type ln -s /usr/local/share/munin/plugins/unbound_munin_ /usr/local/etc/munin/plugins/unbound_munin_histogram ln -s /usr/local/share/munin/plugins/unbound_munin_ /usr/local/etc/munin/plugins/unbound_munin_memory ln -s /usr/local/share/munin/plugins/unbound_munin_ /usr/local/etc/munin/plugins/unbound_munin_queue ln -s /usr/local/share/munin/plugins/unbound_munin_ /usr/local/etc/munin/plugins/unbound_munin_hits

step3

service unbound restart service munin-node restart

done! 

resource:
https://github.com/niammuddin/unbound-plugin-for-munin
https://github.com/saint-lascivious/munin-unbound-plugins https://stanislas.blog/2018/02/configure-unbound-plugin-munin/
https://github.com/munin-monitoring/contrib/tree/master/templates/munstrap