Xymon Mailing List Archive search

xymon-client for linux over ssl

list Axel Beckert
Mon, 19 Feb 2024 10:37:01 +0100
Message-Id: <user-57e5cdcf191d@xymon.invalid>

Hi Kris,

On Thu, Feb 15, 2024 at 07:20:03AM +0100, Corentin Labbe wrote:
Can anyone advise on the method to have the Debian xymon-client send its 
data to the Server using SSL instead of port 1984?
Since the xymon-client is not TLS aware, the only solution is to use a stunnel.
Currently yes, but release 4.4 (currently at 4.4alpha1) will have
builtin TLS support.
On the remote box, you run the stunnel client listenning on localhost:1984 (and point client to it).
On the xymon server, you ran the stunnel server and configure the output to localhost:1984.
Yes, I usually use 1983 (pun intended as well) for it.

Relevant part my server config (bbs = big brother + ssl):

  [bbs]
  accept = :::1983
  connect = 1984

(Docs say for "connect": "If no host is specified, the host defaults
to localhost.)

This also adds IPv6 support as well.

Client side config:

  [bbs]
  accept  = 127.0.0.1:1984
  connect = <xymon-server-address>:1983
  client = yes

HTH.

		Kind regards, Axel
-- 
PGP: 2FF9CD59612616B5      /~\  Plain Text Ribbon Campaign, http://arc.pasp.de/
Mail: user-bc188e45dae4@xymon.invalid  \ /  Say No to HTML in E-Mail and Usenet
Mail+Jabber: user-0064bde8d49d@xymon.invalid  X
https://axel.beckert.ch/   / \  I love long mails: https://email.is-not-s.ms/