-
Change Request
-
Resolution: Fixed
-
Trivial
-
None
-
None
-
Sprint 42, Sprint 43
Intro
Current matching operators "like" and "not like" are very confusing because it is not clear how they work judging by name. Another problem is that we have two operators doing similar matching, i.e. "=" and "Equal". We should make it consistent and avoid confusion.
Acceptance criteria
- Existing operators "like" and "not like" must be renamed to "contains" and "does not contain"
- Existing operators "=" and "<>" must be renamed to "equal" and "not equal"
- Placeholders must be used for the following conditions:
- matches/does not match: regular expression
- It affects the following places in the front-end:
- Action conditions
- LLD filtering
- Event correlation
- Filters
Before | After | |
---|---|---|
Action conditions | ||
:: Triggers | ||
Application | =, like, not like | equal, contains, does not contain |
Host | =, <> | equal, not equal |
Host group | =, <> | equal, not equal |
Maintenance status | in, not in | in, not in |
Tag | =, <>, like, not like | equal, not equal, contains, does not contain |
Tag value | =, <>, like, not like | equal, not equal, contains, does not contain |
Template | =, <> | equal, not equal |
Time period | in, not in | in, not in |
Trigger | =, <> | equal, not equal |
Trigger name | like, not like | contains, does not contain |
Trigger severity | =, <>, >=, <= | equal, not equal, more or equal, less or equal |
:: Discovery | ||
Discovery check | =, <> | equal, not equal |
Discovery object | = | equal |
Discovery rule | =, <> | equal, not equal |
Discovery status | = | equal |
Host IP | =, <> | equal, not equal |
Proxy | =, <> | equal, not equal |
Received value | =, <>, >=, <=, like, not like | equal, not equal, more or equal, less or equal, contains, does not contain |
Service port | =, <> | equal, not equal |
Service type | =, <> | equal, not equal |
Uptime/Downtime | >=, <= | more or equal, less or equal |
:: Auto registration | ||
Host metadata | like, not like | contains, does not contain |
Host name | like, not like | contains, does not contain |
Proxy | =, <> | equal, not equal |
:: Internal | ||
Application | =, like, not like | equal, contains, does not contain |
Event type | = | equal |
Host | =, <> | equal, not equal |
Host group | =, <> | equal, not equal |
Template | =, <> | equal, not equal |
LLD filtering | ||
Filter | matches, does not match | matches, does not match |
Event correlation | ||
Old event tag | = | equal |
New event tag | = | equal |
New event host group | =, <> | equal, not equal |
Event tag pair | = | equal |
Old event tag value | =, <>, like, not like | equal, not equal, contains, does not contain |
New event tag value | =, <>, like, not like | equal, not equal, contains, does not contain |
Filters | ||
Monitoring→Problems (Tag) | Like, Equal | Contains, Equal |
Inventory->Hosts | like,exacly | contains, equal |
Open questions
- Any other places in the front-end?