[Nut-upsuser] UPS repeater configuration using localhost

Derek Rachul drachul at gmail.com
Thu Sep 12 23:47:08 UTC 2013


I'm trying to setup a UPS configuration whereas I have one physical UPS but
two UPS entities loaded by the system used by different network slaves.

In my ups.conf configuration I have
        driver = apcsmart
        port = /dev/ttyS0
        desc = "APC UPS"

        driver = dummy-ups
        port = ups at localhost
        desc = "APC UPS for QNAP"

This use of the repeater mode of the dummy-ups UPS driver doesn't seem to
work though, as I get errors

Sep 12 15:50:07 upsd[19170]: listening on port 3493
Sep 12 15:50:07 upsd[19170]: Can't connect to UPS [qnapups]
(dummy-ups-qnapups): No such file or directory
Sep 12 15:50:07 upsd[19170]: Connected to UPS [ups]: apcsmart-ups
Sep 12 15:50:07 upsd[19171]: Startup successful

I tried reversing the order of the definitions in the config file, and it
does seem to change the order in which they're loaded (at least according
to the system logs) however the error remains.

Does anyone know if there is a way to get this to work, or am I out of luck?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20130912/4e1987cf/attachment.html>

More information about the Nut-upsuser mailing list