Changeset 676
- Timestamp:
- 04/11/06 17:01:11 (7 years ago)
- Location:
- trunk/pdns/pdns/tools/rrd
- Files:
-
- 4 modified
-
create (modified) (1 diff)
-
index.html (modified) (3 diffs)
-
makegraphs (modified) (5 diffs)
-
update (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/tools/rrd/create
r663 r676 27 27 DS:qa-latency:GAUGE:600:0:10000000 \ 28 28 DS:user-msec:COUNTER:600:0:2000 \ 29 DS:client-parse-errors:COUNTER:600:0:1000000 \ 30 DS:server-parse-errors:COUNTER:600:0:1000000 \ 31 DS:unauthorized-udp:COUNTER:600:0:1000000 \ 32 DS:unauthorized-tcp:COUNTER:600:0:1000000 \ 29 33 DS:sys-msec:COUNTER:600:0:2000 \ 30 34 RRA:AVERAGE:0.5:1:9600 \ -
trunk/pdns/pdns/tools/rrd/index.html
r647 r676 2 2 <body> 3 3 <!-- 4 -rw-r--r-- 1 ahu ahu 12918 2006-03-18 23:51 /var/www/caches- 6h.png5 -rw-r--r-- 1 ahu ahu 13174 2006-03-18 23:51 /var/www/load- 6h.png6 -rw-r--r-- 1 ahu ahu 12728 2006-03-18 23:51 /var/www/qoutq- 6h.png7 -rw-r--r-- 1 ahu ahu 12939 2006-03-18 23:51 /var/www/questions- 6h.png8 -rw-r--r-- 1 ahu ahu 12913 2006-03-18 23:51 /var/www/timeouts- 6h.png4 -rw-r--r-- 1 ahu ahu 12918 2006-03-18 23:51 /var/www/caches-day.png 5 -rw-r--r-- 1 ahu ahu 13174 2006-03-18 23:51 /var/www/load-day.png 6 -rw-r--r-- 1 ahu ahu 12728 2006-03-18 23:51 /var/www/qoutq-day.png 7 -rw-r--r-- 1 ahu ahu 12939 2006-03-18 23:51 /var/www/questions-day.png 8 -rw-r--r-- 1 ahu ahu 12913 2006-03-18 23:51 /var/www/timeouts-day.png 9 9 --> 10 10 <h1>PowerDNS Recursor Performance Graphs</H1> … … 14 14 nameservers</td></tr> 15 15 <tr><td>Throttled</td><td>If a certain nameserver is not responding, or if 16 it is, but returning unuseful answers, the query can 17 get prevented from happening and causing delay. This is called a 'throttled 16 it is, but returning unuseful answers, it is not useful to keep repeating 17 identical queries. If PowerDNS prevents a duplicate query, and therefore 18 prevents needless server load and delays, this is called a 'throttled 18 19 out-query'</td></tr> 19 20 <tr><td>Outgoing timeout</td><td>An out-query that did not generate an … … 27 28 <tr><td>Cache hits/misses</td><td>A query is judged a cache-hit if it could 28 29 be answered without generating any out-queries</td></tr> 30 <tr><td>User/System CPU usage</td><td>Actual amount of CPU used exclusively 31 by the recursor, either in user or in system (kernel) mode</td></td> 29 32 </table> 30 <img src="latencies- 6h.png">33 <img src="latencies-day.png"> 31 34 <br> 32 <img src="qa-latency- 6h.png">35 <img src="qa-latency-day.png"> 33 36 <br> 34 <img src="qoutq- 6h.png">37 <img src="qoutq-day.png"> 35 38 <br> 36 <img src="timeouts- 6h.png">39 <img src="timeouts-day.png"> 37 40 <br> 38 <img src="questions- 6h.png">41 <img src="questions-day.png"> 39 42 <br> 40 <img src="tcp-questions- 6h.png">43 <img src="tcp-questions-day.png"> 41 44 <br> 42 <img src="caches- 6h.png">45 <img src="caches-day.png"> 43 46 <br> 44 <img src="caches2- 6h.png">47 <img src="caches2-day.png"> 45 48 <br> 46 <img src="load- 6h.png">49 <img src="load-day.png"> 47 50 <br> 48 <img src="hitrate-6h.png"> 51 <img src="hitrate-day.png"> 52 <br> 53 <img src="packet-errors-day.png"> 49 54 50 55 </body> -
trunk/pdns/pdns/tools/rrd/makegraphs
r663 r676 7 7 { 8 8 rrdtool graph --start -$1 $WWWPREFIX/questions-$2.png -w $WSIZE -h $HSIZE -l 0\ 9 -t "Question and answer counts per second" \9 -t "Questions and answers per second" \ 10 10 -v "packets" \ 11 11 DEF:questions=pdns_recursor.rrd:questions:AVERAGE \ … … 19 19 20 20 rrdtool graph --start -$1 $WWWPREFIX/tcp-questions-$2.png -w $WSIZE -h $HSIZE -l 0\ 21 -t "TCP question and answer counts per second" \21 -t "TCP questions and answers per second, unauthorized packets/s" \ 22 22 -v "packets" \ 23 23 DEF:tcpquestions=pdns_recursor.rrd:tcp-questions:AVERAGE \ 24 LINE2:tcpquestions#0000ff:"questions/s"\ 24 DEF:unauthudp=pdns_recursor.rrd:unauthorized-udp:AVERAGE \ 25 DEF:unauthtcp=pdns_recursor.rrd:unauthorized-tcp:AVERAGE \ 26 LINE2:tcpquestions#0000ff:"tcp questions/s" \ 27 LINE2:unauthudp#ff0000:"udp unauth/s" \ 28 LINE2:unauthtcp#00ff00:"tcp unauth/s" 29 30 rrdtool graph --start -$1 $WWWPREFIX/packet-errors-$2.png -w $WSIZE -h $HSIZE -l 0\ 31 -t "Parsing errors per second" \ 32 -v "packets" \ 33 DEF:clientparseerrors=pdns_recursor.rrd:client-parse-errors:AVERAGE \ 34 DEF:serverparseerrors=pdns_recursor.rrd:server-parse-errors:AVERAGE \ 35 LINE2:clientparseerrors#0000ff:"bad packets from clients" \ 36 LINE2:serverparseerrors#00ff00:"bad packets from servers" 25 37 26 38 rrdtool graph --start -$1 $WWWPREFIX/latencies-$2.png -w $WSIZE -h $HSIZE -l 0\ … … 41 53 42 54 rrdtool graph --start -$1 $WWWPREFIX/qoutq-$2.png -w $WSIZE -h $HSIZE -l 0 \ 43 -t "Questions/outqueries countsper second" \55 -t "Questions/outqueries per second" \ 44 56 -v "packets" \ 45 57 DEF:questions=pdns_recursor.rrd:questions:AVERAGE \ … … 57 69 58 70 rrdtool graph --start -$1 $WWWPREFIX/timeouts-$2.png -w $WSIZE -h $HSIZE -l 0\ 59 -t "Outqueries/timeouts countsper second" \71 -t "Outqueries/timeouts per second" \ 60 72 -v "events" \ 61 73 DEF:alloutqueries=pdns_recursor.rrd:all-outqueries:AVERAGE \ … … 98 110 rrdtool graph --start -$1 $WWWPREFIX/hitrate-$2.png -w $WSIZE -h $HSIZE -l 0\ 99 111 -v "percentage" \ 100 -t "cache hits " \112 -t "cache hits, cpu load" \ 101 113 DEF:cachehits=pdns_recursor.rrd:cache-hits:AVERAGE \ 102 114 DEF:cachemisses=pdns_recursor.rrd:cache-misses:AVERAGE \ -
trunk/pdns/pdns/tools/rrd/update
r647 r676 9 9 outgoing-timeouts nsspeeds-entries negcache-entries all-outqueries throttled-out\ 10 10 cache-hits cache-misses answers0-1 answers1-10 answers10-100 answers100-1000 answers-slow\ 11 qa-latency throttle-entries sys-msec user-msec" 11 qa-latency throttle-entries sys-msec user-msec unauthorized-udp unauthorized-tcp client-parse-errors\ 12 server-parse-errors" 12 13 13 14 UVARIABLES=$(echo $VARIABLES | tr '[a-z]' '[A-Z]' | tr - _ )