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

Agent 1 wmi.getall[] doesn't detect invalid WMI query

    XMLWordPrintable

Details

    • Team A
    • Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022)
    • 0.5

    Description

      Steps to reproduce:

      Run invalid WMI query with zabbix_get against latest zabbix_agentd.exe:

      C:\Zabbix\run\bin>zabbix_get.exe -s localhost -k "wmi.getall[root\cimv2,select banana]"
      ZBX_NOTSUPPORTED: Empty WMI search result. 
      

      Result:

      ZBX_NOTSUPPORTED: Empty WMI search result.

      Expected:

      An message indicating that the query is invalid.

      zabbix_agent2 works as expected:

      C:\Zabbix\run\bin>zabbix_get.exe -s localhost -k "wmi.getall[root\cimv2,select banana]"
      ZBX_NOTSUPPORTED: Exception occurred. (Invalid query )  
      

      Attachments

        Issue Links

          Activity

            People

              vso Vladislavs Sokurenko
              Kalimulin Alex Kalimulin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: