mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
collectd: Ignore *phys, macvtap* and vnet* interfaces
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -34,9 +34,9 @@ include "/etc/collectd.precache"
|
||||
|
||||
<Plugin interface>
|
||||
Interface "lo"
|
||||
Interface "ipsec1"
|
||||
Interface "ipsec2"
|
||||
Interface "ipsec3"
|
||||
Interface "/[0-9]*phys$/"
|
||||
Interface "/^macvtap[0-9]*$/"
|
||||
Interface "/^vnet[0-9]*$/"
|
||||
IgnoreSelected true
|
||||
</Plugin>
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
etc/system-release
|
||||
etc/issue
|
||||
etc/collectd.conf
|
||||
opt/pakfire/lib/functions.sh
|
||||
srv/web/ipfire/cgi-bin/ids.cgi
|
||||
|
||||
@@ -41,6 +41,7 @@ do
|
||||
done
|
||||
|
||||
# Stop services
|
||||
/etc/init.d/collectd stop
|
||||
|
||||
# Extract files
|
||||
extract_files
|
||||
@@ -55,6 +56,7 @@ ldconfig
|
||||
#/usr/local/bin/update-lang-cache
|
||||
|
||||
# Start services
|
||||
/etc/init.d/collectd start
|
||||
/etc/init.d/snort restart
|
||||
|
||||
# This update need a reboot...
|
||||
|
||||
Reference in New Issue
Block a user