installing ups monitor
Bo Berglund
bo.berglund at gmail.com
Mon Jan 11 14:47:52 UTC 2021
On Tue, 12 Jan 2021 00:23:17 +1100, Karl Auer <kauer at biplane.com.au> wrote:
>The samples I sent should be some use, especially the
>"MONITOR" line. You will have to set up a user on the NAS form the
>monitoring to use.
>>
>>
>> I have set up my UPS system such that all of these items (and a few
>> more) are on UPS power:
>> [...]
>> This seems to cover "everything" in case of a power outage
>
>Bear in mind that every device you have on the UPS lowers your run time
>in case of an outage. Attaching things like printers is not a good idea
>at all.
I think that most of these items are needed for the distributed system to work:
- Router because otherwise the internal network will be unavailable
- Fiber box, without which there is no Internet
- Network switches for the same reason
- Synology NAS manages the UPS and has important file storage
- Ubuntu Server, the reason I started this in the first place
I have not hooked up printers or laptops (they have internal batteries after
all) etc. And I don't think the fiber interface box pulls that many watts of
power either. And my mission was to make sure I had Internet available also in a
power outage.
So I think it should be OK now.
Concerning configuration I have found two how-tos that are informative:
https://www.reddit.com/r/synology/comments/gtkjam/use_synology_nas_as_ups_server_to_safely_power/
https://diktiosolutions.eu/en/synology/synology-ups-nut-en/
Then after logging on with SSH to my NAS I could see what the default "user" for
UPS is set to and use that in the Ubuntu config. Did not need to change much.
Then I intended to check if the UPS connection on Ubuntu worked properly when my
ISP suddenly dropped the fiber! Grrrr....
So now I have had to set my phone as a hotspot and connect my laptop to that
just in order to get onto the Internet and report the fiber outage to my
provider...
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list