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

Rafał Oleszek r.oleszek at wasko.pl
Mon Feb 3 10:02:01 UTC 2014


> On Jan 21, 2014, at 9:27 AM, Rafal Oleszek wrote:
>
>> So it's impossible to configure upssched to start timer only if all ups
>> are in status: OB or LB ?
> Not impossible, just not possible inside a single configuration file. You can always put that logic into an external script called by upssched.
>

Thank for your help Charles. I checked it and it works like you said. 
When both UPS in LB status upsmon called SHUTDOWNCMD.
I have one more question: do you have an example script  you were 
talking about (which will use upssched)?

-------------- 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/20140203/0c4006fd/attachment.bin>


More information about the Nut-upsuser mailing list