[Nut-upsuser] Antwort: Re: Proxy upsmon

Roger Price roger at rogerprice.org
Tue Feb 23 11:31:03 GMT 2021


Sorry, the ascii art was mangled.  I'll try again.

On Tue, 23 Feb 2021, marco.hald at crailsheim.de wrote:

> here is a Diagramm of the Connections
>                                          Machine "S"
> +---------------------------+      +--------------------+
> | Socomec UPS               |      |nut-server          |
> | only capable of SNMP      |------|Ubuntu Server 20.04 |
> |                           |      |with upsd 2.7.4     |
> +---------------------------+      +--------------------+
>                                             |
> +----------------------------+              |
> | Firewall-1 with upsd 2.6.2 |  Network A   |
> | without SNMP Support       |--------------+
> +----------------------------+
>             | Network B

Hello Marco, Here in Firewall_1 you are running upsd only?  Isn't it
upsmon that you should be running?

>             | Network B
> +----------------------------+
> | Firewall-2 with upsd 2.6.2 |
> |  without SNMP Support      |
> +----------------------------+

In Firewall_2 you need upsmon to be able to talk to "nut-server" machine S.

> My Problem is Firewall-2 can only reach Firewall-1.

I guess that Firewall_1 is supporting two networks, A and B, and that
you cannot get from a machine Firewall_2 on network B to machine S on
network A.  Is this correct? Do the firewall logs record any rejected
traffic?

> Firewall-1 can reach every Device.
> On Firewall-1 the nut-server is configured as Monitor and the shutdown works properly.

When you say "nut-server" one thinks of upsd, not upsmon.  I guess you mean "nut-client".

> The Connection from Firewall-2 to Firewall-1 works via netcat.

But does netcat S 3493 work on machine Firewall_2 ?

Roger





More information about the Nut-upsuser mailing list