installing ups monitor

Bo Berglund bo.berglund at gmail.com
Mon Jan 11 09:16:51 UTC 2021


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?



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).


-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list