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

2020-08-09 Thread Roger Price
On Sun, 9 Aug 2020, Todd Benivegna wrote: upssched.conf (on Synology): CMDSCRIPT /usr/syno/bin/synoups upssched-cmd (on Synology): I don’t see this file.   The CMDSCRIPT declaration says that in a Synology box the file that NUT calls upssched-cmd is called /usr/syno/bin/synoups. Could we se

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

2020-08-09 Thread Charles Lepple
On Aug 9, 2020, at 3:18 PM, Todd Benivegna wrote: > > Now they will spin-up on their own, but it takes 5-10 seconds. My thought > was if they can’t communicate initially, they assume the server is dead and > shut down. Would that make sense at all? Sorry to jump in the middle here, but this

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

2020-08-09 Thread Todd Benivegna
> Since it's NUT in the NAS which is deciding to order the shutdown, it would be > useful to see upsmon.conf, upssched.conf and upssched-cmd (or whatever > Synology > use if anything) from the NAS to see what criteria they use. upsmon.conf (on Synology): RUN_AS_USER root MONITOR ups@localhost 1 mo

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

2020-08-09 Thread Roger Price
On Sat, 8 Aug 2020, Todd Benivegna wrote: I just ran a manual test, killing power and see what happens.  I set the Synology “Time before DiskStation goes into Safe mode” What is "Safe mode"? Is it complete power down?, or some sort of hibernation? If it's not a complete power down, how is th

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

2020-08-09 Thread Roger Price
On Sat, 8 Aug 2020, Todd Benivegna wrote: Updated upsmon.conf:  https://hastebin.com/jisinaquso.pl You should remove line 1 : RUN_AS_USER nut Lines 12-21: it would be possible to display more information, such as the UPS status, but this requires pointing NOTIFYCMD to upssched and then using

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

2020-08-09 Thread Roger Price
On Fri, 7 Aug 2020, Todd Benivegna wrote: I don’t think I am able to run that script.  If you can, I wouldn’t know how. You have to activate SSH on the NAS, log in to the NAS as root (admin) and create a temporary directory. Based on what I read on a french language site, the commands are:

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

2020-08-09 Thread Roger Price
On Fri, 7 Aug 2020, Todd Benivegna wrote: Hello Todd, sorry for the delay replying, I was away for a while. It's ok to post configuration files in this list if blank lines and comments are removed. On the Synology (I didn’t edit any of these files): ups.conf:  https://hastebin.com/dedereqizi.