-
Problem report
-
Resolution: Fixed
-
Trivial
-
6.0.20, 6.4.5, 7.0.0alpha3
-
None
-
Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023)
-
1
During of solving the ZBX-21255 issue, some inconsistencies were found in the resolving of functional macros. It is necessary to decide what behavior is considered correct and fix it on the opposite side.
For example:
Macros | Frontend | Notifications | Event name |
---|---|---|---|
{\{?last(//agent.version)}
.func()} |
UNKNOWN | {6.0.21rc1.func()} | {6.0.21rc1.func()} |
{?last(//system.cpu.switches)} | 578.5263 | 693.7014390863477 | 550.51734797531878 |
{\{?last(//system.cpu.switches)}
.fmtnum(1)} |
578.5 | {693.7014390863477.fmtnum(1)} | 550.5 |
{?last(//vfs.file.contents["/sys/class/net/enp0s5/operstate"])} | up (6) | 6 | 6 |
Example prepared using ZBX-21255 development branch.