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

ITEM.VALUE macro doesn't resolve correctly under Events during the recovery trigger

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0.4rc1, 2.1.0
    • 2.0.3
    • Frontend (F)
    • Zabbix Appliance

      To setup I've attached a template that shows the example. The template has a zabbix trapper item in it and a trigger that checks if the value > 0. The trigger name uses

      {ITEM.VALUE1} in it so the message should say "Test Trigger - <value>". I use the Zabbix Sender to send a value of 1 which triggers the PROBLEM event. This shows up correctly under the Events screen. Then I send another value this time with 0 so the RECOVERY event occurs however in the Events page the {ITEM.VALUE1}

      macro isn't resolved with the value "0". Attached screenshots.

        1. item_value_macro_template.xml
          2 kB
          Ryan Rupp
        2. ItemValueNotResolved.PNG
          30 kB
          Ryan Rupp
        3. ItemValueNotWorkingWhen0.PNG
          26 kB
          Ryan Rupp
        4. ItemValueWorksWithNonZero.PNG
          29 kB
          Ryan Rupp

            oleg.egorov Oleg Egorov (Inactive)
            rrupp Ryan Rupp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: