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

2020-08-02 Thread Roger Price
On Sun, 2 Aug 2020, Todd Benivegna wrote: 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. SHUTDOWNCMD "logger -t upsmon.conf \"UPS status

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

2020-08-02 Thread Todd Benivegna
Roger, 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 // t...@benivegna.com On Aug 2, 2020, 9:38 AM -0400, Roger Price ,

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

2020-08-02 Thread Manuel Wolfshant
On August 3, 2020 12:00:41 AM GMT+03:00, Todd Benivegna wrote: >How would I capture with Wireshark when it seemingly happens at >random?  Whenever I test, everything appears to work normally.  I wish >I could somehow replicate it.  Maybe I need to test manually and see if >it’ll happen in front o

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

2020-08-02 Thread Todd Benivegna
How would I capture with Wireshark when it seemingly happens at random?   Whenever I test, everything appears to work normally.  I wish I could somehow replicate it.  Maybe I need to test manually and see if it’ll happen in front of me; I’ve never actually seen it happen… always happens when I’m

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

2020-08-02 Thread Roger Price
On Sun, 2 Aug 2020, Manuel Wolfshant wrote: My first suspect is the Synology version of nut. How much of NUT is installed in the NAS? All of upsd + upsmon + upssched + upssched-cmd? Are the configuratiion files accessible and modifiable? Is is possible to run BASH scripts on the NAS? If

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

2020-08-02 Thread Manuel Wolfshant
On 8/1/20 11:25 PM, Todd Benivegna wrote: I'm hoping that someone can shed some light on this… I have a Synology NAS (DS416) that has a feature where you can enable a “Network UPS Server” which is a NUT server.  I have been trying to get the Synology to shut down three Ubuntu 20.04 servers that

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

2020-08-02 Thread Todd Benivegna
Roger, Thank you for the info. I will look into that and set that up ASAP. Regarding the battery age, I’m not too it’d but I’m guessing approx 3-4 years. You think it’d be worth replacing, in light of this issue? Run time still seems Ok ~45 mins, but maybe the load when it switches over to batt

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

2020-08-02 Thread Roger Price
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@192.168.1.70 on battery Jul 31 18:33:34 plex upsmon[970]: UPS ups@192.168.1.70 on line power Jul 31 18:34:04 plex upsmon[970]: Executing automatic