To do this move to directory where zabbix_agentd.exe and zabbix_agentd.conf are having a good time and execute:
zabbix_agentd.exe -c zabbix_agentd.conf -t "system.run[ipconfig -all]"
zabbix_agentd.exe -c zabbix_agentd.conf -t "system.run[wmic bios get serialnumber]"
zabbix_agentd.exe -c zabbix_agentd.conf -t "wmi.get[root\CIMV2,SELECT Model FROM Win32_DiskDrive WHERE Name LIKE '%PHYSICALDRIVE0%']"
zabbix_agentd.exe -c zabbix_agentd.conf -t "wmi.get[root\CIMV2,SELECT PartNumber FROM Win32_PhysicalMemory WHERE Tag='Physical Memory 0']"
zabbix_agentd.exe -c zabbix_agentd.conf -t "wmi.get[root\CIMV2,SELECT ConfiguredClockSpeed FROM Win32_PhysicalMemory WHERE Tag='Physical Memory 0']"
zabbix_agentd.exe -c zabbix_agentd.conf -t "wmi.get[root\CIMV2,SELECT Manufacturer FROM Win32_PhysicalMemory WHERE Tag='Physical Memory 0']"
zabbix_agentd.exe -c zabbix_agentd.conf -t "wmi.get[root\CIMV2,SELECT DeviceLocator FROM Win32_PhysicalMemory WHERE Tag='Physical Memory 0']"
zabbix_agentd.exe -c zabbix_agentd.conf -t "wmi.get[root\CIMV2,SELECT ProcessorId FROM Win32_Processor WHERE DeviceID=\"CPU0\"]"
zabbix_agentd.exe -c zabbix_agentd.conf -t "wmi.get[root\CIMV2,SELECT Model FROM Win32_ComputerSystem]"
zabbix_agentd.exe -c zabbix_agentd.conf -t "wmi.get[root\CIMV2,SELECT RemainingWindowsReArmCount FROM SoftwareLicensingService]"
zabbix_agentd.exe -t "wmi.get[\"root\cimv2\",\"SELECT version FROM Win32_Product WHERE Name LIKE '%Python%'\"]"
On linux:
cd /etc/zabbix
zabbix_agentd -c zabbix_agentd.conf -t "net.if.in[enp0s3]"
Related files: