[Nut-upsuser] Antwort: Re: Proxy upsmon

Jim Klimov jimklimov at gmail.com
Wed Feb 24 12:31:35 GMT 2021


No problem, got a lot of that in context-switching lately :)

Nice to hear it works, 2.6.2 is pretty old now...

Jim

On Wed, Feb 24, 2021, 13:22 <marco.hald at crailsheim.de> wrote:

> I feel a little stupid now. No I didn't started the driver.
> I started it now and everything is working.
> thanks everybody who helped me.
>
> Mit freundlichen Grüßen
>
> Marco Hald
>
>
>
> Stadtverwaltung Crailsheim
> Ressort Digitales & Kommunikation
> Sachgebiet EDV
> Marktplatz 1
> 74564 Crailsheim
>
> Telefon +49 7951 403-1167
> marco.hald at crailsheim.de
> www.crailsheim.de
>
>
>
>
> Von:        "Jim Klimov" <jimklimov+nut at gmail.com>
> An:        marco.hald at crailsheim.de
> Datum:        24.02.2021 09:29
> Betreff:        Re: Re: [Nut-upsuser] Antwort: Re: Proxy upsmon
> ------------------------------
>
>
>
> Just in case, did you also start the dummy driver?
>
> Jim
>
> On Wed, Feb 24, 2021, 07:52 <*marco.hald at crailsheim.de*
> <marco.hald at crailsheim.de>> wrote:
> This could solve my Problem.
> Do you know in which Version the Repeater mode was added?
> Whe i configure the UPS in ups.conf like this:
>
> [ups]
>         driver = "dummy-ups"
>         port = "netvision at s"
>
> and then Start the UPSD with upsd -D
> I get this Output:
>
> upsd -D
> Network UPS Tools upsd 2.6.2
>    0.000000     listening on 0.0.0.0 port 3493
>    0.000198     Can't connect to UPS [ups] (dummy-ups-ups): No such file
> or directory
>
> So maybe the Version on the Firewall is to old
>
> Kind Regards
>
> Marco Hald
>
>
>
> Stadtverwaltung Crailsheim
> Ressort Digitales & Kommunikation
> Sachgebiet EDV
> Marktplatz 1
> 74564 Crailsheim
>
> Telefon +49 7951 403-1167
> *marco.hald at crailsheim.de* <marco.hald at crailsheim.de>
> *www.crailsheim.de* <http://www.crailsheim.de/>
>
>
>
>
> Von:        "Jim Klimov via Nut-upsuser" <
> *nut-upsuser at alioth-lists.debian.net*
> <nut-upsuser at alioth-lists.debian.net>>
> An:        "Roger Price" <*roger at rogerprice.org* <roger at rogerprice.org>>
> Kopie:        "nut-upsuser Mailing List" <
> *nut-upsuser at lists.alioth.debian.org*
> <nut-upsuser at lists.alioth.debian.org>>
> Datum:        23.02.2021 19:18
> Betreff:        Re: [Nut-upsuser] Antwort: Re: Proxy upsmon
> Gesendet von:        "Nut-upsuser" <nut-upsuser-bounces+marco.hald=
> *crailsheim.de at alioth-lists.debian.net*
> <crailsheim.de at alioth-lists.debian.net>>
> ------------------------------
>
>
>
> 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.
>
> 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)
> :)
>
> 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.
>
> Jim
>
> On Tue, Feb 23, 2021, 12:31 Roger Price <*roger at rogerprice.org*
> <roger at rogerprice.org>> wrote:
> Sorry, the ascii art was mangled.  I'll try again.
>
> On Tue, 23 Feb 2021, *marco.hald at crailsheim.de* <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
>
>
>
> _______________________________________________
> Nut-upsuser mailing list
> *Nut-upsuser at alioth-lists.debian.net*
> <Nut-upsuser at alioth-lists.debian.net>
> *https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser*
> <https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser>
> _______________________________________________
> Nut-upsuser mailing list
> *Nut-upsuser at alioth-lists.debian.net*
> <Nut-upsuser at alioth-lists.debian.net>
> *https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser*
> <https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser>
>
> [Anhang "noname" gelöscht von Marco Hald/Stadt_Crailsheim/DE] [Anhang
> "noname" gelöscht von Marco Hald/Stadt_Crailsheim/DE]
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20210224/74fb24ea/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noname
Type: image/gif
Size: 11517 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20210224/74fb24ea/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noname
Type: image/gif
Size: 11517 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20210224/74fb24ea/attachment-0003.gif>


More information about the Nut-upsuser mailing list