Rafał Oleszek
2014-Jan-21 07:14 UTC
[Nut-upsuser] Shutdown when both (all) UPS on battery / low battery
Hi, I have data room with single master nut instance which calling scripts to shutdown environment. I have two Delta UPS reachable from network. Everything works fine but I need to configure nut to shutdown environment when both UPS on battery or low battery. Can you advise me how to do that (is it possible?). THX for any help. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2274 bytes Desc: Kryptograficzna sygnatura S/MIME URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20140121/f7878e56/attachment.bin>
Rafał Oleszek
2014-Jan-21 08:16 UTC
[Nut-upsuser] Shutdown when both (all) UPS on battery / low battery
I would like to mention that MINSUPPLIES manipulation doesn't work. My nut version is : 2.2.2-4 (RHEL 5) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2274 bytes Desc: Kryptograficzna sygnatura S/MIME URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20140121/1852f0f0/attachment.bin>
Charles Lepple
2014-Jan-21 12:20 UTC
[Nut-upsuser] Shutdown when both (all) UPS on battery / low battery
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
Maybe Matching Threads
- Shutdown when both (all) UPS on battery / low battery
- Shutdown when both (all) UPS on battery / low battery
- Shutdown when both (all) UPS on battery / low battery
- Shutdown when both (all) UPS on battery / low battery
- Shutdown when both (all) UPS on battery / low battery