Hi Roger,

here is a Diagramm of the Connections
+----------------------------+           +----------------------------+    
 
|  Socomec UPS               |           |nut-server                  |    
 
|  only capable of SNMP      |-----------|Ubuntu Server 20.04         |    
 
|                            |           |with upsd 2.7.4             |    
 
|                            |           |                            |    
 
+----------------------------+           +----------------------------+    
 
                                                     |     
                                                     |     
+-----------------------------+                      |     
|                             |                      |     
|  Firewall-1 with upsd 2.6.2 |                      |     
|  without SNMP Support       |----------------------+     
|                             |   
+-----------------------------+   
             |   
             |   
+-----------------------------+   
|                             |   
|  Firewall-2 with upsd 2.6.2 |   
|  without SNMP Support       |   
|                             |   
+-----------------------------+ 
My Problem is Firewall-2 can only reach Firewall-1.
Firewall-1 can reach every Device.
The Connection from Firewall-2 to Firewall-1 works via netcat.
On Firewall-1 the nut-server is configured as Monitor and the shutdown 
works properly.
I tried to configure this in the ups.conf on Firewall-1
[ups]
        driver = "nutclient"
        port = "netvision@nut-server"
But on start of the upsd i get the Error 
Can't connect to UPS [ups] (nutclient-ups): No such file or directory

Kind Regards
Marco Hald



Stadtverwaltung Crailsheim
Ressort Digitales & Kommunikation
Sachgebiet EDV
Marktplatz 1
74564 Crailsheim

Telefon +49 7951 403-1167
marco.h...@crailsheim.de
www.crailsheim.de




Von:    "Roger Price" <ro...@rogerprice.org>
An:     "nut-upsuser Mailing List" <nut-upsu...@lists.alioth.debian.org>
Datum:  22.02.2021 16:13
Betreff:        Re: [Nut-upsuser] Proxy upsmon
Gesendet von:   "Nut-upsuser" 
<nut-upsuser-bounces+marco.hald=crailsheim...@alioth-lists.debian.net>



On Mon, 22 Feb 2021, marco.h...@crailsheim.de wrote:

> I have the following Scenario:
> The Devices are connected as shown here
> USV <-> nut-server <-> Firewall_1 <-> Firewall_2
> I have no Problem to get it working till Firewall_1.
> The Problem is that Firewall_2 is not able to connect directly to 
nut-server.
> I would like to setup upsd on the Firewall_1 to monitor the USV via the 
 nut-server and then set the Firewall_2 to monitor the Firewall_1
> Is this possible ?

First, it would be good to get a clear understanding of your setup.  Is 
this 
correct?

              ,--------------,               ,--------------,
    ,-----,   | upsd listens | <-Commands    |   upsmon     |
    | UPS |---| on port 3493 |---------------|              |
    | USV |===|              |   Responses-> |              |
    /-----\   '--------------'               '--------------'
                 Firewall_1                     Firewall_2

>From machine Firewall_2 can you contact Firewall_1 on port 3493, for 
example

    netcat Firewall_1 3493
    HELP
    Commands: HELP VER GET LIST SET INSTCMD LOGIN LOGOUT USERNAME PASSWORD 
STARTTLS
    ^C

Roger_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser



_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to