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

2020-08-14 Thread Todd Benivegna
Hey everyone,  I did a manual test by physically disconnecting power to the ups and everything worked. I guess the Synology is dumb about doing it via the “upsmon -c fsd” command. All slaves shutdown, the Synology went into safe mode, then the master shut down, then two minutes later the ups po

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

2020-08-14 Thread Roger Price
On Fri, 14 Aug 2020, Todd Benivegna wrote: https://forum.synology.com/enu/viewtopic.php?f=19&t=73960&hilit=ups+slave  I have the latest version of the Windows port of NUT (A UPS management package) installed on my Windows 7 machine. The UPS I am using is a very old APC BK650M which

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

2020-08-14 Thread Todd Benivegna
I found something interesting that I think may apply here. Check this out... https://forum.synology.com/enu/viewtopic.php?f=19&t=73960&hilit=ups+slave *I have the latest version of the Windows port of NUT (A UPS management package) installed on my Windows 7 machine. The UPS I am using is a ver

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

2020-08-14 Thread Todd Benivegna
Sorry, I guess it is */usr/syno/bin/synoups* On Fri, Aug 14, 2020 at 2:27 PM Todd Benivegna wrote: > I found something interesting that I think may apply here. Check this > out... > > > > https://forum.synology.com/enu/viewtopic.php?f=19&t=73960&hilit=ups+slave > > *I have the latest version o

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

2020-08-14 Thread Todd Benivegna
Thanks Larry, no problem. I appreciate the input. Whenever you get a chance I’d really like to compare notes with someone who has NUT and a Synology to see why the heck mine doesn’t work! ;). I’m also using my Pi as the master like you. Thanks. Todd -- Todd Benivegna // t...@benivegna.com On A

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

2020-08-14 Thread Larry Fahnoe
On Fri, Aug 14, 2020 at 10:31 AM Todd Benivegna wrote: > I have not edited a single file, including anything to do with NUT, on the > Synology via ssh ever. How is yours configured in the UI? Do you have > it set to go into safe mode after a certain number minutes? > Hi Todd, I misunderstoo

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

2020-08-14 Thread Todd Benivegna
Larry, I have not edited a single file, including anything to do with NUT, on the Synology via ssh ever. How is yours configured in the UI? Do you have it set to go into safe mode after a certain number minutes? Earlier, I was just copying and pasting the contents of some files to Roger but

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

2020-08-14 Thread Larry Fahnoe
On Fri, Aug 14, 2020 at 9:21 AM Aleksandr Karenin wrote: > >I wonder how difficult it would be to rip off their modifications and > revert to a.standard, functional nut. > > I think it should be preatty simple. just rename Synology files and > replacewith what you think is the best there... it's

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

2020-08-14 Thread Aleksandr Karenin
>I wonder how difficult it would be to rip off their modifications and revert >to a.standard, functional nut. I think it should be preatty simple. just rename Synology files and replacewith what you think is the best there... it's just a banch of scripts nothing more...

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

2020-08-14 Thread Roger Price
On Fri, 14 Aug 2020, Larry Fahnoe wrote: I wonder if as a result of the tinkering and testing something has gotten mucked up in your Synology's config...perhaps in the config files you were editing? I wonder this because with a stock Synology UPS configuration as a NUT client to my RaspberryPi

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

2020-08-14 Thread Larry Fahnoe
On Thu, Aug 13, 2020 at 7:46 PM Todd Benivegna wrote: > So I finally got a test in after I changed my RPi to the master and > everything else (including my Synology) to slaves. Before I did that > though, I timed the shutdown of my Synology since it is the slowest slave > to shutdown. It took 4

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

2020-08-14 Thread Aleksandr Karenin
Fortunately, several messages earlier there was an explanation how Synology has implemented UPS management. So SHUTDOWN CMD "" is a normal behaviour. It is managed by scripts outside of NUT. Alex ___ Nut-upsuser mailing list Nut-upsuser@alioth-lists.d

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

2020-08-14 Thread Roger Price
On Thu, 13 Aug 2020, Todd Benivegna wrote: I’d do that, but I have no idea how to write scripts or setup the trigger…. Aside from the Synology problem, it would help you a lot as a system administrator if you learned to write simple Bash scripts. Roger___

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

2020-08-14 Thread Roger Price
On Thu, 13 Aug 2020, Todd Benivegna wrote: So I finally got a test in after I changed my RPi to the master and everything else (including my Synology) to slaves.  Before I did that though, I timed the shutdown of my Synology since it is the slowest slave to shutdown.  It took 40 seconds to shu