]> granicus.if.org Git - pdns/commitdiff
Imre Gergely discovered that the rrd graphs do not support more than 200% cpu usage...
authorBert Hubert <bert.hubert@netherlabs.nl>
Sat, 20 Feb 2010 06:10:11 +0000 (06:10 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Sat, 20 Feb 2010 06:10:11 +0000 (06:10 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1524 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/tools/rrd/create
pdns/tools/rrd/makegraphs

index bf5d7f4a339e24757c92768991267f00281ffd21..383521306871621204dcd460ab3d286d5168c5bd 100755 (executable)
@@ -29,7 +29,7 @@ DS:answers100-1000:COUNTER:600:0:100000 \
 DS:answers-slow:COUNTER:600:0:100000 \
 DS:udp-overruns:COUNTER:600:0:100000 \
 DS:qa-latency:GAUGE:600:0:10000000 \
-DS:user-msec:COUNTER:600:0:2000 \
+DS:user-msec:COUNTER:600:0:64000 \
 DS:uptime:GAUGE:600:0:U \
 DS:unexpected-packets:COUNTER:600:0:1000000 \
 DS:resource-limits:COUNTER:600:0:1000000 \
@@ -38,7 +38,7 @@ DS:client-parse-errors:COUNTER:600:0:1000000 \
 DS:server-parse-errors:COUNTER:600:0:1000000 \
 DS:unauthorized-udp:COUNTER:600:0:1000000 \
 DS:unauthorized-tcp:COUNTER:600:0:1000000 \
-DS:sys-msec:COUNTER:600:0:2000 \
+DS:sys-msec:COUNTER:600:0:6400 \
        RRA:AVERAGE:0.5:1:9600  \
        RRA:AVERAGE:0.5:4:9600  \
        RRA:AVERAGE:0.5:24:6000 \
index 1d31548c81db1dcc79303d8e6fbbb88f03066933..27f0a87fb2b661ae5655fdeb311b0c55f6547ee1 100755 (executable)
@@ -159,7 +159,7 @@ function makeGraphs()
        DEF:msysmsec=pdns_recursor.rrd:sys-msec:MAX \
        CDEF:userperc=usermsec,10,/ \
        CDEF:sysperc=sysmsec,10,/ \
-       CDEF:totmperc=musermsec,msysmsec,+,10,/ \
+       CDEF:totmperc=usermsec,sysmsec,+,10,/ \
         LINE1:totmperc#ffff00:"max cpu use" \
         AREA:userperc#ff0000:"user cpu percentage" \
         STACK:sysperc#00ff00:"system cpu percentage" \