]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Update unbound_munin_ 148/head
authorfrpet <pettai@sunet.se>
Thu, 23 Jan 2020 07:23:16 +0000 (08:23 +0100)
committerfrpet <pettai@sunet.se>
Thu, 23 Jan 2020 07:23:16 +0000 (08:23 +0100)
Add TLS (DoT) counters

contrib/unbound_munin_

index 5d3dff8e813e5fa1b53fed8fc0f5102d6e605969..2839cd8b53656b3b3a11a62517bcf480d0bb4b21 100755 (executable)
@@ -242,6 +242,8 @@ if test "$1" = "config" ; then
                p_config "total.num.prefetch" "cache prefetch" "ABSOLUTE"
                p_config "num.query.tcp" "TCP queries" "ABSOLUTE"
                p_config "num.query.tcpout" "TCP out queries" "ABSOLUTE"
+               p_config "num.query.tls" "TLS queries" "ABSOLUTE"
+               p_config "num.query.tls.resume" "TLS resumes" "ABSOLUTE"
                p_config "num.query.ipv6" "IPv6 queries" "ABSOLUTE"
                p_config "unwanted.queries" "queries that failed acl" "ABSOLUTE"
                p_config "unwanted.replies" "unwanted or unsolicited replies" "ABSOLUTE"
@@ -443,7 +445,8 @@ hits)
        for x in `grep "^thread[0-9][0-9]*\.num\.queries=" $state |
                sed -e 's/=.*//'` total.num.queries \
                total.num.cachehits total.num.prefetch num.query.tcp \
-               num.query.tcpout num.query.ipv6 unwanted.queries \
+               num.query.tcpout num.query.tls num.query.tls.resume \
+               num.query.ipv6 unwanted.queries \
                unwanted.replies; do
                if grep "^"$x"=" $state >/dev/null 2>&1; then
                        print_value $x