Disabled and removed unused iptables rrds.

This commit is contained in:
Arne Fitzenreiter
2010-05-30 18:29:43 +02:00
parent 8f5d656747
commit 48cad624e6
2 changed files with 4 additions and 3 deletions

View File

@@ -49,9 +49,6 @@ include "/etc/collectd.precache"
Chain filter FORWARD DROP_OUTPUT
Chain filter PSCAN DROP_PScan
Chain filter NEWNOTSYN DROP_NEWNOTSYN
Chain filter OUTGOINGFW DROP_OUTGOINGFW
Chain filter INPUT DROP_Wirelessinput
Chain filter FORWARD DROP_Wirelessforward
</Plugin>
#<Plugin logfile>

View File

@@ -160,6 +160,10 @@ rm -rf /var/log/rrd*/collectd/localhost/interface/if_packets*
rm -rf /var/log/rrd*/collectd/localhost/disk-*/disk_merged*
rm -rf /var/log/rrd*/collectd/localhost/disk-*/disk_ops*
rm -rf /var/log/rrd*/collectd/localhost/disk-*/disk_time*
#
rm -rf /var/log/rrd*/collectd/localhost/iptables-filter-INPUT/*-DROP_Wirelessinput*
rm -rf /var/log/rrd*/collectd/localhost/iptables-filter-FORWARD/*-DROP_Wirelessforward*
rm -rf /var/log/rrd*/collectd/localhost/iptables-filter-OUTGOINGFW
POSTCLEAN=`du -sh /var/log/rrd/collectd`
#
echo Cleaned up collectd directory from $PRECLEAN to $POSTCLEAN size.