1 | 1 | simandl | #!/bin/sh |
2 | | | |
3 | | | . ../../settings |
4 | | | |
5 | | | SECS=`date +%s` |
6 | | | |
7 | | | echo $SECS BIND: setting up database bind.rrd for values [0..U] |
8 | | | |
9 | | | $BINPATH/rrdtool create rrd/bind.rrd --step 10 \ |
10 | | | DS:success:COUNTER:300:0:U \ |
11 | | | DS:referral:COUNTER:300:0:U \ |
12 | | | DS:nxrrset:COUNTER:300:0:U \ |
13 | | | DS:nxdomain:COUNTER:300:0:U \ |
14 | | | DS:recursion:COUNTER:300:0:U \ |
15 | | | DS:failure:COUNTER:300:0:U \ |
16 | | | RRA:AVERAGE:0:1:720 \ |
17 | | | RRA:AVERAGE:0.3:6:2880 \ |
18 | | | RRA:AVERAGE:0.3:60:2016 \ |
19 | | | RRA:AVERAGE:0.3:360:1488 \ |
20 | | | RRA:AVERAGE:0.3:4320:1460 \ |
21 | | | RRA:MIN:0.3:6:2880 \ |
22 | | | RRA:MIN:0.3:60:2016 \ |
23 | | | RRA:MIN:0.3:360:1488 \ |
24 | | | RRA:MIN:0.3:4320:1460 \ |
25 | | | RRA:MAX:0.3:6:2880 \ |
26 | | | RRA:MAX:0.3:60:2016 \ |
27 | | | RRA:MAX:0.3:360:1488 \ |
28 | | | RRA:MAX:0.3:4320:1460 |
29 | | | |
30 | | | # 2h -> 720 Werte alle 10sec |
31 | | | # 2d = 48h -> 2880 Werte alle 1min (6*10sec) |
32 | | | # 2w = 14d -> 2016 Werte alle 10min (60*10sec) |
33 | | | # 2m = 62d -> 1488 Werte alle 1h (360*10sec) |
34 | | | # 2y = 730d -> 1460 Werte alle 12h (4320*10sec) |
35 | | | |