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

    • Incident report
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.8.5
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: