#!/bin/bash

rrdtool create interfaces.rrd  --start `date +"%s"` \
  DS:eth0_in:COUNTER:600:0:12500000 \
  DS:eth0_out:COUNTER:600:0:12500000 \
  --step 300 \
  RRA:AVERAGE:0.5:1:2000 \
  RRA:AVERAGE:0.5:6:2000 \
  RRA:AVERAGE:0.5:24:2000 \
  RRA:AVERAGE:0.5:288:2000 \
  RRA:MAX:0.5:1:2000 \
  RRA:MAX:0.5:6:2000 \
  RRA:MAX:0.5:24:2000 \
  RRA:MAX:0.5:288:2000
