Skip to content
Snippets Groups Projects
Commit 43127877 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

netio: ignore docker and veth interfaces

parent 4da72b7c
No related branches found
No related tags found
1 merge request!253netio: ignore docker and veth interfaces
......@@ -12,20 +12,22 @@
# 2023-09-22 v1.4 <axel.hahn@unibe.ch> fix syntax error -eq: unary operator expected
# 2024-01-10 v1.5 <axel.hahn@unibe.ch> added regex filter for include and exclude
# 2024-03-04 v1.6 <axel.hahn@unibe.ch> remove Kubernetes interfaces
# 2024-03-26 v1.7 <axel.hahn@unibe.ch> ignore docker and veth interfaces
# ======================================================================
. $( dirname $0 )/inc_pluginfunctions
export self_APPVERSION=1.6
export self_APPVERSION=1.7
# network data without non physical interfaces to be removed from /proc/net/dev
# - lo - local
# - bond - bonded interfaces
# - ppp - dialer connections
# - docker - Docker / Docker Swarm interfaces, e.g. docker0, docker_gwbridge
# - cali - Kubernetes interfaces
# - flannel - layer 3 fabric for Kubernetes
nonPhysicalInterfaces="(lo|bond.*|ppp.*|cali.*|flannel.*):"
nonPhysicalInterfaces="(lo|bond.*|cali.*|docker.*|flannel.*|ppp.*|veth.*):"
# ----------------------------------------------------------------------
# FUNCTIONS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment