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

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • 1.8.5
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: