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

Frontend and server differently resolve references

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.2.16rc1, 3.0.6rc1, 3.2.2rc1, 3.4.0alpha1
    • Fix Version/s: None
    • Component/s: Frontend (F), Server (S)

      Description

      Frontend always includes sign of the constant, server always drops it. Frontend treats supported suffixes correctly, server doesn't.

      Trigger expression:

      1+0*({references:dummy.last()}=-1.23G + {$NUMBER})
      

      Trigger name:

      reference test one '$1' two '$2' three '$3' four '$4' five '$5'
      

      Macros:

      {$NUMBER} => -456.78w
      

      What I see in Monitoring->Triggers/Problems:

      reference test one '1' two '+0' three '-1.23G' four '-456.78w' five ''
      

      What I see in notifications:

      reference test one '1' two '0' three '1.23G' four '456.78' five ''
      

      P.S. Discovered in trunk, affected versions filled up based on svn ann and revision numbers.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              glebs.ivanovskis Glebs Ivanovskis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: