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

logsource() function in calculated does not work properly

    XMLWordPrintable

Details

    • Team A
    • Sprint 76 (May 2021)
    • 0.25

    Description

      Steps to reproduce:

      • Create HOST with two items:
        trap with type: log
        calculated item with formula: logsource(trap,pattern)
      • (Or import attached XML zbx_export_hosts(8).xml)
      • run server and sent to trapper value: "test"
      • go to Latest data and observe that:

      Result:
      Calculated item became unsupported with error:

       Cannot evaluate expression: "Cannot evaluate function "logsource(pattern)": invalid regular expression.". 

      Expected:
      Calculated item should not match pattern and return 0

      Attachments

        Activity

          People

            dgoloscapov Dmitrijs Goloscapovs
            larisa.grigorjeva Larisa Grigorjeva
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: