Werk #8579: Generalize Livestatus filter operators

KomponenteLivestatus
TitelGeneralize Livestatus filter operators
Datum2016-12-02 10:10:16
Checkmk EditionCheckmk Enterprise Edition (CEE)
Checkmk Version1.4.0i3
LevelTrivial Change
KlasseNew Feature
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

Previously, some filter operator did not work for numbers or had only a special meaning with certain columns. This has been generalized in a uniform way, so all operators work for numbers now, too.

The operators ~, =~, and ~~ interpret numbers as bit sets, and have the following meaning:

  • x ~ y means: x is a superset of y
  • x =~ y means: x is a subset of y
  • x ~~ y means: x contains at least one element of y

This is consistent with the way attribute list columns work and makes the Livestatus semantics more regular.