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

Wrong parsing of expression in log wizard

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 1.8.5rc1
    • 1.8.4
    • None
    • None

      Create a trigger with expression like this:

      ((

      {HostD:log[/var/log/messages].iregexp(error)}

      )#0) & ((

      {HostD:log[/var/log/messages].iregexp("CPr::updateLicenseStatus\(\)")}

      )=0)

      Open it in log wizard and observe:

      Incorrect count of quotes in expression
      Check expression part starting from " ((

      {HostD:log[/var/log/messages].iregexp(error)}

      )#0) & ((

      {HostD:log[/var/log/messages].iregexp("CPr::updateLicenseStatus\(\"))}

      )=0) "

            Unassigned Unassigned
            konstantin Konstantin Buravcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: