[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Hostname Lengths



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 <MRowell (at) shopzilla.com> 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
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>