]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
cache hits in histogram.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 18 Sep 2008 14:45:15 +0000 (14:45 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 18 Sep 2008 14:45:15 +0000 (14:45 +0000)
git-svn-id: file:///svn/unbound/trunk@1259 be551aaa-1e26-0410-a405-d3ace91eadb9

contrib/unbound_munin_

index 330e63fa1023e0d7e36fa12b1c23e8c880134f46..c52ceacf3bce063d31dba9a43f04b64b5a722eb3 100755 (executable)
@@ -327,9 +327,13 @@ if test "$1" = "config" ; then
                echo "graph_args --base 1000 -l 0"
                echo "graph_vlabel queries / second"
                echo "graph_category DNS"
+               echo hcache.label "cache hits"
+               echo hcache.min 0
+               echo hcache.draw AREA
+               echo hcache.colour 999999
                echo h64ms.label "0 msec - 66 msec"
                echo h64ms.min 0
-               echo h64ms.draw AREA
+               echo h64ms.draw STACK
                echo h64ms.colour 0000FF
                echo h128ms.label "66 msec - 131 msec"
                echo h128ms.min 0
@@ -459,6 +463,8 @@ by_flags)
        done
        ;;
 histogram)
+       get_value total.num.cachehits
+       echo hcache.value $value
        r=0
        for x in histogram.000000.000000.to.000000.000001 \
                histogram.000000.000001.to.000000.000002 \