[Nut-upsuser] Regular expressions in upssched.conf?

Dumitru Negara dumitru at itcnetworks.ro
Sat Dec 24 21:57:27 UTC 2005


Hi,

I didn't found an answer for my question in NUT documentation/FAQ or 
this mailing list archive so I’m posting it here.

I want to start a timer only if both of my UPSes remain on battery. Not 
just one, both.

My UPSes are:
- ups1 at host-a
- ups2 at host-b

Is it possible to use something like this in upssched.conf?

AT ONBATT ups1.* && ups2.* START-TIMER onbattwarn 180

Thanks,
Dumitru




More information about the Nut-upsuser mailing list