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

Merge branch 'docker-checks' into 'master'

netio: ignore docker and veth interfaces

See merge request !253
parents a054d805 a776e7c6
Branches
No related tags found
1 merge request!253netio: ignore docker and veth interfaces
...@@ -12,20 +12,22 @@ ...@@ -12,20 +12,22 @@
# 2023-09-22 v1.4 <axel.hahn@unibe.ch> fix syntax error -eq: unary operator expected # 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-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-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 . $( 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 # network data without non physical interfaces to be removed from /proc/net/dev
# - lo - local # - lo - local
# - bond - bonded interfaces # - bond - bonded interfaces
# - ppp - dialer connections # - ppp - dialer connections
# - docker - Docker / Docker Swarm interfaces, e.g. docker0, docker_gwbridge
# - cali - Kubernetes interfaces # - cali - Kubernetes interfaces
# - flannel - layer 3 fabric for Kubernetes # - flannel - layer 3 fabric for Kubernetes
nonPhysicalInterfaces="(lo|bond.*|ppp.*|cali.*|flannel.*):" nonPhysicalInterfaces="(lo|bond.*|cali.*|docker.*|flannel.*|ppp.*|veth.*):"
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# FUNCTIONS # FUNCTIONS
......
...@@ -16,7 +16,7 @@ This plugin scans `/proc/net/dev` with the regex `eth|en[ops][0-9]*` to show a f ...@@ -16,7 +16,7 @@ This plugin scans `/proc/net/dev` with the regex `eth|en[ops][0-9]*` to show a f
______________________________________________________________________ ______________________________________________________________________
CHECK_NETIO CHECK_NETIO
v1.6 v1.7
(c) Institute for Medical Education - University of Bern (c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3 Licence: GNU GPL 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment