Switch interface monitoring rules based on interface's description?

CMK version:
OMD - Open Monitoring Distribution Version 2.3.0p11.cre

OS version:
Rocky Linux 9.4

Error message:
Not matching

Hi,
I am trying to create “Network interfaces and switch ports” state/speed ignore rule to match on Interface/Port description or Service label I created via discovery rule, neither seem to match and handle ignore.

I discover and present Port Description via global Network interface and switch port discovery rule:

then I created service label:

then I created a “Network interfaces and switch ports” rule to ignore state and speed based on service label created above:

Activated changes, but my “CH_USER” interfaces are still in down state as critical (generating alerts)

I have 300+ interfaces on few access switches across multiple sites labeled with _USER in the description. What am I doing wrong or I am expecting too much here from raw edition?

Or thinking in checkmk terms, how can I base my rules on contents of “Summary” for any given service?

any help is greatly appreciated, I would like to avoid disabling services manually.

thanks!
-Stan

In the rule where you want to set the service label you match “interface description” to “CH_USER”. But interface description is something like “Ethernet1/0/1”. I think you need to match “interface alias”. After modifying this you should make a “remove all and find new” on the switch and “activate changes”, so you can be sure the discovery has run.
After that have a look at a single interface service and check if the service label is set correctly. If this is the case your speed and operational state rule should do its work.

that did it! using alias worked

image

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.