ZABBIX BUGS AND ISSUES
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5608

Problem in trigger name macros {HOST.NAME1} resolving in Monitoring->Triggers, if trigger expression has same function more than once.

    Details

      Description

      Have a trigger with name "a

      {HOST.HOST1} {HOST.HOST2}{HOST.HOST3}{HOST.HOST4}" and expression "{5280-2:agent.ping.last(0)}=1&{5280-2:agent.ping.last(0)}=0&{5280:system.cpu.num.last(0)}=0&{5280-2:agent.ping.last(0)}=0"
      Trigger name in Monitoring > Triggers is exploded as "a UNKNOWN{HOST.HOST2}

      5280

      {HOST.HOST4}

      "

      Note that first and second functions in expression is same;
      Note that there is two different hosts.

      1. after.png
        4 kB
      2. before.png
        4 kB
      3. trigger_expression.png
        4 kB

        Activity

        Hide
        Toms added a comment -

        fixed as well

        {ITEM.VALUE}

        not resolving if value equals to zero

        Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-5608

        Show
        Toms added a comment - fixed as well {ITEM.VALUE} not resolving if value equals to zero Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-5608
        Hide
        Alexey Fukalov added a comment - - edited

        (1)

        {HOST.HOST}

        macro is not resolved

        Toms unable to reproduce

        Show
        Alexey Fukalov added a comment - - edited (1) {HOST.HOST} macro is not resolved Toms unable to reproduce
        Hide
        Alexey Fukalov added a comment - - edited

        (2)
        if we add macro which reference for example 5th expression, but trigger has only 4 functions, errors are shown in monitoring triggers.

        Toms RESOLVED in r30391

        Show
        Alexey Fukalov added a comment - - edited (2) if we add macro which reference for example 5th expression, but trigger has only 4 functions, errors are shown in monitoring triggers. Toms RESOLVED in r30391
        Hide
        Toms added a comment - - edited

        for alternative solution Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-5608-2
        (1) ITEM.VALUES not expanded if equals to zero

        (2) expandIpMacros() uses only last interface for mapping was fixed in ZBX-5496 but moved to this branch.

        Alexey Fukalov RESOLVED

        Toms CLOSED

        Show
        Toms added a comment - - edited for alternative solution Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-5608-2 (1) ITEM.VALUES not expanded if equals to zero (2) expandIpMacros() uses only last interface for mapping was fixed in ZBX-5496 but moved to this branch. Alexey Fukalov RESOLVED Toms CLOSED
        Hide
        Alexey Fukalov added a comment -

        dev branch: svn://svn.zabbix.com/branches/dev/ZBX-5608-2

        Show
        Alexey Fukalov added a comment - dev branch: svn://svn.zabbix.com/branches/dev/ZBX-5608-2
        Hide
        Toms added a comment -

        TESTED

        Show
        Toms added a comment - TESTED
        Hide
        Alexey Fukalov added a comment -

        Fixed in 2.0.4rc1 r30527, pre-2.1.0 r30528.

        Show
        Alexey Fukalov added a comment - Fixed in 2.0.4rc1 r30527, pre-2.1.0 r30528.
        Hide
        Alexey Pustovalov added a comment - - edited

        (3) regression. Please look screenshots "before" and "after". Incorrect expanding simple macros. There uses

        {ITEM.LASTVALUE1}

        macro.

        Units is degrees (C).

        Alexey Fukalov RESOLVED r30637
        Eduards Samersovs CLOSED

        Toms This change should be commented, that this is to handle old hack!

        Alexey Fukalov CLOSED

        Show
        Alexey Pustovalov added a comment - - edited (3) regression. Please look screenshots "before" and "after". Incorrect expanding simple macros. There uses {ITEM.LASTVALUE1} macro. Units is degrees (C). Alexey Fukalov RESOLVED r30637 Eduards Samersovs CLOSED Toms This change should be commented, that this is to handle old hack! Alexey Fukalov CLOSED
        Hide
        Eduards Samersovs added a comment -

        Tested

        Show
        Eduards Samersovs added a comment - Tested
        Hide
        Alexey Fukalov added a comment -

        Fixed in 2.0.4rc1 r30666, pre-2.1.0 r30667.

        Show
        Alexey Fukalov added a comment - Fixed in 2.0.4rc1 r30666, pre-2.1.0 r30667.

          People

          • Assignee:
            Alexey Fukalov
            Reporter:
            Toms
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: