Answer the question
In order to leave comments, you need to log in
How to monitor service mariadb-10-3 located in docker container in ispmanager panel?
So what we have:
1) Installed and configured ispmanager panel.
2) Using the panel tools, configured alternative database versions in my case, mariadb in the docker container.
For example, now when creating a database for a site, it is possible to choose to install the standard msql-5.5.6 database, or Maria. If I stick out the standard one, then everything is fine, even if the database has fallen, it restarts automatically, since it is added to the monitoring of services and is checked every 5 minutes.
But if I choose an alternative version, well, mariadb in the docker container, then if the database falls down, you need to restart it manually "docker restart mariadb-10.3" .
The question is how to automate this whole thing, and add an alternative version to monitoring with automatic restart?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question