[Xymon] Can XYMSRV be a fqdn/hostname not an IP

J.C. Cleaver cleaver at terabithia.org
Tue Feb 13 19:25:25 CET 2024


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



More information about the Xymon mailing list