Xymon Mailing List Archive search

Hostname Lengths

list Jerald Sheets
Tue, 9 Mar 2010 12:05:17 -0500
Message-Id: <user-62fa55c9fcd3@xymon.invalid>

If you mean from the Client side:


I would assume /etc/defaults/hobbit-client is in order?

If so, there's a hack I use on occasion that will help keep everything "ok".

In the /home/xymon/client/runclient.sh file, there is a variable set early
on in the script:

MACHINEDOTS="`uname -n`"

If you absolutely have to, you can comment that guy out and replace it with:

MACHINEDOTS="fully.qualified.domain"

to get whatever your hostname should be.


If you are referring to server side *after* the message is received at the
server, then I am less knowledgeable in that part.  Maybe one of our friends
here could help out?


---
Jerald M. Sheets jr.


On Tue, Mar 9, 2010 at 9:38 AM, Mike Rowell <user-c5d15219f4c2@xymon.invalid> wrote:
Hi Xymonites...

I've been tracking an issue with an install I have where hostnames are
getting cut short, we have some boxes with longer than standard hostnames
(some close to 32chars long), I've tried setting CLIENT: and that does seem
to work but I really need a proper solution as we could have some hosts with
domains a lot longer than this and I don't want to put exceptions in for
everything.

Any ideas, I seem to remember this issue a few years back, possibly longer
than that but can't remember the specifics about the fix.

Cheers,

Mike