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

[zabbix2] Feature request: allow docker_api access #70

Open
furrnace opened this issue May 26, 2023 · 6 comments
Open

[zabbix2] Feature request: allow docker_api access #70

furrnace opened this issue May 26, 2023 · 6 comments

Comments

@furrnace
Copy link

Hi, as you are already providing zabbix-agent2, it would be great to benefit from its ability to also expose docker containers.

You just need to map the docker socket and provide the docker group to the agent2 container:

-v '/var/run/docker.sock':'/var/run/docker.sock' --group-add=997

(make sure you check the correct group id in /etc/group)

It's a small change, but a great source of data for Zabbix.

@pschmitt
Copy link
Owner

Yeah that should be easy to implement. AFAIK it's just a config JSON param one needs to set to true.
Please open a PR!

@pschmitt
Copy link
Owner

@pschmitt pschmitt changed the title Docker Template not working [zabbix2] Feature request: allow docker_api access May 27, 2023
@furrnace
Copy link
Author

where do i put that or do i need to wait for an update of the add-on?

@pschmitt
Copy link
Owner

you will need to wait till I find the time to release and test that.

@furrnace
Copy link
Author

alright, looking forward to that and all the best

@pimauchama
Copy link

Hi, I agree with this request: it would be really nice to be able to monitor containers via the zabbix agent. Especially with the proliferation of docker-based add-ons.

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

No branches or pull requests

3 participants