[Nut-upsuser] Shutdown when both (all) UPS on battery / low battery

Charles Lepple clepple at gmail.com
Tue Jan 21 12:20:23 UTC 2014


On Jan 21, 2014, at 3:16 AM, Rafał Oleszek wrote:

> I would like to mention that MINSUPPLIES manipulation doesn't work. My nut version is : 2.2.2-4  (RHEL 5)


What do your configuration files look like? Setting MINSUPPLIES to 2 should work. You can run upsmon with a debug level of 3 or greater, and it will print the current and minimum "power value", which is what determines when to shut down.

Also, if you don't want to wait for both UPSes to drain to the low battery state, you can set up a pair of dummy-ups drivers. I'm not sure how well that will work with 2.2.2, but since dummy-ups doesn't require hardware, you could build a newer version of NUT on another system, and configure it to only build the dummy-ups driver.

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsuser mailing list