Disabled Services Rule

CMK version: 2.4.0p20.cre
OS version: RHEL 9

Why does this work

Positive match with Negate active, disables all other services besides those i configured

And why does this not work

Negative match does not disables all other services, besides those i configured.

1 Like

Negative match for disabled services makes only sense if there is a positive match rule following, disabling all or also services included in the negative match.

Example i use often is the following.

image

You can also say - if you remove services from a list of services (what a negative match does) then it will give a result if a rules exists later that uses these list of services.

3 Likes

Sorry, but i have to switch the language …

Auf einem anderen Server funktioniert “Negative match”, d.h. alles was ich an Services in der Regel eintrage, werden überwacht, alles andere deaktiviert (z.B. etliche QoS Werte pro Interface).

Es deaktiviert mir aber auf dem eigentlichen Server die QoS Werte nicht, wenn ich Negative match Regel verwende. Es funktioniert nur mit Positive match und negierten Services.

Auf dem Server muss es noch eine “Positive Match” Regel später geben. Ansonsten macht eine “Negative Match” Regel gar nix.

2 Likes

Besten Dank! Ich konnte das nun verifizieren auf beiden Systemen. Ist leider nicht im Handbuch beschrieben. In früherer Version gab es ja die Auswahlmöglichkeit noch gar nicht, wenn ich mich korrekt erinnere. Aber nun funkioniert es wie gewünscht :grinning_face: