root/trunk/pdns/pdns/tools/rrd/create @ 1495

Revision 1495, 1.5 KB (checked in by ahu, 3 years ago)

add packetcache statistics, plus 'unexpected' counts, plus fix up some confusing colors

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3UPDATE_INTERVAL=60
4
5rrdtool create pdns_recursor.rrd -s $UPDATE_INTERVAL \
6DS:questions:COUNTER:600:0:100000 \
7DS:tcp-questions:COUNTER:600:0:100000 \
8DS:cache-entries:GAUGE:600:0:U \
9DS:packetcache-entries:GAUGE:600:0:U \
10DS:throttle-entries:GAUGE:600:0:U \
11DS:concurrent-queries:GAUGE:600:0:50000 \
12DS:noerror-answers:COUNTER:600:0:100000 \
13DS:nxdomain-answers:COUNTER:600:0:100000 \
14DS:servfail-answers:COUNTER:600:0:100000 \
15DS:tcp-outqueries:COUNTER:600:0:100000 \
16DS:outgoing-timeouts:COUNTER:600:0:100000 \
17DS:throttled-out:COUNTER:600:0:100000 \
18DS:nsspeeds-entries:GAUGE:600:0:U \
19DS:negcache-entries:GAUGE:600:0:U \
20DS:all-outqueries:COUNTER:600:0:100000 \
21DS:cache-hits:COUNTER:600:0:100000 \
22DS:cache-misses:COUNTER:600:0:100000 \
23DS:packetcache-hits:COUNTER:600:0:100000 \
24DS:packetcache-misses:COUNTER:600:0:100000 \
25DS:answers0-1:COUNTER:600:0:100000 \
26DS:answers1-10:COUNTER:600:0:100000 \
27DS:answers10-100:COUNTER:600:0:100000 \
28DS:answers100-1000:COUNTER:600:0:100000 \
29DS:answers-slow:COUNTER:600:0:100000 \
30DS:qa-latency:GAUGE:600:0:10000000 \
31DS:user-msec:COUNTER:600:0:2000 \
32DS:uptime:GAUGE:600:0:U \
33DS:unexpected-packets:COUNTER:600:0:1000000 \
34DS:client-parse-errors:COUNTER:600:0:1000000 \
35DS:server-parse-errors:COUNTER:600:0:1000000 \
36DS:unauthorized-udp:COUNTER:600:0:1000000 \
37DS:unauthorized-tcp:COUNTER:600:0:1000000 \
38DS:sys-msec:COUNTER:600:0:2000 \
39        RRA:AVERAGE:0.5:1:9600  \
40        RRA:AVERAGE:0.5:4:9600  \
41        RRA:AVERAGE:0.5:24:6000 \
42        RRA:MAX:0.5:1:9600  \
43        RRA:MAX:0.5:4:9600      \
44        RRA:MAX:0.5:24:6000     
Note: See TracBrowser for help on using the browser.