owen-script/vodynoi/create_rrd-bd.sh

9 lines
217 B
Bash
Executable file

#!/bin/bash
rrdtool create temperature_data.rrd \
--step 60 \
DS:temp_low:GAUGE:120:-40:100 \
DS:temp_high:GAUGE:120:-40:100 \
RRA:AVERAGE:0.5:1:1440 \
RRA:AVERAGE:0.5:60:720 \
RRA:MAX:0.5:60:720 \
RRA:MIN:0.5:60:720