Answer the question
In order to leave comments, you need to log in
Is there a ready-made heartbeat service/server for Raspberry PI with sending email notifications?
I have a Raspberry PI print server at home. And now, from time to time, he goes offline for a variety of reasons (for example, he was accidentally turned off the network, but there were also more tricky ones). The fact that a failure happens is not terrible in itself, the problem is that this fact is found out at the moment when something needs to be printed and printed urgently. Better yet, not by me, but by my wife.
Actually, the countermeasure method has been known for a long time - this is heartbeat. The Raspberry PI must report somewhere that it is alive at certain intervals. And if she stopped doing this, then she is considered to have fallen off. That's just a theory, we also need a real solution.
Of course, you can take and do everything yourself - a task for a couple of hours. I have a virtual machine on ubuntu on the network with good uptime. Make a site on it from 2 methods and a database with one plate with two boolean values. And on the Raspberry PI itself, in general, send curl heartbeat requests using the crown. It's just that simple, but maybe there are still ready-made services that carry out heartbeat monitoring?
As a solution, I present an existing Internet service where you can register, add your device and email and the interval after which the device is considered to be down, and in return receive a link for heartbeat requests. Or it could be some kind of ubuntu package that does similar monitoring and reporting about going offline/coming back online. Well, at least something that already exists.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question