[Xymon] Displaying results when the DNS FQDN is different from uname -n

Adam Goryachev mailinglists at websitemanagers.com.au
Wed May 20 03:24:29 CEST 2020


On 20/5/20 11:17, Stephen Carville (xymon list) wrote:
> I have several new machines that do not display local information in 
> XYMon. Part of that is the FQDN differs from the name returned by 
> uname -n. For example apg-rdtx-nde-01.lereta.net thinks it is just 
> plain apg-rdtx-nde-01.  I verified this by capturing the clientlog 
> sent to the server.
>
> I tried the obvious trick of putting a CLIENT: entry into host.cfg but 
> to no avail. That works for a couple of other nodes where the name 
> returned by uname -n is different than the DNS name we know them by so 
> I am mystified as to why it won't work here
>
> Example hosts.cfg entry:
>
> 10.1.224.187  apg-rdtx-nde-01.lereta.net  # ssh CLIENT:apg-rdtx-nde-01
>
> As I said above, I captured the traffic from one of the clients and I 
> can see that it is sending the information to XYMon. However, I cannot 
> find where it is being stored if at all. Normally, I look in 
> /var/xymon/data/hostdata/<servername> but it doesn't appear to be there.
>
> Is there a way to make this work?
>
You might prefer to change this on the client. On Debian it is 
configured in /etc/default/xymon-client, other OS versions might vary.

Otherwise, you can also check the Ghost clients report to see what names 
are being sent which might provide some further clues.

Regards,
Adam



More information about the Xymon mailing list