[ZBX-13236] ZBX-11411 prevents ability to use items with macro parameters in calculated items Created: 2017 Dec 21 Updated: 2024 Apr 10 Resolved: 2018 Mar 25 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 3.0.12 |
Fix Version/s: | 3.0.16rc1, 3.4.8rc1, 4.0.0alpha5, 4.0 (plan) |
Type: | Incident report | Priority: | Major |
Reporter: | Raymond Kuiper | Assignee: | Michael Veksler |
Resolution: | Fixed | Votes: | 2 |
Labels: | aggregate, usermacros | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||||||||||
Team: | |||||||||||||||||
Sprint: | Sprint 27, Sprint 28, Sprint 30 | ||||||||||||||||
Story Points: | 1 |
Description |
When using aggregate items that use usermacros to create a new calculated item, the input validation of Using the following configuration: We get the error: "Macro {$I_AGGR_GROUPNAME} value is not numeric" This is probably true for other items that are using macros as parameters as well. |
Comments |
Comment by Olegs Vasiljevs (Inactive) [ 2017 Dec 28 ] |
Hello Raymond! Marking as approved as per the discussion made in Regards, |
Comment by Aleksejs Petrovs [ 2018 Jan 02 ] |
Hello Raymond, Could you please try this one: last("grpsum[\"{$I_AGGR_GROUPNAME}\",\"cell.int.usage[monthly]\",last]")/last("CellDataBundleSize")*100 as with help of additional eyes - I've found that you have " in the wrong place. Could you please try this one and report if everything is fine? Regards, |
Comment by Sergejs Paskevics [ 2018 Jan 29 ] |
Succesfully tested. |
Comment by Raymond Kuiper [ 2018 Feb 01 ] |
Sorry, I've missed the update. Your version seems to work, Aleksejs! Thanks for the feedback |
Comment by Michael Veksler [ 2018 Feb 26 ] |
Available in:
|