[Nut-upsuser] NUT proxy?

Charles Lepple clepple at gmail.com
Thu Aug 14 13:01:34 UTC 2014

On Thu, Aug 14, 2014 at 2:53 AM, Ruzsinszky Attila
<ruzsinszky.attila at gmail.com> wrote:
> Hi,
> I want to use nut-cgi from a centralized machine.
> There are two firewalls which run upsmon. upsmon connected to the real upsd
> which run two machines behind the firewall. So upsmon is using LAN for
> communicating to upsd.
> First problem:
> I can't connect to upsmon with upsstats.cgi because upsmon not listen on TCP
> port.

Correct, upsmon does not listen on a TCP port because it is a client
to upsd. upsstats.cgi connects to upsd instead.

> Second problem:
> How can I check more upsd with upsmon? All upsd are listen to the default
> port on different machines. For example I'd like an upsmon on TCP1, the
> other one on TCP2, etc.
> I want to check the UPSs from a centralized place but there is a firewall
> between upsd and upsstats.cgi and port forwarding not allowed.

You may want to check out the repeater mode of 'dummy-ups' - it is a
proxy. You could have one instance of upsd which has several dummy-ups
instances, each of which connect to the actual upsd.

- Charles Lepple

More information about the Nut-upsuser mailing list