Periodic service discovery vanished or unknown services dont get removed

CMK version: 2.4.0.cee
OS version: Ubuntu 22.04.5 LTS

Hi,
so my problem with the periodic service discovery is, that it doesn’t remove the two services I want.

I have two services that I want to automatically remove themselves. The names of the services are: Service VeeamVssSupport and AD Replication Default-First-Site-Name/DC01 (or AD Replication Default-First-Site-Name/DC02)
My settings are the following:

I am currently trying to remove the services using regex, but I am clearly doing something wrong and I cannot find my problem.
My regex are:

^VeeamVssSupport$
^AD Replication Default-First-Site-Name/DC\d+$

Thanks :slight_smile:

If you want to remove services then also the option “Remove vanished services” must be active. In you case it is not active.

1 Like

I changed the setting, it works now.

Thanks for your fast answer :slight_smile:

Bear in mind that if there are multiple periodic service discovery rules that match a given host, only one of them will be executed.

1 Like