Hello, I would like your help, I have 2 docker containers that I would like to monitor with Centreon, the truth is that I have no idea how to start or carry out this work, if it is possible for the console to be seen in case the container is down or up
Monitor docker container
Best answer by gespada
Hello,
Have you check the differents tips here (first to apply best security practice ) : https://thewatch.centreon.com/product-how-to-21/best-practices-how-to-secure-the-monitoring-of-your-docker-container-266
And here (a deployment in French) : https://www.sugarbug.fr/framboise/clusterhat_pi/monitoring/
According your Docker version, API is : https://docs.docker.com/engine/api/#api-version-matrix
Enable the Rest API is mandatory, in order to monitor Docker with centreon-plugins : ://docs.centreon.com/pp/integrations/plugin-packs/procedures/applications-docker-restapi/#prerequisites
If you have activated Docker Rest API and you have an retour, please post a detail of your command and error message.
To troubleshoot, you could add --debug option at the command.
Regards,
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
