mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Disabled and removed unused iptables rrds.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user