summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/cron.d/iptables-rrdtool2
-rw-r--r--etc/default/iptables-rrdtool11
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=