[Nut-upsuser] how to use multiple UPS with timers

Pilch, Alexander Pilch at citkomm.de
Tue May 8 12:27:45 BST 2018


I need to shut down a VMWare host if both connected UPS are x minutes on battery. Both UPS are connected via SNMP.
Because there are multiple vm running on that host, shutting every vm down takes some time. So most likely, waiting for low battery, the time left won't be enough. I tried overwriting the settings for low battery but that didn't work.

Are timers the only possible solution to this problem? If I use timers, the host will be shut down if one of the UPS is on battery, even if the other UPS is still online.
Do I need the external script to solve this?

I'm grateful for any suggestions.
Greetings from Germany
Alexander Pilch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20180508/064886bf/attachment.html>

More information about the Nut-upsuser mailing list