contrib/unbound_munin_: minor cleanup to remove two leftovers

This commit is contained in:
Kim B. Heino 2021-06-12 22:37:33 +03:00
parent 534a1a42c9
commit 70a9bfda84

View file

@ -95,7 +95,6 @@ BSD
=cut =cut
. ${MUNIN_LIBDIR}/plugins/plugin.sh
state="${MUNIN_PLUGSTATE}/unbound.state" state="${MUNIN_PLUGSTATE}/unbound.state"
seentags="${MUNIN_PLUGSTATE}/unbound-seentags.state" seentags="${MUNIN_PLUGSTATE}/unbound-seentags.state"
conf=${unbound_conf:-/usr/local/etc/unbound/unbound.conf} conf=${unbound_conf:-/usr/local/etc/unbound/unbound.conf}
@ -491,7 +490,7 @@ by_opcode)
;; ;;
by_rcode) by_rcode)
for nm in `grep "^num.answer.rcode" $seentags`; do for nm in `grep "^num.answer.rcode" $seentags`; do
print_value $nm $x print_value $nm
done done
print_value "num.answer.secure" print_value "num.answer.secure"
print_value "num.answer.bogus" print_value "num.answer.bogus"