From 7f1e5885e19830de5337ad505bc218d16ec0374a Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Sun, 1 Dec 2013 20:20:18 -0800 Subject: Initial commit --- etc/cron.d/iptables-rrdtool | 2 ++ etc/default/iptables-rrdtool | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 etc/cron.d/iptables-rrdtool create mode 100644 etc/default/iptables-rrdtool (limited to 'etc') diff --git a/etc/cron.d/iptables-rrdtool b/etc/cron.d/iptables-rrdtool new file mode 100644 index 0000000..71a9877 --- /dev/null +++ b/etc/cron.d/iptables-rrdtool @@ -0,0 +1,2 @@ +# generate and update RRDs from iptables rule counters every five minutes +*/5 * * * * root /usr/sbin/iptables-rrdtool diff --git a/etc/default/iptables-rrdtool b/etc/default/iptables-rrdtool new file mode 100644 index 0000000..69a2494 --- /dev/null +++ b/etc/default/iptables-rrdtool @@ -0,0 +1,11 @@ +## Defaults sourced by iptables-rrdtool script on Debian systems. +## Uncomment (remove the leading '#') and change values as needed. + +## Directory rrd files are stored +# RRDDIR=/var/lib/iptables-rrdtool + +## Generate PNGs? +# GENPNG=1 + +## Directory png files are stored. If not defined, will default to ${RRDDIR} +# PNGDIR= -- cgit v1.2.3