[Xymon] Where is the linux client name set?

Ralph Mitchell ralphmitchell at gmail.com
Sat Sep 16 02:38:13 CEST 2017


I've had clients check in with the short-form name when it's listed first
in the /etc/hosts file, like this:

     10.10.10.10    client  client.domain.com

Just swapping the names over fixed it and made it check in with the
long-form name:

     10.10.10.10  client.domain.com  client

Not sure why.

Ralph Mitchell


On Fri, Sep 15, 2017 at 7:44 PM, Josh Luthman <josh at imaginenetworksllc.com>
wrote:

> Either uname on the client or hosts config on the server.
>
> Josh Luthman
> Office: 937-552-2340 <(937)%20552-2340>
> Direct: 937-552-2343 <(937)%20552-2343>
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
>
> On Sep 15, 2017 7:35 PM, "John Thurston" <john.thurston at alaska.gov> wrote:
>
>> It's been a couple of years since I've needed to configure a linux client
>> (my Solaris systems are still running their old BB clients). And I'm
>> confused with what I'm seeing. This is on a _very_ minimal server
>> installation with client; compiled from source.
>>
>> I have files in ~/client/tmp/ of the form msg.xymonx.state.ak.us.txt (so
>> fully-qualified host.domain name). Yet the first line of that file is:
>>   client xymonx.linux linux
>>
>> So the message body being sent to the xymon server contains the short
>> host name. But the client is writing the file onto the disk with the
>> fully-qualified name.
>>
>> The xymon server reports my client messages as 'ghosts', and correctly
>> picks them up if I put a client alias in hosts.cfg
>>   client:xymonx
>> I'd like to do away with that alias.
>>
>> Where is my linux client picking up this short name?
>>
>> --
>>    Do things because you should, not just because you can.
>>
>> John Thurston    907-465-8591
>> John.Thurston at alaska.gov
>> Department of Administration
>> State of Alaska
>> _______________________________________________
>> Xymon mailing list
>> Xymon at xymon.com
>> http://lists.xymon.com/mailman/listinfo/xymon
>>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170915/e4dff537/attachment.html>


More information about the Xymon mailing list