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

Wrong parsing of expression in log wizard

    XMLWordPrintable

    Details

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

      Description

      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) "

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: