I’m trying to configure the netwotk interface detection.
With 1.6 all runs as expected, but with 2.0.0.p9 the rule does not work as i think it should:
I’ve configured a rule:
and then i’ve started the service detection for the host:
I’d like to ignore the virtual interfaces created for virtual hosts on this server, but the condition part seemed to be ignored.
But the service detection is not ignoring the other interfaces. And evry time a new virual host is created or deleted, the Check_MK Discovery is warning
Hi,
I just saw now because you are using the alias for the network interface discovery you have to do the regex for the alias instead of the description.
Doesn’t work either.
It seems do be a problem with the virtual interfaces:
I’ve tested with |Match interface alias (regex): |eno1.*|
So i’m expecting only one interface to be detected, but:
Hey,
I couldn’t get it to work with the Network interface and switch port discovery rule and kinda gave up but I have another solution for you. You could use 2 disable service rules to get the outcome that you want.
One tip at the end
If you monitor with agent and do something with interface names, only use the interface description as all names are descriptions and not alias if the data comes from the agent.
I think this is one of the reasons for all the matching problems.
Yes that’s why there should be no default rule to find all interfaces with index numbers as a global rule.
What i do is - 1 rule for network devices with alias as port name and 1 rule for all server systems with description as port name. Then you can also use the ignore function as there is no rule over these two only more specific ones.
Now I know what you can do. After your rule create a second rule with the setting “Do not discover single interfaces” with the same conditions as your first rule.
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.