diff --git a/src/main/connector/hardware/MIB2Linux/MIB2Linux.yaml b/src/main/connector/hardware/MIB2Linux/MIB2Linux.yaml index d6d042e..a2f0bb8 100644 --- a/src/main/connector/hardware/MIB2Linux/MIB2Linux.yaml +++ b/src/main/connector/hardware/MIB2Linux/MIB2Linux.yaml @@ -22,7 +22,7 @@ monitors: # PortID;Description;PortType;MacAddress;AdminStatus; - type: keepOnlyMatchingLines column: 2 - regExp: \\(^eth[0-9]+$\\)\\|\\(^vmnic[0-9]+$\\)\\|\\(^em[0-9]+$\\)\\|\\(^[Pp][0-9]+[Pp][0-9]+$\\)\\|\\(^en[ospx]\\) + regExp: "\\(^eth[0-9]+$\\)\\|\\(^vmnic[0-9]+$\\)\\|\\(^em[0-9]+$\\)\\|\\(^[Pp][0-9]+[Pp][0-9]+$\\)\\|\\(^en[ospx]\\)" mapping: # InstanceTable = Source(1) # PortID;Description;PortType;MacAddress;AdminStatus; diff --git a/src/main/connector/hardware/MIB2NT/MIB2NT.yaml b/src/main/connector/hardware/MIB2NT/MIB2NT.yaml index f1a5ec0..f2e9634 100644 --- a/src/main/connector/hardware/MIB2NT/MIB2NT.yaml +++ b/src/main/connector/hardware/MIB2NT/MIB2NT.yaml @@ -28,7 +28,7 @@ monitors: # PortID;Description;PortType;MacAddress;AdminStatus; - type: excludeMatchingLines column: 2 - regExp: \\(WAN\\)\\|\\(QoS\\)\\|\\([Ff]ilter\\)\\|\\([Ss]witch\\)\\|\\(57 41 4E 20\\)\\|\\(4D 69 63 72 6F 73 6F 66 74\\) + regExp: "\\(WAN\\)\\|\\(QoS\\)\\|\\([Ff]ilter\\)\\|\\([Ss]witch\\)\\|\\(57 41 4E 20\\)\\|\\(4D 69 63 72 6F 73 6F 66 74\\)" # Keep only network cards that have a description # PortID;Description;PortType;MacAddress;AdminStatus; - type: keepOnlyMatchingLines