Werk #8579: Generalize Livestatus filter operators
Komponente | Livestatus |
Titel | Generalize Livestatus filter operators |
Datum | 02.12.2016 |
Checkmk Edition | Checkmk Enterprise (CEE) |
Checkmk-Version | 1.4.0i3 |
Level | Kleine Änderung |
Klasse | Neues Feature |
Kompatibilität | Kompatibel - 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.