Xymon Mailing List Archive search

Xymon server fqdn

list Ralph Mitchell
Thu, 5 Jan 2017 16:39:09 -0500
Message-Id: <CAAEjoCUe3iULu=0GHS-YpW=bV=user-22c794c6444e@xymon.invalid>

$MACHINEDOTS should be being set in xymonserver.cfg, I think.  In my
installation (xymon-4.3.12) I have it the other way around:

XYMONSERVERHOSTNAME="server.domain.com"      # The hostname of your server
MACHINEDOTS="$XYMONSERVERHOSTNAME"        # This systems hostname

And for some reason I don't remember, the WWW name is set explicitly:

XYMONSERVERWWWNAME="server.domain.com"        # The name used for this
servers' webserver


Ralph Mitchell


On Thu, Jan 5, 2017 at 4:24 PM, Galen Johnson <user-fc632e705d24@xymon.invalid> wrote:
Interestingly, emails from my work address don't seem to be making it to
the list...

Hey,

I'm at a loss here.  I'm using the Terabithia RPM for my Xymon server and
the links that are provided in emails only use the shortname of my xymon
server.  For example,

https://shortname/xymon

instead of

https://shortname.example.com/xymon

I've dug through the xymonserver.cfg file to see where this is being set
and I can trace it to

XYMONSERVERWWWNAME="$XYMONSERVERHOSTNAME"       # The name used for this
hosts' webserver

where XYMONSERVERHOSTNAME is defined as

XYMONSERVERHOSTNAME="$MACHINEDOTS"              # The hostname of your
server. In the RPM, xymoncmd sets this before we get here

I have FQDN="TRUE" set as well.

Any idea where I can set this to give me the actual fqdn of the server?
I'm assuming that 'xymoncmd' is just pulling in 'hostname' rather than
'hostname -f'.  I must be missing something.

Anyone have any insight into what I may be missing?

=G=