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

Trigger Expression constructor - Edit - Result value not supporting equations

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 6.4.19, 7.0.6
    • Frontend (F)
    • None
    • Ubuntu 20.04 and 22.04

      Steps to reproduce:

      1. Navigate to any Host or template
      2. Create a Macro - Name: {$WEBSITE.ERROR.RECOVER}, Value 5m
      3. Create any Recover expression that compares the item value to a numeric value
        Example: count(/Item/,5m,"eq","200") >= "max(ceil({$WEBSITE.ERROR.RECOVER}/60)"
      4. If you enter this with the editor it will put quotes around the count(...) statement
      1. With the quotes this is a literal and will not match. If you remove the quotes it calculates the correct numeric value and works but if you then use the editor to modify the equation it removes the max(ceil((...))) equation and replaces it with 0 (zero).

      Expected:

      When using the edit function the Result value should remain as entered and not altered by adding quotes or replacing it with a zero.

            zabbix.dev Zabbix Development Team
            Chris.M Chris Morgan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: