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

_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to