[Nut-upsuser] Synology NAS is shutting down Ubuntu servers after very brief power outage

Todd Benivegna todd at benivegna.com
Mon Aug 3 01:50:58 BST 2020


How would you write the SHUTDOWNCMD line with multiple commands?  I’ve been looking at the manual and see that you have to escape the internal “ but am still a little confused on how to do this exactly.

Todd Benivegna // todd at benivegna.com
On Aug 2, 2020, 9:38 AM -0400, Roger Price <roger at rogerprice.org>, wrote:
> upsmon.conf doesn't support reporting battery charge in the notification
> messages, but you can specify multiple shell commands in the SHUTDOWNCMD entry.
> E.g. `upsc ups at battery.charge` and `upsc ups at
> ups.status`. This will show what the situation was at that moment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200802/92f586d5/attachment.html>

More information about the Nut-upsuser mailing list