Open rvtkruys-valtech opened 2 years ago
If anyone can contribute zabbix code, I will provide the Logpresso Watch REST API for integration.
Ok, this is the config for the zabbix_agentd.conf file: UserParameter=log4j2.scan,C:\Tools\log4j2-scan.exe --scan-log4j1 --scan-logback --exclude "C:\Users\<user.name>\Onedrive" --drives c,d --report-json --no-empty-report
Manual: Extending Zabbix agents
For testing you can run it using the following command: zabbix_agentd -t log4j2.scan -c "C:\Program Files\Zabbix Agent\zabbix_agentd.conf"
But it result in an error message: _Timeout while executing a shell script. [m|ZBXNOTSUPPORTED] [Timeout while executing a shell script.] I have increased the timeout on both server and client and have it set on 30 seconds. Maybe a bit much, but we are testing.
Don't know, if this is logical. But, could it be possible to provide some guidelines on how to integrate this into Zabbix? Or does any one already managed to do this?
with regards, Roland