Change check interval for SSH Check

CMK version: 2.3.0p23
OS version: Ubuntu 20.04.6 LTS

Hi,

I am struggling to change the check interval for the “Check SSH service” for a single host.

The standard interval is 1min and I need it to be changed to a different value as it is flooding the logs of the target host. (Changing the syslog behavior of the target host is not possible. This is already checked and confirmed)

I managed to change the check interval for ALL active checks for that host, but that is NOT what I want. The interval should only be changed for the SSH Check

What I require is the correct syntax for defining the SSH Check service in the “Conditions”-section.

I could not find the correct service syntax to be used.
Values I tried so far: check_mk_active-ssh, ssh, check_ssh, Check_MK SSH$

Any help is deeply appreciated
Cheers

I have not yet tested with it, but as far as the docs at https://docs.checkmk.com/latest/en/wato_rules.html explain under services it is looking for a regular expression.

Looking at your check ( and naming ) i would try .*active-ssh.*

  • Glowsome

The name of the service check is usually SSH.

2 Likes

Thx Robert. That did the trick!
Just out of curiosity: how could I have find out about the correct service’s name? I searched quite a lot, especially the Check_MK docu, but there was not a hint

Just for completeness, here are the settings:

Proof:

1 Like

You just look at it in the status view?

yeah, you are right :grinning:

Just a remark as I as Check_MK beginner felt for it: the service name is CASE-SENSITIVE.

So, in my case, I tried ssh (lower case) which did not work.
SSH instead is correct and works

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.