Hello,
i'm trying to test some items under windows 10. This works:
zabbix_agent2.exe -t wmi.getall[root\cimv2,"select Name from win32_networkadapter where PhysicalAdapter=True and NetConnectionStatus>0"]
this does not:
zabbix_agent2.exe -t wmi.getall[root\cimv2,"select Name, Description from win32_networkadapter where PhysicalAdapter=True and NetConnectionStatus>0"]
the second command gives me the error "Invalid number of parameters". I'm assuming that the problem lies in comma used in query.
How do you escape commas ?
Best regards,
Aleksander
i'm trying to test some items under windows 10. This works:
zabbix_agent2.exe -t wmi.getall[root\cimv2,"select Name from win32_networkadapter where PhysicalAdapter=True and NetConnectionStatus>0"]
this does not:
zabbix_agent2.exe -t wmi.getall[root\cimv2,"select Name, Description from win32_networkadapter where PhysicalAdapter=True and NetConnectionStatus>0"]
the second command gives me the error "Invalid number of parameters". I'm assuming that the problem lies in comma used in query.
How do you escape commas ?
Best regards,
Aleksander
Comment