Disabling Checks based on output not name

Running 2.0.0p4 (CRE)

I want to add a discovery rule that will disable a check based on it’s returned output.

We are inventorying a number of switches that have port labels programmed in to them. These are returned for each interface at the beginning of the summary. I would like to disable all checks where there isn’t a custom name sent back.

Capture

In the attached picture I would ideally use a regex for [Port.* to disable those checks but keep the ‘Tweety Blue/Black’ checks being monitored.

I have used the Discovery Rules → Disabled Services to accomplish similar, but we can’t use the service name in this instance as the Interfaces are all just listed as ‘Interface 1/2/3’ etc.

Is this possible? I appreciate that the value returned could also change and that therefore the disabling/enabling decision is likely a one time thing at Auto Discovery and this would be fine.

Thanks for any help.
Jon

You can configure checkmk to discover the interfaces with your switch port names in the service description. Then it is easy to disable them. It is not possible to disable based on service output, as this may change randomly.

See Network Monitoring with Checkmk 2.0: Three rules to rule them all for more.

2 Likes

Thank you, that’s a much better approach, appreciate your help.

Jon

1 Like

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.