Skip to content

Instantly share code, notes, and snippets.

@filipsPL
Created April 12, 2016 12:02
Show Gist options
  • Save filipsPL/8cef85d0c64559423cc32e4dd100a894 to your computer and use it in GitHub Desktop.
Save filipsPL/8cef85d0c64559423cc32e4dd100a894 to your computer and use it in GitHub Desktop.
#!/bin/bash
rrdtool create airq.rrd --step 3600 \
DS:pm10:GAUGE:1800:0:500 \
DS:pm25:GAUGE:1800:0:500 \
RRA:AVERAGE:0.5:1:144 \
RRA:AVERAGE:0.5:3:336 \
RRA:AVERAGE:0.5:144:367 \
RRA:AVERAGE:0.5:1008:250 \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment