Skip to content

UPSSCHED doesn't work correct with multiple UPSs #1858

@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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions