I am currently testing with Zabbix 5.0 and the new functionality.
According to the documentation wmi.get and wmi.getall are supported in Zabbix 5.
The key wmi.get is perfectly working, but getall returns an error.
If I test it with zabbix_get I get not supported:
But with wmi.get, I get a result:
But If I use the same query on the local machine I get results (in power shell):
According to the documentation wmi.get and wmi.getall are supported in Zabbix 5.
The key wmi.get is perfectly working, but getall returns an error.
If I test it with zabbix_get I get not supported:
Code:
zabbix_get -s 172.27.0.137 -k wmi.getall["root\cimv2","select * from Win32_Service"] ZBX_NOTSUPPORTED: Unsupported item key. zabbix_get -s 172.27.0.137 -k wmi.getall[root\cimv2,"select * from Win32_Service"] ZBX_NOTSUPPORTED: Unsupported item key. zabbix_get -s 172.27.0.137 -k wmi.getall[root\cimv2,select * from Win32_Service] zabbix_get [23876]: invalid parameter "OriginalSettings" zabbix_get [23876]: invalid parameter "from" zabbix_get [23876]: invalid parameter "Win32_Service]" Try 'zabbix_get --help' for more information.
Code:
zabbix_get -s 172.27.0.137 -k wmi.get["root\cimv2","select * from Win32_Service"] False
Comment