diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2013-12-01 20:20:18 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2013-12-01 20:20:18 -0800 |
commit | 7f1e5885e19830de5337ad505bc218d16ec0374a (patch) | |
tree | b7df8d4e102d1bbb63a5563d8c53828913839b1e /etc | |
download | iptables-rrdtool-7f1e5885e19830de5337ad505bc218d16ec0374a.tar.gz iptables-rrdtool-7f1e5885e19830de5337ad505bc218d16ec0374a.zip |
Initial commit
Diffstat (limited to 'etc')
-rw-r--r-- | etc/cron.d/iptables-rrdtool | 2 | ||||
-rw-r--r-- | etc/default/iptables-rrdtool | 11 |
2 files changed, 13 insertions, 0 deletions
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= |