Docker container monitoring support? #1132
-
Hi, love the UI on this and was wondering if I could somehow use this tool to monitor my docker-services like on uptime-kuma? If not, are there any plans to add support for that later on? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
Hi @DeLuks2006, If the services running in your docker containers expose a health endpoint then you can set up a monitor pointing to that endpoint. Are you looking at monitoring the containers themselves or the services they are running? |
Beta Was this translation helpful? Give feedback.
-
@DeLuks2006 I've opened up a PR with a basic implementation of docker container monitoring. Currently it only supports connection via unix socket, we may include http/https connection as well if this is requested. Is there any particular information you are looking for from a docker container? Or is it sufficient to know the container is in the running state? I imagine the container state is the most pertinent information:
Let me know if there' anything else you'd like and we can look at incorporating that. |
Beta Was this translation helpful? Give feedback.
-
Hey guys, quick question: In my server I have two projects, each one has their own Docker compose, but of course they do not repeat ports. Is it possible to have Checkmate in a third Docker to monitor the two others? |
Beta Was this translation helpful? Give feedback.
-
Hi @NathanAP, Yes this is definitely possible, you need to expose your Docker daemon to Checkmate, but you will be able to monitor your docker images after doing so. |
Beta Was this translation helpful? Give feedback.
I figured as much.
Seems like this should be a fairly straightforward feature to implement. Most of the work would be on the users end exposing their daemon and setting up certificates if they want to use tls.
I'll add it to our issues backlog and we'll work on it. Thanks for your input and help here!