[ZBXNEXT-4724] Advanced preprocessing: validation and throttling rules, discarding values and setting errors Created: 2018 Sep 12 Updated: 2024 Apr 10 Resolved: 2019 Feb 15 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | None |
Fix Version/s: | 4.2.0alpha2, 4.2 (plan) |
Type: | Change Request | Priority: | Trivial |
Reporter: | Rostislav Palivoda | Assignee: | Andris Zeila |
Resolution: | Fixed | Votes: | 4 |
Labels: | None | ||
Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
Attachments: |
![]() |
||||||||||||||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||||||||||||||
Sub-Tasks: |
|
||||||||||||||||||||||||||||||||||||
Team: | |||||||||||||||||||||||||||||||||||||
Sprint: | Sprint 42, Sprint 43, Sprint 44, Sprint 45, Sprint 46, Nov 2018, Sprint 47, Dec 2018, Sprint 48, Jan 2019, Sprint 49 (Feb 2019) | ||||||||||||||||||||||||||||||||||||
Story Points: | 5 |
Description |
Zabbix AcceptanceItem preprocessing rules will be internally classified as:
New validation rules must be supported (menu → submenu) for items and item prototypes:
Zabbix user may specify optional "On fail" action for each rule, which will be executed if this rule fails:
The following preprocessing rules will never fail:
Other transformation and validation rules will fail if (depending on rule):
Design of the preprocessing configuration must not be too cluttered, it must be as simple as possible for those who will use this functionality. When comparing values the new value must be casted to the type (unsigned int, float) of the last value stored in the database. Therefore, new string value "123.00' will be equal to the old numeric value of "123". Use cases
Open questions
|
Comments |
Comment by Vitaly Zhuravlev [ 2018 Nov 26 ] |
Dear users/watchers, we have a preprocessing function here 'Discard value' that will discard/drop identical values to keep history tables small. It would only store value if it is different.
There will be another version of this function that will discard similar values but at some time save them, so users know that item is still being collected and alive. In your opinion, which short name describes better what this preprocessing function does?
Tell us what sounds better to you |
Comment by Glebs Ivanovskis [ 2018 Nov 26 ] |
I think the answer is in your question:
I would call it Deduplication with/without keep-alive. A bit difficult to translate, but I'm sure anyone even slightly related to IT will know what "keep-alive" usually means. |
Comment by Vitaly Zhuravlev [ 2018 Nov 26 ] |
The similar idea is behind 'with heathbeat' |
Comment by Dimitri Bellini [ 2018 Dec 12 ] |
Hi guys, |
Comment by Vitaly Zhuravlev [ 2018 Dec 12 ] |
dimitri.bellini, I think this is included, see:
|
Comment by Dimitri Bellini [ 2018 Dec 12 ] |
@Vitaly: Good, it's not easy to understand all of the Acceptance lines and understand the real scope |
Comment by Andrejs Griščenko [ 2019 Jan 07 ] |
Available in pre-4.2.0alpha2 r88082 |