49
submitted 11 months ago by TxTechnician@lemmy.ml to c/linux@lemmy.ml

Looking for opinions.

top 23 comments
sorted by: hot top controversial new old
[-] flashgnash@lemm.ee 42 points 11 months ago* (last edited 11 months ago)

Was unaware UPSes even talked to the computers they power, thought they were just backup batteries

[-] jana@leminal.space 47 points 11 months ago

They can connect via USB so you can do things like perform a clean shutdown when it loses power

[-] mvirts@lemmy.world 8 points 11 months ago

Don't forget rs232 and Ethernet! 😁

[-] TxTechnician@lemmy.ml 3 points 11 months ago

I'm picking a brand for a service offering HaaS. And am hoping I can find a brand that has central management.

[-] RegalPotoo@lemmy.world 3 points 11 months ago

All the modern enterprise ones will support network management, but the thing to keep in mind is a UPS is essentially an insurance policy - you've got to keep up with the premiums (maintenance, replacing the batteries as they age out, testing, ...) if you want to be able to trust that they'll work on the one day a year that you need them.

Related anecdote - I know of a company that spent several million dollars installing a backup diesel generator in their secondary DC. Several years later, a new CIO came in and decided that they should actually be practicing the DR plans that they had in place, and one of those plans involved shifting all their load off DC A onto DC B, then switching DC A onto backup power for half an hour or so. Test day came and they managed to switch the load over with minimal issues, then they switched the power over to backup and... nothing. UPS batteries were several years out of life and lasted less than a minute, and the generator failed to start because it had never been maintained - turns out fuel goes bad if you leave it sitting in a tank in the sun for years, and trying to start a large engine with no lubricant really messes stuff up. Cost them mid-6-figures to get the generator torn down and rebuilt - manufacturer laughed them out of the room when they tried to claim warranty. Don't know if they tried to start the generator at the primary DC, but I suspect some bricks were shat thinking about how far in breach of contract they could be with some of their clients

[-] TxTechnician@lemmy.ml 1 points 11 months ago

Hey, is there any centralized system I can put on a Linux box that will notify me of battery health of multiple UPSs.

I started a managed Services business and I'm trying to find a battery backup solution. That I can centrally manage.

I've never looked into Central management for UPS's before. So I'm not sure if there's anything out there like that.

Given your experience though I'm guessing you might know.

I'm just trying to avoid running into the situation where I have a dying battery at a client's location. I'm trying to be proactive.

[-] RegalPotoo@lemmy.world 2 points 11 months ago

Most of my experience comes from being a developer who enjoys drinking beer with operations people cos I get to hear all the gnarly stories :D

From what I understand, UPSs tend to fall into one of two categories; small consumer desk mount boxes that are enough to keep a single modest workstation going for ~an hour, and larger enterprise grade rack mount systems.

  • The consumer grade ones tend not to have network management built in, but through something like NUT you can check the status and get alerts about power/battery health etc
  • The enterprise grade ones typically have network management, usually in the form of a control module that exposes a web interface and SNMP for monitoring - they are typically not very secure, and usually rely on being on a separate management network that requires VPN access or something

I am by no means an expert, but it sounds like you are planning on deploying machines at remote sites, and want to include a UPS as part of that package - I'd assume that you already have some infrastructure in place for monitoring these machines remotely, so I'd suggest leveraging that to monitor a UPS connected over USB as well

[-] TxTechnician@lemmy.ml 1 points 11 months ago

Oh wow, good thing they caught that.

[-] HumanPenguin@feddit.uk 6 points 11 months ago* (last edited 11 months ago)

Yep even mid range ones did so way back in the early 90s. It was a common fairly cheap feature that used rs232 mostly. In those days non unix systems did not care as much if powered down without warning. So us early (me 1996) Linux users really found it useful to have the ups initiate shutdown before it died. Windows users of the time only tended to worry if they had the PC running when not sat their. Few had internet at home in the early 90s and those that did were dil up. So for many it was not worth the cost when you could just turn off the PC if a power cut was long term.

Now with most people using laptops for casual use. I really cant imagin anyone buying one without the feature.

[-] turkalino@lemmy.yachts 5 points 11 months ago

If the computer gets notified that the battery has been activated, then it can save files, gracefully exit programs, etc. before power loss

[-] spectre@hexbear.net 3 points 11 months ago

It's possible for them to tell the computer to shutdown when the battery is getting low

[-] smotherlove@sh.itjust.works 25 points 11 months ago

My cyberpower UPS works well. There's a service you can run to shut your computer down or whatever when it goes to battery power (check arch wiki) but it also works with GNOME (its displayed how a laptop battery would be displayed, but its labeled as a UPS) and it works well with NUT too.

[-] NixDev@programming.dev 4 points 11 months ago

I have 3 cyber power UPSs on my network and I haven't had any issues with them. The web interface isn't the best but it does it job

[-] dingus@lemmy.ml 2 points 11 months ago* (last edited 11 months ago)

There's also a linux command line interface for at least business class cyberpower UPSs. (Not sure on consumer end.)

Worked like a charm for me on a headless machine.

[-] Cargon@lemmy.ml 4 points 11 months ago

Their PowerPanel Personal and Business editions both seem to work with all of their UPS models. I used to run PowerPanel Business on a basic tower-style model.

https://www.cyberpowersystems.com/products/software/

[-] forbiddenlake@lemmy.world 4 points 11 months ago

I was happy with my cyber powers for years, but then the batteries died (official replacement batteries, after 3 years - the originals lasted 5) and the ups just stopped even passing power through. This is someone's old blog about this https://blog.networkprofile.org/cyberpower-ups-avoid/

[-] You999@sh.itjust.works 15 points 11 months ago

Just get one that is supported by N.U.T and have N.U.T handle your shutdowns.

[-] xia@lemmy.sdf.org 10 points 11 months ago

...and what better brand than EATON, which sponsors the NUT project IIRC.

[-] synestine@sh.itjust.works 12 points 11 months ago

I've used both APC (via apcupsd) and EATON (via nut), both work great.

[-] Frederic@beehaw.org 11 points 11 months ago

Using NUTS, about every one of them, I'm using APC and TrippLite

[-] sxan@midwest.social 4 points 11 months ago

Agreed; I have two Cyberpowers that NUTS works well with. That said, I hate configuring NUTS. It's like the sendmail of power supply management systems. I'm not aware of any others, though, so it's what there is.

Oh, and Home Assistant plays really well with NUTS!

[-] Frederic@beehaw.org 4 points 11 months ago

I agree, configuration is text files like good old sendmail, what a nightmare memory, IIRC there was even books about configuring sendmail...

Anyway NUTS works well, at one time I even installed it on my ASUS router and set it as a IP server, and from a windows PC using winNUT I was able to see it.

[-] infeeeee@lemm.ee 5 points 11 months ago

I have good expreience with APC and Legrand. Small chinese noname brands are a hit or miss, but mostly miss.

Check the nut compatibility list: https://networkupstools.org/stable-hcl.html

this post was submitted on 03 Oct 2023
49 points (100.0% liked)

Linux

47228 readers
779 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS