Xymon Mailing List Archive search

Can XYMSRV be a fqdn/hostname not an IP

list Ian Diddams
Tue, 13 Feb 2024 18:25:59 +0000 (UTC)
Message-Id: <user-06635149a772@xymon.invalid>

Thanks!

Sent from Yahoo Mail on Android 
 
  On Tue, 13 Feb 2024 at 18:25, J.C. Cleaver<user-87556346d4af@xymon.invalid> wrote:   
On Tue, February 13, 2024 07:53, Ian Diddams wrote:
simple question...?? as time marches on etc has xymon/hobbit reached a
stage yet when XYMSRV can be set to a hostname rather than an IP address?

eg?? rather than

XYMSRV = "10.10.10.10"

we could have

XYMSRV = "xymonhost"

where "xymonhost" resolves in dns to 10.10.10.10?

This would be a huge benefit where anytime a xymon server is migrated to
another system eg underling EOL OS, one wouldn't have to go around
changing every single client server's xymon configs to a new Ip...?? all
that would be required is a reset in an appropriate dns zonefile so dns
just provides the new IP after the TTL passes etc.

???

cheers
ian
Hi,

Yes, $XYMSRV (or the recipient specified directly on the command line to
the 'xymon' client program) can be a FQDN, even in 4.3.30, and a lookup
will be performed.

It's fine to do this, just with the caveat that this introduces working
DNS resolution as a requirement for client log submission. This might be
an OK tradeoff if, as you say, you're doing migration, or have a floating
xymon VIP, or are doing other things with xymonproxy and need admin
flexibility w/o touching every machine.

-jc