blob: 1d074b8612037bd7f29656809ba25801a428b4ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#! /bin/sh
mkdir -p ../rrd/
case "$1" in
"") echo "Missing system name."; exit 1
esac
RRD_BIN=/usr/bin
# 26 hours and 8 days data bins
${RRD_BIN}/rrdtool create $1.rrd \
DS:offset:GAUGE:1200:U:U \
DS:sjit:GAUGE:1200:U:U \
DS:cjit:GAUGE:1200:U:U \
DS:wander:GAUGE:1200:U:U \
DS:freq:GAUGE:1200:U:U \
DS:disp:GAUGE:1200:U:U \
DS:jitter:GAUGE:1200:U:U \
RRA:LAST:0.5:1:312 \
RRA:LAST:0.5:12:2304
#end
mv $1.rrd ../rrd/
echo $1 >> ../rrd/list-of-systems
./do-build-index
|