Skip to content

UPSSCHED doesn't work correct with multiple UPSs #1858

Closed
@shgubar

Description

@shgubar

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions