<html><head></head><body><div dir="ltr"><div class="gmail_quote"><div>Hi,</div><div><br></div><div>A while back I set up a NUT server on a debian machine (Proxmox). I followed the guide at <a href="https://wiki.debian.org/Exim4Gmail">https://wiki.debian.org/Exim4Gmail</a> so that I would receive email notifications and verified that emails work.</div><div><br></div><div>I modified .<b>/etc/nut/upssched-cmd</b> and modified the script to send an email (happy to share).</div><div><br></div><div>I then wanted to test the solution so I unplugged the UPS.</div><div>NUT wrote a message to the console and I received an email to inform me that the UPS was on battery. </div><div><br></div><div>I had configured the battery.charge.low: 70 and battery.runtime.low: 2500. My thought was when one of these conditions are met the server would bring down the guests and shut itself down. The UPS battery.charge went under 70 but nothing happened. Below is the output from upsc and what happened when I plugged the power back into the ups.</div><div><br></div><div>upsc pve1@localhost<br><font face="monospace">Init SSL without certificate database<br>battery.charge: 63<br>battery.charge.low: 70<br>battery.runtime: 3133<br>battery.runtime.low: 2500<br>battery.type: PbAc<br>battery.voltage: 36.80<br>battery.voltage.nominal: 36.00<br>device.mfr: PHOENIXTEC<br>device.model: Innova Unity<br>device.serial: CPANM2436540037<br>device.type: ups<br><a href="http://driver.name">driver.name</a>: usbhid-ups<br>driver.parameter.pollfreq: 30<br>driver.parameter.pollinterval: 2<br>driver.parameter.port: auto<br>driver.parameter.productid: FFFF<br>driver.parameter.serial: CPANM2436540037<br>driver.parameter.synchronous: auto<br>driver.parameter.vendorid: 06DA<br>driver.version: 2.8.0<br>driver.version.data: Phoenixtec/Liebert HID 0.41<br>driver.version.internal: 0.47<br>driver.version.usb: libusb-1.0.26 (API: 0x1000109)<br>output.frequency: 50.00<br>output.voltage: 229.6<br>ups.delay.shutdown: 300<br>ups.load: 13<br>ups.mfr: PHOENIXTEC<br>ups.model: Innova Unity<br>ups.productid: ffff<br>ups.serial: CPANM2436540037<br>ups.status: OB DISCHRG<br>ups.vendorid: 06da</font><br> </div><div><b><< UPS plugged back in >></b></div><div> <br><font face="monospace">Broadcast message from root@proxmox-01 (somewhere) (Sat Jun 1 12:36:17 2024): <br> <br>UPS pve1@localhost on line power </font><br></div><div><br></div><div>How can I diagnose / resolve this?</div><div><br></div><div>Thanks</div><div>Alan</div><div><br></div><div> </div></div></div>
</body></html>