[Nut-upsuser] server watchdog

Roger Price roger at rogerprice.org
Thu Jul 26 07:15:35 BST 2018


On Wed, 25 Jul 2018, James wrote:

> I want to set up a watchdog process to keep checking if my ups (pi_ups)
> is reachable.

There is a detailed description of an end-to-end heartbeat mechanism in chapter 
6 of http://rogerprice.org/NUT/ConfigExamples.A5.pdf Alternatively you could run 
a cron job every 5 minutes which attempts the command

  upsc pi_ups battery.charge 2>/dev/null

and looks at the result.

Roger



More information about the Nut-upsuser mailing list