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

Incorrect error message for saving trigger with illegal trigger expression

XMLWordPrintable

      Error message incorrect when trigger expression contains line break. For example:

      Incorrect trigger expression format "

      {constant}={constant}

      &

      {constant}={constant}

      &

      {constant}={constant}

      &

      {constant}={constant}

      &

      {constant}={constant}

      &

      {constant}={constant}

      ". Check expression part starting from "

      {test6:snmp.test1.last(0)}

      =0&

      {test6:snmp.test2.last(0)}

      =0&

      {test6:snmp.test3.last(0)}

      =0&

      {test6:snmp.test4.last(0)}

      =0&

      {test6:snmp.test5.last(0)}

      =0&

      {test6:snmp.test6.last(0)}

      =0".
      for trigger expression:

      {test6:snmp.test1.last(0)}

      =0&

      {test6:snmp.test2.last(0)}

      =0&

      {test6:snmp.test3.last(0)}

      =0&

      {test6:snmp.test4.last(0)}

      =0&\n

      {test6:snmp.test5.last(0)}

      =0&

      {test6:snmp.test6.last(0)}

      =0

      where \n - new line break. Used here only for demonstration the problem.

            Unassigned Unassigned
            dotneft Alexey Pustovalov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: