jablonka.czprosek.czf

hotsanic

Subversion Repositories:
[/] [trunk/] [modules/] [routing2/] [makerrd] - Blame information for rev 16

 

Line No. Rev Author Line
11simandl#!/usr/bin/env sh
2 
3. ../../settings
4 
5DEV=routing2
6MAX=50000
7SECS=`date +%s`
8 
9MODNAME=`pwd|sed -e "s/.*\///g" | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
10 
11echo $SECS $MODNAME: setting up database $DEV.rrd for values [0..$MAX]
12 
13$BINPATH/rrdtool create rrd/$DEV.rrd --step 10 \
14 DS:all:GAUGE:300:U:$MAX \
15 DS:routers:GAUGE:300:U:$MAX \
16 DS:cloud:GAUGE:300:U:$MAX \
17 DS:default:GAUGE:300:U:$MAX \
18 DS:ra:GAUGE:300:U:$MAX \
19 DS:rb:GAUGE:300:U:$MAX \
20 DS:rc:GAUGE:300:U:$MAX \
21 DS:rd:GAUGE:300:U:$MAX \
22 DS:re:GAUGE:300:U:$MAX \
23 DS:rf:GAUGE:300:U:$MAX \
24 DS:rg:GAUGE:300:U:$MAX \
25 RRA:AVERAGE:0:1:720 \
26 RRA:AVERAGE:0.3:6:2880 \
27 RRA:AVERAGE:0.3:60:2016 \
28 RRA:AVERAGE:0.3:360:1488 \
29 RRA:AVERAGE: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

Powered by WebSVN 2.2.1