14 hours ago14 hr Hi all,Every now and then one of my Docker containers hangs and starts eating 100% CPU until I notice it and restart it manually. The container stays in “running” state the whole time, so nothing flags it — I usually only find out when the rest of the server starts feeling sluggish.What I’d like is a notification (Unraid’s built-in notification agents would be fine) whenever a container stays above some CPU threshold for more than a few minutes, so I can go and restart it myself.I already run Uptime Kuma, but it only tells me whether the service responds — and in this hung state it often still does, just very slowly, so the check passes.A few questions: • Is there a plugin that does this out of the box? • If not, is a User Scripts cron job polling docker stats --no-stream and calling notify the usual approach here? Any gotchas with that on Unraid? • Has anyone wired this up to auto-restart the container instead of just alerting? I’d rather be notified first, but I’m curious how it works in practice.Thanks!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.