Ignore tap Network interface

CMK version: 2.3.0p6
OS version: Rhel

Hello,

Iam trying to ignore the tap interface that triggers lots of notification I have configured below rule Network interface and switch port discovery as

I would like to ignore virtual interfaces tap only, but rule seemed to be ignored, even i have added in the the disabled services, nothing is working out

Please help,

Thanks,

Hi Aru,

there are at least two things.

  1. In a regex, the * means “zero or more of the last character”. What you need is .*, what expresses in “any character zero or more times”, like tap.*
  2. The ^ caret means - starts with, so you are basically telling checkmk that you want these interfaces.

You can turn that around and enter port descriptions / aliases that you want to monitor. Or you create a disabled services rule with the Interface tap regex to disable these services.
I usually have a disabled services rule with all unnecessary interfaces like teredo, tap etc…

What you should read and understand in this subject is the discovery via alias / description, as you are currently not using the alias or description as the service name :

Hi Andre,

Thanks for the reply, will create the mentioned disabled service rule and will observe

regards

Aru

Hi Andre,

I have created the disabled service as below, kindly let me know the if there is any changes is required

regards,

Aru

I think the only rule you really need is the last (right) one.

checkmk uses a prefix match at that point so “Interface tap” matches, starting from the left, everything that contains that string. so it is basically the same as “Interface tap.*”
Interface.tap means, that the dot can be one random character, what will not happen at that point.
Or do you mean Interface isatap ?

Yes, this, most rules, if not all will use wildcard search by default. At least after last char.

Hi Andre,

Just to add some point when the rule Interface tap is added as you have mentioned some of the services starting from Interface tap is moving to disabled state services, you can find it in below image

But what Iam looking is that I need to move those interfaces Interface [tapbcf6be73-d1], from the below image, these services are not moving to disabled services.

image

Regards,

Aru

Yes, these Interfaces are not disvovered by their Alias but with the Interface ID. You need to Set the Port Discovery rule to discover the ports with their Alias/Description as the Service description.
this is described in the Blog Post I posted above

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.