installing ups monitor
Bob
ubuntu-qygzanxc at listemail.net
Mon Jan 11 19:13:08 UTC 2021
** Reply to message from Bo Berglund <bo.berglund at gmail.com> on Mon, 11 Jan
2021 10:16:51 +0100
> On Sun, 10 Jan 2021 12:24:00 +0100, Bo Berglund <bo.berglund at gmail.com> wrote:
>
> >On Sun, 10 Jan 2021 20:19:14 +1100, Karl Auer <kauer at biplane.com.au> wrote:
> >
> >>The above reminds me what I did and how I did it. Because I run a
> >>Synology NAS, it is important me that it is shutdown in an orderly
> >>fashion if the power fails. Synology NASes understand APC UPSes out of
> >>the box, so I used it as a networked UPS monitor and told NUT to check
> >>the NAS, rather than check the UPS directly. monuser and XXXXXXX are
> >>the creds it uses to talk to the NAS via SNMP.
> >>
> >>If the power failed, the UPS would tell the NAS; the NAS would tell
> >>anyone who asked, which was what my laptop did via NUT.
> >>
> >>So I'm not sure that my configuration is that useful to you.
> >
> >Really interesting because I have a Synology NAS as one device on my network
> >too!
> >
> >I will study how it will be done and see if I can get it going via the NAS.
> >
>
> Karl,
> thanks again for your suggestion to use the Synology NAS as the UPS monitor!
>
> It turns out that once I hooked up the RJ45/USB cable that came with the APC
> ES700 to the USB connector on my Synology Diskstation 212j NAS I was able to
> enable UPS monitoring and also the network UPS server on Synology.
> The service itself was present out of the box! :)
>
> So now the Synology NAS is checking the UPS state and it will shut down when
> "battery is low".
>
> I also enabled the network UPS server and configured it with the IP address of
> my Ubuntu 18 server, so I assume that now the "only" thing I need to do is
> figuring out how the Ubuntu server can use the UPS service on my NAS...
>
> I installed package nut yesterday using apt on my Ubuntu server.
> It entered a non-working state.
>
> So now I "just" have to edit some config files, right?
That is correct but I found that most how tos for NUT were lacking some of the
details. I found the NUT manual at
https://networkupstools.org/docs/user-manual.chunked/index.html. I found I
needed to go through the entire chapter 6 of that manual to get things set up
correctly. The end of chapter 6 describes how to set up multiple UPS
configurations.
> With regard to another post in this thread:
> I have set up my UPS system such that all of these items (and a few more) are on
> UPS power:
> - Incoming fiber interface to the Internet
> - Main ASUS RT-AC86U router
> - My two Netgear network switches
> - Synology NAS
> - Ubuntu Server (the target of my concerns)
> - IP phone interface box
>
> This seems to cover "everything" in case of a power outage so that my internal
> network will continue operating with internal and Internet connection (assuming
> the fiber provider's system is still on power).
--
Robert Blair
Giving money and power to government is like giving whiskey and car keys to teenage boys. -- P.J. O'Rourke, Civil Libertarian
More information about the ubuntu-users
mailing list