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

Windows (any version): Agent2 incorrectly handle WMI requests sometimes

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.0.10
    • Agent2 plugin (N)
    • None

      Steps to reproduce:

      1. Create WMI item (type "int") : wmi.get[root\cimv2,Select LicenseStatus From SoftwareLicensingProduct where ProductkeyID IS NOT NULL and Name like "Windows%"]
      2. Install Zabbix Agent2 on any (tested @ 2008R2-2016) Windows host
      3. Wait for data gathering or force it manually
      4. Locate it as "unsupported" because "Empty WMI search result"

      Result: (debug logging level 4)

      received passive check request: 'wmi.get[root\cimv2,Select LicenseStatus From SoftwareLicensingProduct where ProductkeyID IS NOT NULL and Name like "Windows%"]' from '172.16.1.2'
      [1] processing update request (1 requests)
      [1] adding new request for key: 'wmi.get[root\cimv2,Select LicenseStatus From SoftwareLicensingProduct where ProductkeyID IS NOT NULL and Name like "Windows%"]'
      [1] created direct exporter task for plugin 'Wmi' itemid:0 key 'wmi.get[root\cimv2,Select LicenseStatus From SoftwareLicensingProduct where ProductkeyID IS NOT NULL and Name like "Windows%"]'
      executing direct exporter task for key 'wmi.get[root\cimv2,Select LicenseStatus From SoftwareLicensingProduct where ProductkeyID IS NOT NULL and Name like "Windows%"]'
      failed to execute direct exporter task for key 'wmi.get[root\cimv2,Select LicenseStatus From SoftwareLicensingProduct where ProductkeyID IS NOT NULL and Name like "Windows%"]' error: 'Empty WMI search result.'
      sending passive check response: ZBX_NOTSUPPORTED: 'Empty WMI search result.' to '172.16.1.2'

      Expected:

      Windows Agent 4.4.5 log file:

      Requested [wmi.get[root\cimv2,Select LicenseStatus From SoftwareLicensingProduct where ProductkeyID IS NOT NULL and Name like "Windows%"]]
      .....
      Sending back [1]

            zabbix.dev Zabbix Development Team
            Anth(0)ny Anth0ny
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: