jablonka.czprosek.czf

hotsanic

Subversion Repositories:
[/] [branches/] [HotSaNIC-0.5.0-jablonecka/] [modules/] [routing2/] [makerrd2] - Blame information for rev 33

 

Line No. Rev Author Line
11simandl#!/bin/sh
2 
3. ../../settings
4 
5DEV=routing
6MAX=50000
7 
8SECS=$(date +%s)
9 
10if [ "$DEV" = "" ] || [ "$MAX" = "" ] ; then echo "arguments missing!" ; else
11 
12 echo $SECS PORTS: setting up database $DEV.rrd for values [0..$MAX]
13 
14 $BINPATH/rrdtool create rrd/$DEV.rrd --step 10 \
15 DS:all:GAUGE:300:U:$MAX \
16 DS:routers:GAUGE:300:U:$MAX \
17 DS:cloud:GAUGE:300:U:$MAX \
18 DS:default:GAUGE:300:U:$MAX \
19 RRA:AVERAGE:0:1:720 \
20 RRA:AVERAGE:0.3:6:2880 \
21 RRA:AVERAGE:0.3:60:2016 \
22 RRA:AVERAGE:0.3:360:1488 \
23 RRA:AVERAGE:0.3:4320:1460 \
24 RRA:MAX:0.3:6:2880 \
25 RRA:MAX:0.3:60:2016 \
26 RRA:MAX:0.3:360:1488 \
27 RRA:MAX:0.3:4320:1460
28fi
29 

Powered by WebSVN 2.2.1