<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Yeah, this was a change around 4.3.18:<br>
<br>
From: xymon.CHANGES.terabithia<br>
<br>
- On new server installs, $XYMONSERVERHOSTNAME will be set to the
MACHINEDOTS value<br>
given by xymoncmd (which derives it from $HOSTNAME or `uname
-n`).<br>
$XYMONSERVERWWWNAME will be set to the XYMONSERVERHOSTNAME
value.<br>
<br>
<br>
I believe this was related to the migration of settings from
wrapper scripts to xymoncmd settings, as how $MACHINEDOTS was
needed to be inverted in systemd-land...<br>
<br>
This *should* have been handled by the RPM upgrade process around
this time... Not sure why it wasn't in this case :/<br>
<br>
-jc<br>
<br>
On 1/5/2017 1:42 PM, Galen Johnson wrote:<br>
</div>
<blockquote
cite="mid:CAJpizT2uAKS5kAVeKww8Zit0h+4MjfPzPksB=KoxdS_O_pY6Vg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Yeah, I thought that was odd, too. I checked my old
configs (non-terabithia) and they are set exactly like you
mention. Are you using the terabithia rpms? I suspect it is
something specific to those.<br>
<br>
</div>
=G=<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Jan 5, 2017 at 4:39 PM, Ralph
Mitchell <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ralphmitchell@gmail.com" target="_blank">ralphmitchell@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>$MACHINEDOTS should be being set in xymonserver.cfg,
I think. In my installation (xymon-4.3.12) I have it
the other way around:<br>
<br>
XYMONSERVERHOSTNAME="<a moz-do-not-send="true"
href="http://server.domain.com" target="_blank">server.<wbr>domain.com</a>"
# The hostname of your server<br>
MACHINEDOTS="$<wbr>XYMONSERVERHOSTNAME" # This
systems hostname<br>
<br>
And for some reason I don't remember, the WWW name is
set explicitly:<br>
<br>
XYMONSERVERWWWNAME="<a moz-do-not-send="true"
href="http://server.domain.com" target="_blank">server.<wbr>domain.com</a>"
# The name used for this servers' webserver<br>
<br>
<br>
</div>
Ralph Mitchell<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div class="h5">On Thu, Jan 5, 2017 at 4:24 PM, Galen
Johnson <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:solitaryr@gmail.com"
target="_blank">solitaryr@gmail.com</a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="h5">
<div dir="ltr">Interestingly, emails from my work
address don't seem to be making it to the
list...<br>
<br>
Hey,<br>
<br>
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,<br>
<br>
<a moz-do-not-send="true"
href="https://shortname/xymon" target="_blank">https://shortname/xymon</a><br>
<br>
instead of<br>
<br>
<a moz-do-not-send="true"
href="https://shortname.example.com/xymon"
target="_blank">https://shortname.example.com/<wbr>xymon</a><br>
<br>
I've dug through the xymonserver.cfg file to see
where this is being set and I can trace it to<br>
<br>
XYMONSERVERWWWNAME="$XYMONSERV<wbr>ERHOSTNAME"
# The name used for this hosts' webserver<br>
<br>
where XYMONSERVERHOSTNAME is defined as<br>
<br>
XYMONSERVERHOSTNAME="$MACHINED<wbr>OTS"
# The hostname of your server. In the RPM,
xymoncmd sets this before we get here<br>
<br>
I have FQDN="TRUE" set as well.<br>
<br>
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.<br>
<br>
Anyone have any insight into what I may be
missing?<span
class="m_-3964426840280653671HOEnZb"><font
color="#888888"><br>
<br>
=G=<br>
</font></span></div>
<br>
</div>
</div>
______________________________<wbr>_________________<br>
Xymon mailing list<br>
<a moz-do-not-send="true"
href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a moz-do-not-send="true"
href="http://lists.xymon.com/mailman/listinfo/xymon"
rel="noreferrer" target="_blank">http://lists.xymon.com/mailman<wbr>/listinfo/xymon</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>