Support of regsub() for LLD macros
(ZBXNEXT-4627)
[ZBXNEXT-4656] Frontend Support of regsub() for LLD macros Created: 2018 Jul 27 Updated: 2018 Sep 03 Resolved: 2018 Aug 24 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | API (A), Frontend (F) |
Affects Version/s: | 4.0.0beta1 |
Fix Version/s: | 4.0.0beta1, 4.0 (plan) |
Type: | Change Request (Sub-task) | Priority: | Trivial |
Reporter: | Vladislavs Sokurenko | Assignee: | Ivo Kurzemnieks |
Resolution: | Fixed | Votes: | 0 |
Labels: | lld, macros, regex | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | Selection_563.png show-value.png |
Team: | Team B |
Sprint: | Sprint 37, Sprint 38, Sprint 39, Sprint 40, Sprint 41 |
Story Points: | 3 |
Description |
Frontend does not allow LLD function macros in trigger expression Expression in trigger prototype: {LLD function macro:key["{{#VALUE}.regsub(\"^([0-9]+)\", Server ID: \1)}"].last()}={{#VALUE}.regsub("^([0-9]+)", Server ID: \1)} Manual update: update triggers set expression='{17682}={{#VALUE}.regsub("^([0-9]+)", Server ID: \\1)}' where description='{#VALUE}'; Additional places where frontend does not allow LLD function macros
All places where LLD macro is supported must allow function macros. |
Comments |
Comment by Ivo Kurzemnieks [ 2018 Aug 01 ] |
RESOLVED in svn://svn.zabbix.com/branches/dev/ZBXNEXT-4656 |
Comment by Alexander Vladishev [ 2018 Aug 21 ] |
Available in 4.0.0alpha10 r84113. |
Comment by Alexander Vladishev [ 2018 Aug 21 ] |
(13) [D] API documentation needs to be updated RESOLVED iivs I slightly changed the sentence to be consistent with other records. |