Details
-
Problem report
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
5.0.8, 5.2.4, 5.4.0alpha2
-
None
-
None
-
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 )