#!/bin/sh

# New value every 30 mins
# Storing 1 year of data
# all:spamhaus:china:korea:spews1:spews2

rrdtool create \
		spamd.rrd \
		--start=1100175000 \
		--step=1800 \
		DS:blocks:GAUGE:1800:0:99999 \
		DS:time:GAUGE:1800:0:99999 \
		RRA:MAX:0.5:1:17520

rrdtool create \
		spamd_spamhaus.rrd \
		--start=1100175000 \
		--step=1800 \
		DS:blocks:GAUGE:1800:0:99999 \
		DS:time:GAUGE:1800:0:99999 \
		RRA:MAX:0.5:1:17520

rrdtool create \
		spamd_china.rrd \
		--start=1100175000 \
		--step=1800 \
		DS:blocks:GAUGE:1800:0:99999 \
		DS:time:GAUGE:1800:0:99999 \
		RRA:MAX:0.5:1:17520

rrdtool create \
		spamd_korea.rrd \
		--start=1100175000 \
		--step=1800 \
		DS:blocks:GAUGE:1800:0:99999 \
		DS:time:GAUGE:1800:0:99999 \
		RRA:MAX:0.5:1:17520

rrdtool create \
		spamd_spews1.rrd \
		--start=1100175000 \
		--step=1800 \
		DS:blocks:GAUGE:1800:0:99999 \
		DS:time:GAUGE:1800:0:99999 \
		RRA:MAX:0.5:1:17520

rrdtool create \
		spamd_spews2.rrd \
		--start=1100175000 \
		--step=1800 \
		DS:blocks:GAUGE:1800:0:99999 \
		DS:time:GAUGE:1800:0:99999 \
		RRA:MAX:0.5:1:17520
