<span style=" font-size:12pt;font-family:Arial">I feel a little stupid
now. No I didn't started the driver.</span>
<br><span style=" font-size:12pt;font-family:Arial">I started it now and
everything is working.</span>
<br><span style=" font-size:12pt;font-family:Arial">thanks everybody who
helped me.</span>
<br>
<br><span style=" font-size:12pt;font-family:Arial">Mit freundlichen Grüßen</span>
<br>
<br><span style=" font-size:12pt;font-family:Arial">Marco Hald</span>
<br>
<br>
<br><img src=cid:_1_164C4F3C164C4CC80043F533C1258686 width=188 height=45 style="border:0px solid;">
<br><span style=" font-size:12pt;font-family:Arial">Stadtverwaltung Crailsheim</span>
<br><span style=" font-size:12pt;font-family:Arial">Ressort Digitales &
Kommunikation</span>
<br><span style=" font-size:12pt;font-family:Arial">Sachgebiet EDV</span>
<br><span style=" font-size:12pt;font-family:Arial">Marktplatz 1</span>
<br><span style=" font-size:12pt;font-family:Arial">74564 Crailsheim</span>
<br>
<br><span style=" font-size:12pt;font-family:Arial">Telefon +49 7951 403-1167</span>
<br><span style=" font-size:12pt;font-family:Arial">marco.hald@crailsheim.de</span>
<br><a href=www.crailsheim.de><span style=" font-size:12pt;color:blue;font-family:Arial">www.crailsheim.de</span></a>
<br>
<br>
<br>
<br>
<br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Von:
       </span><span style=" font-size:9pt;font-family:sans-serif">"Jim
Klimov" <jimklimov+nut@gmail.com></span>
<br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">An:
       </span><span style=" font-size:9pt;font-family:sans-serif">marco.hald@crailsheim.de</span>
<br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Datum:
       </span><span style=" font-size:9pt;font-family:sans-serif">24.02.2021
09:29</span>
<br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Betreff:
       </span><span style=" font-size:9pt;font-family:sans-serif">Re:
Re: [Nut-upsuser] Antwort: Re: Proxy upsmon</span>
<br>
<hr noshade>
<br>
<br>
<br><span style=" font-size:12pt">Just in case, did you also start the
dummy driver?</span>
<br>
<br><span style=" font-size:12pt">Jim </span>
<br>
<br><span style=" font-size:12pt">On Wed, Feb 24, 2021, 07:52 <</span><a href=mailto:marco.hald@crailsheim.de><span style=" font-size:12pt;color:blue"><u>marco.hald@crailsheim.de</u></span></a><span style=" font-size:12pt">>
wrote:</span>
<br><span style=" font-size:12pt;font-family:Arial">This could solve my
Problem.</span><span style=" font-size:12pt"> </span><span style=" font-size:12pt;font-family:Arial"><br>
Do you know in which Version the Repeater mode was added?</span><span style=" font-size:12pt">
</span><span style=" font-size:12pt;font-family:Arial"><br>
Whe i configure the UPS in ups.conf like this:</span><span style=" font-size:12pt">
<br>
</span><span style=" font-size:12pt;font-family:Arial"><br>
[ups]</span><span style=" font-size:12pt"> </span><span style=" font-size:12pt;font-family:Arial"><br>
        driver = "dummy-ups"</span><span style=" font-size:12pt">
</span><span style=" font-size:12pt;font-family:Arial"><br>
        port = "netvision@s"</span><span style=" font-size:12pt">
<br>
</span><span style=" font-size:12pt;font-family:Arial"><br>
and then Start the UPSD with upsd -D</span><span style=" font-size:12pt">
</span><span style=" font-size:12pt;font-family:Arial"><br>
I get this Output:</span><span style=" font-size:12pt"> <br>
</span><span style=" font-size:12pt;font-family:Arial"><br>
upsd -D</span><span style=" font-size:12pt"> </span><span style=" font-size:12pt;font-family:Arial"><br>
Network UPS Tools upsd 2.6.2</span><span style=" font-size:12pt"> </span><span style=" font-size:12pt;font-family:Arial"><br>
   0.000000     listening on 0.0.0.0 port 3493</span><span style=" font-size:12pt">
</span><span style=" font-size:12pt;font-family:Arial"><br>
   0.000198     Can't connect to UPS [ups] (dummy-ups-ups):
