dopeytree Posted June 27 Share Posted June 27 (edited) Recently noticing more instances of certain dockers crashing or pausing for whatever reason, for example today for some reason after a home assistant update - Mosquito & zigbee2mqqt needed a restart. This has happened a few times now in a row. Probably a bug in the container somewhere.. Occasionally one of the arr's or nzbget goes down. The issue is I only really notice if I try to download something or turn & light on / off etc. Solutions wise - Has anyone for example say ever made a script that says if home assistant is updated then restart these containers too? I’m not sure if unraid gives us access to this level of detail? I've looked at 'Uptime Kuma' but I dont want to enter the exact details for sort of 50 different docker containers. There should be a way to pull this automatically and then somehow use an unraid API to do scripts for restarting any dead containers. So it would be super cool to have something that integrate uptime kuma into unraid a bit more or something within the built in docker engine that I can use to see statuses and send a re-start command to. What do you think? Would anyone else enjoy something like this? 🙂 Edited July 3 by dopeytree Quote Link to comment
primeval_god Posted June 28 Share Posted June 28 16 hours ago, dopeytree said: I've looked at 'Uptime Kuma' but I dont want to enter the exact details for sort of 50 different docker containers. There should be a way to pull this automatically and then somehow use an unraid API to do scripts for restarting any dead containers. Doesnt 'Uptime Kuma' automatically gather all the info it needs for docker containers? The only setup I see listed on its "How to Monitor Docker Containers" page is instructions on how to give the container access to the docker socket. Quote Link to comment
Mainfrezzer Posted June 29 Share Posted June 29 (edited) Its under settings Just checked for a tiny bit. it pulls the numbers of containers, but you need to setup the monitor for the specific docker container by id/name. Setup a webhook for notifications on failure and then send that webhook to something like docker image puller to force restart that container. Edited June 29 by Mainfrezzer Quote Link to comment
Recommended Posts
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.