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

Can not create trigger with trigger expression like {H6:log[/data/logs/test.log,(incorrect|FAIL)].last(0)}=0

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.8.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When creating trigger with trigger expression like "

      {H6:log[/data/logs/test.log,(incorrect|FAIL)].last(0)}

      =0", then after clicking "Save" button got the following error:

      "Incorrect curly braces count in expression.
      Check expression part starting from "

      {H6:log[/data/logs/test.log,(incorrect|FAIL)].last(0)}

      =0"

      In case I am using the following trigger expression "

      {H6:log[/data/logs/test.log,"(incorrect|FAIL)"].last(0)}

      >1" then all is working fine.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            igor Igor Danoshaites (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: