#!/bin/sh

# New value every 30 mins
# Storing 1 year of data
# all, ORDB, DSBL, spamcop, spamhaus

rrdtool create \
		rblsmtpd.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 \
		rblsmtpd_ordb.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 \
		rblsmtpd_dsbl.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 \
		rblsmtpd_spamcop.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 \
		rblsmtpd_spamhaus.rrd \
		--start=1100175000 \
		--step=1800 \
		DS:blocks:GAUGE:1800:0:99999 \
		DS:time:GAUGE:1800:0:99999 \
		RRA:MAX:0.5:1:17520