No such file or directory</span><span style=" font-size:12pt"> <br>
</span><span style=" font-size:12pt;font-family:Arial"><br>
So maybe the Version on the Firewall is to old</span><span style=" font-size:12pt">
<br>
</span><span style=" font-size:12pt;font-family:Arial"><br>
Kind Regards</span><span style=" font-size:12pt"> <br>
</span><span style=" font-size:12pt;font-family:Arial"><br>
Marco Hald</span><span style=" font-size:12pt"> <br>
<br>
<br>
</span><span style=" font-size:12pt;font-family:Arial"><br>
Stadtverwaltung Crailsheim</span><span style=" font-size:12pt"> </span><span style=" font-size:12pt;font-family:Arial"><br>
Ressort Digitales & Kommunikation</span><span style=" font-size:12pt">
</span><span style=" font-size:12pt;font-family:Arial"><br>
Sachgebiet EDV</span><span style=" font-size:12pt"> </span><span style=" font-size:12pt;font-family:Arial"><br>
Marktplatz 1</span><span style=" font-size:12pt"> </span><span style=" font-size:12pt;font-family:Arial"><br>
74564 Crailsheim</span><span style=" font-size:12pt"> <br>
</span><span style=" font-size:12pt;font-family:Arial"><br>
Telefon +49 7951 403-1167</span><span style=" font-size:12pt"> </span><span style=" font-size:12pt;color:blue;font-family:Arial"><u><br>
</u></span><a href=mailto:marco.hald@crailsheim.de target=_blank><span style=" font-size:12pt;color:blue;font-family:Arial"><u>marco.hald@crailsheim.de</u></span></a><span style=" font-size:12pt">
</span><span style=" font-size:12pt;color:blue"><u><br>
</u></span><a href=http://www.crailsheim.de/ target=_blank><span style=" font-size:12pt;color:blue;font-family:Arial"><u>www.crailsheim.de</u></span></a><span style=" font-size:12pt">
<br>
<br>
<br>
<br>
</span><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif"><br>
Von:        </span><span style=" font-size:9pt;font-family:sans-serif">"Jim
Klimov via Nut-upsuser" <</span><a href="mailto:nut-upsuser@alioth-lists.debian.net" target=_blank><span style=" font-size:9pt;color:blue;font-family:sans-serif"><u>nut-upsuser@alioth-lists.debian.net</u></span></a><span style=" font-size:9pt;font-family:sans-serif">></span><span style=" font-size:12pt">
</span><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif"><br>
An:        </span><span style=" font-size:9pt;font-family:sans-serif">"Roger
Price" <</span><a href=mailto:roger@rogerprice.org target=_blank><span style=" font-size:9pt;color:blue;font-family:sans-serif"><u>roger@rogerprice.org</u></span></a><span style=" font-size:9pt;font-family:sans-serif">></span><span style=" font-size:12pt">
</span><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif"><br>
Kopie:        </span><span style=" font-size:9pt;font-family:sans-serif">"nut-upsuser
Mailing List" <</span><a href="mailto:nut-upsuser@lists.alioth.debian.org" target=_blank><span style=" font-size:9pt;color:blue;font-family:sans-serif"><u>nut-upsuser@lists.alioth.debian.org</u></span></a><span style=" font-size:9pt;font-family:sans-serif">></span><span style=" font-size:12pt">
</span><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif"><br>
Datum:        </span><span style=" font-size:9pt;font-family:sans-serif">23.02.2021
19:18</span><span style=" font-size:12pt"> </span><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif"><br>
Betreff:        </span><span style=" font-size:9pt;font-family:sans-serif">Re:
[Nut-upsuser] Antwort: Re: Proxy upsmon</span><span style=" font-size:12pt">
</span><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif"><br>
Gesendet von:        </span><span style=" font-size:9pt;font-family:sans-serif">"Nut-upsuser"
<nut-upsuser-bounces+marco.hald=</span><a href="mailto:crailsheim.de@alioth-lists.debian.net" target=_blank><span style=" font-size:9pt;color:blue;font-family:sans-serif"><u>crailsheim.de@alioth-lists.debian.net</u></span></a><span style=" font-size:9pt;font-family:sans-serif">></span><span style=" font-size:12pt">
<br>
</span>
<hr noshade><span style=" font-size:12pt"><br>
<br>
<br>
One solution can be a "dummy-ups" driver in proxy mode (and an
upsd) running on Firewall1 and so republishing data from a real device
handled by existing nut-server to a NUT client on Firewall2. <br>
<br>
Note this can suffer from some lags compared to a real connection, but
e.g. a proxy like this allows us in lab to monitor real data from many
nut clients (instances in integration tests) although direct UPS connectivity
is way more limited (even networked ones can handle only so many clients)
:) <br>
<br>
Technically these can be chained, we have proxies to proxies over vpn to
only have long-distance traffic once regardless of amount of running tested
clients. <br>
<br>
Jim <br>
<br>
On Tue, Feb 23, 2021, 12:31 Roger Price <</span><a href=mailto:roger@rogerprice.org target=_blank><span style=" font-size:12pt;color:blue"><u>roger@rogerprice.org</u></span></a><span style=" font-size:12pt">>
wrote: <br>
Sorry, the ascii art was mangled.  I'll try again.<br>
<br>
On Tue, 23 Feb 2021, </span><a href=mailto:marco.hald@crailsheim.de target=_blank><span style=" font-size:12pt;color:blue"><u>marco.hald@crailsheim.de</u></span></a><span style=" font-size:12pt">
wrote:<br>
<br>
> here is a Diagramm of the Connections<br>
>                   
                     
