Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23235

Inconsistent behavior with resolving of macro functions on server and frontend

XMLWordPrintable

    • 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.

            arimdjonoks Artjoms Rimdjonoks
            sasha Alexander Vladishev
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: