<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 15, 2024 at 4:51 PM Snyder, Alexander J via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Does anyone in this community have any experience managing Network UPS?<div><br></div><div>I purchased an "APC 3000VA Smart-UPS" (<a href="https://www.amazon.com/gp/product/B0785NCFMY" target="_blank">https://www.amazon.com/gp/product/B0785NCFMY</a>) in 2020. It's been performing exactly as it should ever since, and life is great.</div><div><br></div><div>However, when I've had it, I have experienced two or three "catastrophic" power outages (<i>line utility goes out</i>), and the UPS kicks in and does exactly what it is supposed to do.</div><div><br></div><div>My problem is that in the time between buying the UPS and now, my homelab has grown significantly, and in one of those power outages, I overestimated my battery time, and my entire stack died while I was fucking around with one of the servers.</div><div><br></div><div>In my most recent power loss, learning from the past, I raced downstairs at 2AM with all the UPS alarms beeping loudly, and I raced to shut down the stack properly, knowing (<i>this time</i>) that I'd only got about 5 minutes of life. I got everything shut down this time, which is good—but it forced me to take a good hard look at some kind of Automated Shutdown.</div><div><br></div><div>I've known for a long time that these things <u style="font-weight:bold;font-style:italic">could</u> happen, but I've never had a need to investigate. Well, here we are, LOL.</div><div><br></div><div>I have the APS UPS connected to my switch, and it is getting a DHCP IP -- and I can see ARP requests going back and forth -- my pfSense FW shows that <u style="font-weight:bold;font-style:italic">it is</u> sending/receiving data -- albeit just a few kilobytes here and there, but I know there is TCP/IP life on it -- but I'm at a loss beyond that.  I've tried to SSH to it, but I just always get a "Connection Refused" -- using the "default" credentials I found online, "apc/apc"... </div><div><br></div><div>So yeah, anyone out there with any background or experience with Network UPSs, I'd love to chat with you to figure out how I can get into this thing and make it do what I'm absolutely certain it's capable of doing!</div><div><br></div></div></blockquote><div class="gmail_default" style="font-family:monospace"></div><div class="gmail_default" style="font-family:monospace">Looks like you are looking for a Network UPS Monitoring capability.</div><div class="gmail_default" style="font-family:monospace">Take a look at NUTS <<a href="https://networkupstools.org/features.html">https://networkupstools.org/features.html</a>></div><div class="gmail_default" style="font-family:monospace">YMMV based on NUT support for the APC model</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">A typical setup would be:</div><div class="gmail_default" style="font-family:monospace"><ol><li>A controller system -- a server or a network device that is ON 24x7 with the UPS unit connected to it.</li><li>NUT client on all other systems, also powered by the UPS, that you want to shut down gracefully before the UPS runs out of charge.</li></ol></div><div class="gmail_default" style="font-family:monospace">HTH</div><div class="gmail_default" style="font-family:monospace"><br></div></div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>--<br></div><div>Arun Khan</div></div></div></div>