uptime-kuma icon indicating copy to clipboard operation
uptime-kuma copied to clipboard

ability to monitor `containerd`-containers

Open antikilahdjs opened this issue 1 year ago • 3 comments

⚠️ Please verify that this feature request has NOT been suggested before.

  • [X] I checked and didn't find similar feature request

🏷️ Feature Request Type

New Monitor

🔖 Feature description

I would like to monitor my containerd because the docker (shim) for our project was not better in the tests so it is possible to add the new feature?

✔️ Solution

I am not found any solution inside of Kuma

❓ Alternatives

At this moment am using other solution like prometheus + metrics server but for the alerts inside of grafana somethimes not works as expected

📝 Additional Context

No response

antikilahdjs avatar Nov 27 '23 14:11 antikilahdjs

What do you mean by the tests

the docker (shim) for our project was not better in the tests

CommanderStorm avatar Nov 27 '23 16:11 CommanderStorm

Containerd monitor is different from docker shim over containerd, and in some situation like newer k8s/k3s, docker is abandoned and containerd is used; On such situation, we may need a monitor on containerd, could this be a feature-request?

kevinmatthe avatar Jan 23 '24 02:01 kevinmatthe

could this be a feature-request?

Agree. Idk why I changed this to a help issue tbh..

If anybody wants to tackle this:

  • here is our contribution guide https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md
  • The docker code can be seen here https://github.com/louislam/uptime-kuma/pull/4372
  • if containerd is significantly different: new monitors should live in their own files instead of the gigantic monitor.js. See https://github.com/louislam/uptime-kuma/tree/master/server/monitor-types for already migrated monitors.

CommanderStorm avatar Jan 23 '24 12:01 CommanderStorm

I also faced the same difficulty while trying to monitor container runs on containerd runtime. It would be so great if someone could integrate this feature. I will also try to tackle this problem in my end whenever I become available ^^

DogukanK avatar Jan 30 '24 07:01 DogukanK