HWiFO API Server for Zabbix LLD
You need this if you want to grab certain data from HWiNFO
Apply filters
Get data into Zabbix (Zabbix Agent, HTTP Agent)
Use Zabbix template (LLD, Zabbix agent)
Based on RemoteHWInfo HWiNFO / GPU-Z / MSI Afterburner Remote Monitor HTTP JSON Web Server
* GPU-Z and Afterburner data are possible in future
Windows 10 or above
Zabbix server 5.x LTS
Download Latest Release
Unzip and copy all files to Zabbix Agent
folder.
Run as administrator task_scheduler/import_autostart.cmd
Restart Zabbix Agent
service.
Zabbix Agent/
├── task_scheduler
├── user_scripts
├── user_templates
└── zabbix_agentd.conf.d
Run as administrator: user_scripts/hwinfo_api_server/hwinfo_api_server.exe
Import the template: zabbix_agentd.conf.d/Template HWiNFO API Server.xml
Attach to a host
Check firewall if you can not access from LAN
Check tests if you can not get results from API
If remotehwinfo.exe
shows and just disappear try to change ports
run tests python -m pytest -v -s
Check Zabbix Agent/zabbix_agentd.log
Check log on zabbix-server docker logs -n 100 -f zabbix-docker-zabbix-server-1
In zabbix keys replace space -> %20
comma -> %2C
Allowed Zabbix key parameters
Special characters " \, ', " , ` , * , ? , [, ], {, }, ~ , $, ! , & , ; , (, ), < , > , | , # , @, 0x0a" are not allowed in the parameters.
Run in the Python environment
.\run_hwinfo_api_server.cmd (Run as administrator)
add args for .exe
add my contacts in the code