[hobbit] Hostname Lengths
Mike Rowell
MRowell at shopzilla.com
Tue Mar 9 18:58:08 CET 2010
Actually it's on the Server side which is why I'm finding it a bit strange as I'm sure I saw this a few years back and Henrik fixed it, or maybe I'm thinking of something completely different. An example of this is put a host in bb-hosts with a long name, something where the host is over 30chars long, then get a client to send data to hobbit as that host, for some reason the fqdn is getting truncated down to about 30chars, if you check in ghost clients it will show you there.
Cheers,
Mike
From: Jerald Sheets [mailto:questy at gmail.com]
Sent: 09 March 2010 17:05
To: hobbit at hswn.dk
Subject: 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<mailto: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<mailto:hobbit-unsubscribe at hswn.dk>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100309/c3961098/attachment.html>
More information about the Xymon
mailing list