Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Reporting in Zabbix #281

Open
rvtkruys-valtech opened this issue Feb 28, 2022 · 2 comments
Open

Request: Reporting in Zabbix #281

rvtkruys-valtech opened this issue Feb 28, 2022 · 2 comments
Assignees
Labels
discussion question or suggestion

Comments

@rvtkruys-valtech
Copy link

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

@xeraph xeraph added the discussion question or suggestion label Feb 28, 2022
@xeraph xeraph self-assigned this Feb 28, 2022
@xeraph
Copy link
Contributor

xeraph commented Feb 28, 2022

If anyone can contribute zabbix code, I will provide the Logpresso Watch REST API for integration.

@rvtkruys-valtech
Copy link
Author

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|ZBX_NOTSUPPORTED] [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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion question or suggestion
Projects
None yet
Development

No branches or pull requests

2 participants