Philippe Andersson
2014-May-21 15:16 UTC
[Nut-upsuser] upssched timer configuration with redundant UPSes ?
Hello list, I have the following hardware setup: - HP C7000 enclosure, with 4 blade servers - two power supply modules in the enclosure (one is enough to sustain the 4 blades) - two UPSes, each one feeding one of the enclosure power supplies I would like to configure NUT to initiate an early shutdown of that environment only if *both* UPSes are on battery. I've created the 2 "MONITOR" entries, giving 1 power supply each, and I've set MINSUPPLIES to 1. But since I want early shutdown, I also need to configure the count-down timer for upssched. I tried the usual: AT ONBATT * START-TIMER onbattery 60 But of course, this triggers even if only one of them goes on battery. How can I create a timer that only starts if *both* UPSes are on battery at the same time? That timer should also be cancelled as soon as *one of them* comes back on-line, like this I suppose: AT ONLINE * CANCEL-TIMER onbattery Thanks in advance for any hint. Cheers. Bye. Ph. A. -- *Philippe Andersson* Unix System Administrator IBA Particle Therapy | Tel: +32-10-475.983 Fax: +32-10-487.707 eMail: pan at iba-group.com <http://www.iba-worldwide.com> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20140521/0a9e878b/attachment.sig>
Seemingly Similar Threads
- snmp-ups sends status "OL OB" on HP R3000 UPS with AF465A management card [UPDATE]
- snmp-ups sends status "OL OB" on HP R3000 UPS with AF465A management card [UPDATE]
- snmp-ups sends status "OL OB" on HP R3000 UPS with AF465A management card
- snmp-ups sends status "OL OB" on HP R3000 UPS with AF465A management card [UPDATE]
- Multiple servers connected to the same UPS