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

How to run vspheredb module in containerized environment #532

Open
alamp1360 opened this issue Sep 21, 2023 · 2 comments
Open

How to run vspheredb module in containerized environment #532

alamp1360 opened this issue Sep 21, 2023 · 2 comments

Comments

@alamp1360
Copy link

My Icinga setup consist of various containers:

  • icinga
  • icingadb
  • mariadb
  • redis
  • icingaweb

They all communicate via an overlay network in a docker swarm setup.

As far as i understand, vsphereDB integrates into IcingaWeb as a module and has no relations to Icinga. So it should be possible to add the module into my IcingaWeb container without too much issues.

But a few questions arise:

  • Does the module depend on the "monitoring" module of IcingaWeb? I am using the IcingaDB module, so the monitoring module is disabled...
  • How would i run the various "icingacli vspheredb check" commands? They would run inside the icinga container, but since the icinga container is seprarated from icingaweb container, there is no "icingacli" command in the icinga container. Can this be done somehow via the network? Maybe via the vsphereDB API?

Thank you!

@alamp1360
Copy link
Author

Answering to my own issue:
I added the nrpe daemon into the icingaweb2 container and added the check_nrpe plugin to the icinga2 container.
Now i am able to run checks from icinga to icingaweb2/vsphereDB plugin using nrpe.

@adn77
Copy link

adn77 commented Apr 23, 2024

lippserd/docker-compose-icinga#35 (comment)

This is what I use, I just run the check in the vSphereDB container.

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

No branches or pull requests

2 participants