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

Roger Price roger at rogerprice.org
Sun Aug 2 14:38:36 BST 2020

On Sat, 1 Aug 2020, Todd Benivegna wrote:

> Also, this is what I found in the syslog on one of the machines:
> Jul 31 18:33:29 plex upsmon[970]: UPS ups at on battery
> Jul 31 18:33:34 plex upsmon[970]: UPS ups at on line power
> Jul 31 18:34:04 plex upsmon[970]: Executing automatic power-fail shutdown
> Jul 31 18:34:04 plex upsmon[970]: Auto logout and shutdown proceeding
> Jul 31 18:34:09 plex systemd[1]: nut-monitor.service: Succeeded.

I suspect that getting to the bottom of this will need careful tracing of all 
the status changes reported by the upsd instance running in the NAS.  It would 
be helpful if your upsmon.conf had NOTIFYMSG entries for all possible events, 
with SYSLOG options set in the corresponding NOTIFYFLAG entries.

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.

The question that always gets asked: how old are the batteries?


More information about the Nut-upsuser mailing list