nut icon indicating copy to clipboard operation
nut copied to clipboard

UPSSCHED doesn't work correct with multiple UPSs

Open shgubar opened this issue 1 year ago • 27 comments

HI, My configuration consists of two UPS.

System: Debian Buster NUT: 2.8.0.1 (installed from source)

upsmon.conf

MONITOR riello1000@localhost 1 user pass primary
MONITOR rps1000@localhost 0 user pass secondary

upssched.conf

AT ONLINE riello1000@localhost START-TIMER upsgone 60
AT ONBATT riello1000@localhost CANCEL-TIMER upsgone

With this configuration UPSSCHED doesn't work, if I change to:

AT ONLINE * START-TIMER upsgone 60
AT ONBATT * CANCEL-TIMER upsgone

working perfectly.

Why I can't use specific UPS for this task?

shgubar avatar Feb 24 '23 11:02 shgubar