[ZBXNEXT-4163] Using LLD macros on item preprocessing Created: 2017 Oct 06 Updated: 2018 Nov 19 Resolved: 2018 May 29 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Frontend (F), Server (S) |
Affects Version/s: | 3.4.2 |
Fix Version/s: | 4.0.0alpha7, 4.0 (plan) |
Type: | New Feature Request | Priority: | Minor |
Reporter: | Dmitri | Assignee: | Michael Veksler |
Resolution: | Fixed | Votes: | 14 |
Labels: | items, macros, preprocessing | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||||||||||||||||||||||
Team: | Team C | ||||||||||||||||||||||||||||
Sprint: | Sprint 32, Sprint 33, Sprint 34, Sprint 35 | ||||||||||||||||||||||||||||
Story Points: | 2.5 |
Description |
Is there any possibility of using LLD MACROS in item preprocessing. like:
|
Comments |
Comment by Glebs Ivanovskis (Inactive) [ 2017 Oct 12 ] |
This looks like a mix of |
Comment by Holger Gruber [ 2017 Nov 19 ] |
Another example where this would be very helpful: # type,n1,n2,n3,n4 a,0,0,1,0 b,0,0,2,0 c,1,0,1,0 The LLD macro {#TYPE} with values ['a','b','c'] and for item {#TYPE} n3 we would have a preprocessing like this: Regular expression; ^{#TYPE}([^,]*,){3}([^,]*).*; \2 |
Comment by David Mitchell [ 2017 Dec 08 ] |
I have a similar but much simpler use case - I need to use a returned {#JSONPATH} LLD macro value in the dependent item JSON pre-processor but it doesn't seem to work? |
Comment by Michael Veksler [ 2018 May 17 ] |
Available in pre-4.0.0alpha7 (trunk) r80928. |
Comment by Alex Tomasello [ 2018 Sep 17 ] |
Using Zabbix 4.0.0beta2, I've this issue using an HTTP item that returns a Json: [ { "name": "xxx", "serial": "xxx", "status": "online" } ] |
Comment by Vitaly Zhuravlev [ 2018 Sep 17 ] |
alxtom, such JSONpath expression is not currently supported. See |