Machine "S"<br>
> +---------------------------+      +--------------------+<br>
> | Socomec UPS               | 
    |nut-server          |<br>
> | only capable of SNMP      |------|Ubuntu Server 20.04
|<br>
> |                   
       |      |with upsd 2.7.4 
   |<br>
> +---------------------------+      +--------------------+<br>
>                   
                     
   |<br>
> +----------------------------+           
  |<br>
> | Firewall-1 with upsd 2.6.2 |  Network A   |<br>
> | without SNMP Support       |--------------+<br>
> +----------------------------+<br>
>             | Network B<br>
<br>
Hello Marco, Here in Firewall_1 you are running upsd only?  Isn't
it<br>
upsmon that you should be running?<br>
<br>
>             | Network B<br>
> +----------------------------+<br>
> | Firewall-2 with upsd 2.6.2 |<br>
> |  without SNMP Support      |<br>
> +----------------------------+<br>
<br>
In Firewall_2 you need upsmon to be able to talk to "nut-server"
machine S.<br>
<br>
> My Problem is Firewall-2 can only reach Firewall-1.<br>
<br>
I guess that Firewall_1 is supporting two networks, A and B, and that<br>
you cannot get from a machine Firewall_2 on network B to machine S on<br>
network A.  Is this correct? Do the firewall logs record any rejected<br>
traffic?<br>
<br>
> Firewall-1 can reach every Device.<br>
> On Firewall-1 the nut-server is configured as Monitor and the shutdown
works properly.<br>
<br>
When you say "nut-server" one thinks of upsd, not upsmon. 
I guess you mean "nut-client".<br>
<br>
> The Connection from Firewall-2 to Firewall-1 works via netcat.<br>
<br>
But does netcat S 3493 work on machine Firewall_2 ?<br>
<br>
Roger<br>
<br>
<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list</span><span style=" font-size:12pt;color:blue"><u><br>
</u></span><a href="mailto:Nut-upsuser@alioth-lists.debian.net" target=_blank><span style=" font-size:12pt;color:blue"><u>Nut-upsuser@alioth-lists.debian.net</u></span></a><span style=" font-size:12pt;color:blue"><u><br>
</u></span><a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" target=_blank><span style=" font-size:12pt;color:blue"><u>https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</u></span></a><tt><span style=" font-size:10pt">_______________________________________________<br>
Nut-upsuser mailing list</span></tt><tt><span style=" font-size:10pt;color:blue"><u><br>
</u></span></tt><a href="mailto:Nut-upsuser@alioth-lists.debian.net" target=_blank><tt><span style=" font-size:10pt;color:blue"><u>Nut-upsuser@alioth-lists.debian.net</u></span></tt></a><span style=" font-size:12pt;color:blue"><u><br>
</u></span><a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" target=_blank><tt><span style=" font-size:10pt;color:blue"><u>https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</u></span></tt></a><span style=" font-size:12pt"><br>
<br>
[Anhang "noname" gelöscht von Marco Hald/Stadt_Crailsheim/DE]
[Anhang "noname" gelöscht von Marco Hald/Stadt_Crailsheim/DE]
</span>
<br>
<br>