jablonka.czprosek.czf

hotsanic

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

 

Line No. Rev Author Line
11simandl#!/usr/bin/env sh
2 
3. ../../settings
4 
5DEV=$1
6 
7SECS=`date +%s`
8 
9MODNAME=`pwd|sed -e "s/.*\///g" | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
10 
11if [ "$DEV" = "" ] ; then echo "argument missing!" ; else
12 
13 echo $SECS $MODNAME: setting up database $DEV.rrd
14 
15 $BINPATH/rrdtool create rrd/$DEV.rrd --step 86400 -b -2years\
16 DS:rc5:GAUGE:864000:0:U \
17 DS:ogr:GAUGE:864000:0:U \
18 DS:csc:GAUGE:864000:0:U \
19 DS:des:GAUGE:864000:0:U \
20 RRA:AVERAGE:0:1:1000 \
21 RRA:AVERAGE:0.3:7:1000 \
22 RRA:AVERAGE:0.3:30:1000 \
23 RRA:MIN:0.3:7:1000 \
24 RRA:MIN:0.3:30:1000 \
25 RRA:MAX:0.3:7:1000 \
26 RRA:MAX:0.3:30:1000
27 
28 fi
29 

Powered by WebSVN 2.2.1