Watchdog and M/Monit

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
AllesVanZelf
Posts: 265
Joined: Monday 05 February 2018 8:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 12467
Location: Netherlands, near Haarlem
Contact:

Watchdog and M/Monit

Post by AllesVanZelf »

I've had Monit running in the background for a long time. Since today I had sudden reboots, because domoticz was offline according to Monit.
I do not know why. I'll have to find that out.
But because off this I had a look at Watchdog too. Watchdog uses the raspberry pi hardware to force a reboot. If I understand this well. But a reset by watchdog is not a clean reboot. Monit is able to manage services and stop them if possible.

Would it be a good idea, or totally not, to use them both? Watchdog on the hardware / low level and monit on services? Or do I misunderstand how this works?
Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.
AllesVanZelf
Posts: 265
Joined: Monday 05 February 2018 8:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 12467
Location: Netherlands, near Haarlem
Contact:

Re: Watchdog and M/Monit

Post by AllesVanZelf »

Does anyone had an opinion on this?
Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Watchdog and M/Monit

Post by EddyG »

I used Watchdog some years ago.
I do not now anymore why I discarded the Watchdog solution.
Watchdog is more for System and Hardware.
I use Monit to monitor and restart if necessary services.
I only use Monit now.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest