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

Not supported item when wmi.getall[] returns no items

    XMLWordPrintable

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021)
    • Story Points:
      0.25

      Description

      Steps to reproduce:

      1. Create item with key wmi.getall[]. Use a query that returns no items.
        Example: 
      wmi.getall[root\cimv2,"select * from win32_service where displayname like 'non_existing_service'"]
      1. Wait for data from this key

      Result:

      Item state is "Not supported" with error "Empty WMI search result"

      Expected:
      Return empty JSON array without error:

       

      []
      

       

      Switching to Not Supported state leads to flapping elements in the case of using dependent items.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dgoloscapov Dmitrijs Goloscapovs
              Reporter:
              alex_spq Alex Alexandrov
              Votes:
              6 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: