Changeset 676

Show
Ignore:
Timestamp:
04/11/06 17:01:11 (7 years ago)
Author:
ahu
Message:

add unauthorized-udp, unauthorized-tcp, client-parse-errors, server-parse-errors to graphs,
improve graph explanation a bit

Location:
trunk/pdns/pdns/tools/rrd
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/tools/rrd/create

    r663 r676  
    2727DS:qa-latency:GAUGE:600:0:10000000 \ 
    2828DS:user-msec:COUNTER:600:0:2000 \ 
     29DS:client-parse-errors:COUNTER:600:0:1000000 \ 
     30DS:server-parse-errors:COUNTER:600:0:1000000 \ 
     31DS:unauthorized-udp:COUNTER:600:0:1000000 \ 
     32DS:unauthorized-tcp:COUNTER:600:0:1000000 \ 
    2933DS:sys-msec:COUNTER:600:0:2000 \ 
    3034        RRA:AVERAGE:0.5:1:9600  \ 
  • trunk/pdns/pdns/tools/rrd/index.html

    r647 r676  
    22<body> 
    33<!-- 
    4 -rw-r--r--  1 ahu ahu 12918 2006-03-18 23:51 /var/www/caches-6h.png 
    5 -rw-r--r--  1 ahu ahu 13174 2006-03-18 23:51 /var/www/load-6h.png 
    6 -rw-r--r--  1 ahu ahu 12728 2006-03-18 23:51 /var/www/qoutq-6h.png 
    7 -rw-r--r--  1 ahu ahu 12939 2006-03-18 23:51 /var/www/questions-6h.png 
    8 -rw-r--r--  1 ahu ahu 12913 2006-03-18 23:51 /var/www/timeouts-6h.png 
     4-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 
    99--> 
    1010<h1>PowerDNS Recursor Performance Graphs</H1> 
     
    1414nameservers</td></tr> 
    1515<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 
     16it is, but returning unuseful answers, it is not useful to keep repeating 
     17identical queries. If PowerDNS prevents a duplicate query, and therefore 
     18prevents needless server load and delays, this is called a 'throttled 
    1819out-query'</td></tr> 
    1920<tr><td>Outgoing timeout</td><td>An out-query that did not generate an 
     
    2728<tr><td>Cache hits/misses</td><td>A query is judged a cache-hit if it could 
    2829be answered without generating any out-queries</td></tr> 
     30<tr><td>User/System CPU usage</td><td>Actual amount of CPU used exclusively 
     31by the recursor, either in user or in system (kernel) mode</td></td> 
    2932</table> 
    30 <img src="latencies-6h.png"> 
     33<img src="latencies-day.png"> 
    3134<br> 
    32 <img src="qa-latency-6h.png"> 
     35<img src="qa-latency-day.png"> 
    3336<br> 
    34 <img src="qoutq-6h.png"> 
     37<img src="qoutq-day.png"> 
    3538<br> 
    36 <img src="timeouts-6h.png"> 
     39<img src="timeouts-day.png"> 
    3740<br> 
    38 <img src="questions-6h.png"> 
     41<img src="questions-day.png"> 
    3942<br> 
    40 <img src="tcp-questions-6h.png"> 
     43<img src="tcp-questions-day.png"> 
    4144<br> 
    42 <img src="caches-6h.png"> 
     45<img src="caches-day.png"> 
    4346<br> 
    44 <img src="caches2-6h.png"> 
     47<img src="caches2-day.png"> 
    4548<br> 
    46 <img src="load-6h.png"> 
     49<img src="load-day.png"> 
    4750<br> 
    48 <img src="hitrate-6h.png"> 
     51<img src="hitrate-day.png"> 
     52<br> 
     53<img src="packet-errors-day.png"> 
    4954 
    5055</body> 
  • trunk/pdns/pdns/tools/rrd/makegraphs

    r663 r676  
    77{ 
    88  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" \ 
    1010        -v "packets" \ 
    1111        DEF:questions=pdns_recursor.rrd:questions:AVERAGE  \ 
     
    1919 
    2020  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" \ 
    2222        -v "packets" \ 
    2323        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"  
    2537 
    2638  rrdtool graph --start -$1 $WWWPREFIX/latencies-$2.png -w $WSIZE -h $HSIZE -l 0\ 
     
    4153 
    4254  rrdtool graph --start -$1 $WWWPREFIX/qoutq-$2.png -w $WSIZE -h $HSIZE -l 0 \ 
    43         -t "Questions/outqueries counts per second" \ 
     55        -t "Questions/outqueries per second" \ 
    4456        -v "packets" \ 
    4557        DEF:questions=pdns_recursor.rrd:questions:AVERAGE  \ 
     
    5769 
    5870  rrdtool graph --start -$1 $WWWPREFIX/timeouts-$2.png -w $WSIZE -h $HSIZE -l 0\ 
    59         -t "Outqueries/timeouts counts per second" \ 
     71        -t "Outqueries/timeouts per second" \ 
    6072        -v "events" \ 
    6173        DEF:alloutqueries=pdns_recursor.rrd:all-outqueries:AVERAGE  \ 
     
    98110  rrdtool graph --start -$1 $WWWPREFIX/hitrate-$2.png -w $WSIZE -h $HSIZE -l 0\ 
    99111        -v "percentage" \ 
    100         -t "cache hits" \ 
     112        -t "cache hits, cpu load" \ 
    101113        DEF:cachehits=pdns_recursor.rrd:cache-hits:AVERAGE  \ 
    102114        DEF:cachemisses=pdns_recursor.rrd:cache-misses:AVERAGE  \ 
  • trunk/pdns/pdns/tools/rrd/update

    r647 r676  
    99           outgoing-timeouts nsspeeds-entries negcache-entries all-outqueries throttled-out\ 
    1010           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" 
    1213 
    1314UVARIABLES=$(echo $VARIABLES | tr '[a-z]' '[A-Z]' | tr - _ )