Xymon Mailing List Archive search

What is the maximum hostname length?

3 messages in this thread

list David Mills · Fri, 9 Aug 2013 14:36:06 +0000 ·
Howdy, All!

What is the maximum allowed hostname length (excluding FQDN) in Xymon?

Thanks!

david

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
David Mills
Systems Administrator
Northrop Grumman
(XXX) XXX-XXXX
list Jeremy Laidman · Mon, 12 Aug 2013 10:43:57 +1000 ·
The xymond process allocates 4k for a hostname when it reads them in from
hosts.cfg.

However, I suspect there will be other limits outside of xymond.  For
example, Xymon clients will be limited by their OS constraint on nodename,
POSIX has a limit of 64 bytes, and the DNS also has things to say about
both "A" record label limits (255) and hostname limits (63).

The shell under which parts of Xymon run, will be OS-dependent, and might
have limits on variable name lengths and filename lengths (which might
limit the length of RRD file dirnames, for instance) and command-line
arguments.

Also, other Xymon processes might have internal limits on the hostname
length they can use, and I haven't looked any further than the xymond
source code.

J
quoted from David Mills


On 10 August 2013 00:36, Mills, David (IS) <user-eb64c112f0e9@xymon.invalid> wrote:
 Howdy, All!

What is the maximum allowed hostname length (excluding FQDN) in Xymon?

Thanks!

david

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
David Mills
Systems Administrator
Northrop Grumman
(XXX) XXX-XXXX

list David Mills · Mon, 12 Aug 2013 14:25:41 +0000 ·
Thx, Jeremy... That helps!
quoted from Jeremy Laidman

david

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
David Mills
Systems Administrator
Northrop Grumman
(XXX) XXX-XXXX
From: Jeremy Laidman [user-71895fb2e44c@xymon.invalid]
Sent: Sunday, August 11, 2013 7:43 PM
To: Mills, David (IS)
Cc: xymon at xymon.com
Subject: EXT :Re: [Xymon] What is the maximum hostname length?

The xymond process allocates 4k for a hostname when it reads them in from hosts.cfg.

However, I suspect there will be other limits outside of xymond.  For example, Xymon clients will be limited by their OS constraint on nodename, POSIX has a limit of 64 bytes, and the DNS also has things to say about both "A" record label limits (255) and hostname limits (63).

The shell under which parts of Xymon run, will be OS-dependent, and might have limits on variable name lengths and filename lengths (which might limit the length of RRD file dirnames, for instance) and command-line arguments.

Also, other Xymon processes might have internal limits on the hostname length they can use, and I haven't looked any further than the xymond source code.

J


On 10 August 2013 00:36, Mills, David (IS) <user-eb64c112f0e9@xymon.invalid<mailto:user-eb64c112f0e9@xymon.invalid>> wrote:
Howdy, All!

What is the maximum allowed hostname length (excluding FQDN) in Xymon?

Thanks!

david

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
David Mills
Systems Administrator
Northrop Grumman
(XXX) XXX-XXXX