jablonka.czprosek.czf

hotsanic

Subversion Repositories:
[/] [branches/] [HotSaNIC-0.5.0-pre6/] [modules/] [mailq/] [makerrd] - Blame information for rev 30

 

Line No. Rev Author Line
11simandl#!/usr/bin/env sh
2 
3. ../../settings
4 
5SECS=`date +%s`
6 
7MODNAME=`pwd|sed -e "s/.*\///g" | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
8 
9 echo $SECS $MODNAME: setting up database
10 
11 
12 $BINPATH/rrdtool create rrd/queue.rrd --step 10 \
13 DS:kbytes:GAUGE:300:0:U \
14 DS:req:GAUGE:300:0:U \
15 DS:crefused:GAUGE:300:0:U \
16 DS:ctimeout:GAUGE:300:0:U \
17 DS:rtimeout:GAUGE:300:0:U \
18 DS:nohost:GAUGE:300:0:U \
19 DS:other:GAUGE:300:0:U \
20 DS:msrefused:GAUGE:300:0:U \
21 RRA:AVERAGE:0:1:720 \
22 RRA:AVERAGE:0.3:6:2880 \
23 RRA:AVERAGE:0.3:60:2016 \
24 RRA:AVERAGE:0.3:360:1488 \
25 RRA:AVERAGE:0.3:4320:1460 \
26 RRA:MIN:0.3:6:2880 \
27 RRA:MIN:0.3:60:2016 \
28 RRA:MIN:0.3:360:1488 \
29 RRA:MIN:0.3:4320:1460 \
30 RRA:MAX:0.3:6:2880 \
31 RRA:MAX:0.3:60:2016 \
32 RRA:MAX:0.3:360:1488 \
33 RRA:MAX:0.3:4320:1460
34 
35# 2h -> 720 Werte alle 10sec
36# 2d = 48h -> 2880 Werte alle 1min (6*10sec)
37# 2w = 14d -> 2016 Werte alle 10min (60*10sec)
38# 2m = 62d -> 1488 Werte alle 1h (360*10sec)
39# 2y = 730d -> 1460 Werte alle 12h (4320*10sec)
40 

Powered by WebSVN 2.2.1