<div dir="ltr">Ok...adding to /etc/hosts made no difference.  I had to set the hostname to the fqdn so it would get picked up by uname -a and hostname as the fqdn.  Of course, I had to restart xymon server to get that picked up correctly (I always forget to do that).<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 5:23 PM, Galen Johnson <span dir="ltr"><<a href="mailto:solitaryr@gmail.com" target="_blank">solitaryr@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>I already did that.  I'm currently setting the fqdn first in /etc/hosts since I've been bitten by gethostbyname before with name sensitive services.  I'll let you know if that works. (only had the default localhost stuff before)<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">=G=<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 5:20 PM, Japheth Cleaver <span dir="ltr"><<a href="mailto:cleaver@terabithia.org" target="_blank">cleaver@terabithia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><span>
    <div class="m_8615088254641017218m_9157089623785016238moz-cite-prefix">On 1/5/2017 2:14 PM, Galen Johnson
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>This was a fresh install (switched over when I replaced the
          old Centos 6 server).  It started fresh with 4.3.27.  Both
          hostname and uname -n provide the shortname.<br>
          <br>
        </div>
        =G=<br>
      </div>
      <div class="gmail_extra"><br>
      </div>
    </blockquote>
    <br></span>
    Ahh, that'll do it then.<br>
    <br>
    IIRC $HOSTNAME is used if available, but the uname syscall, followed
    by a fork to `uname -n` itself, are then used to derive the local
    name.<br>
    <br>
    Just modify XYMONSERVERWWWNAME by hand in xymonserver.cfg to
    whatever the external view of the WWW address should be and it
    should work.<br>
    <br>
    HTH,<br>
    -jc<div><div class="m_8615088254641017218h5"><br>
    <br>
    <br>
    <blockquote type="cite">
      <div class="gmail_extra">
        <div class="gmail_quote">On Thu, Jan 5, 2017 at 5:04 PM, Japheth
          Cleaver <span dir="ltr"><<a href="mailto:cleaver@terabithia.org" target="_blank">cleaver@terabithia.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div class="m_8615088254641017218m_9157089623785016238m_528437506269328806moz-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 :/<span class="m_8615088254641017218m_9157089623785016238HOEnZb"><font color="#888888"><br>
                    <br>
                    -jc</font></span>
                <div>
                  <div class="m_8615088254641017218m_9157089623785016238h5"><br>
                    <br>
                    On 1/5/2017 1:42 PM, Galen Johnson wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="m_8615088254641017218m_9157089623785016238h5">
                  <blockquote 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 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 href="http://server.domain.com" target="_blank">server.do<wbr>main.com</a>"   
                                # The hostname of your server<br>
                              MACHINEDOTS="$XYMONSERVERHOSTN<wbr>AME"  
                                   # This systems hostname<br>
                              <br>
                              And for some reason I don't remember, the
                              WWW name is set explicitly:<br>
                              <br>
                              XYMONSERVERWWWNAME="<a href="http://server.domain.com" target="_blank">server.dom<wbr>ain.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="m_8615088254641017218m_9157089623785016238m_528437506269328806h5">On
                                  Thu, Jan 5, 2017 at 4:24 PM, Galen
                                  Johnson <span dir="ltr"><<a 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="m_8615088254641017218m_9157089623785016238m_528437506269328806h5">
                                    <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 href="https://shortname/xymon" target="_blank">https://shortname/xymon</a><br>
                                      <br>
                                      instead of<br>
                                      <br>
                                      <a 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_8615088254641017218m_9157089623785016238m_528437506269328806m_-3964426840280653671HOEnZb"><font color="#888888"><br>
                                          <br>
                                          =G=<br>
                                        </font></span></div>
                                    <br>
                                  </div>
                                </div>
                                ______________________________<wbr>_________________<br>
                                Xymon mailing list<br>
                                <a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
                                <a 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="m_8615088254641017218m_9157089623785016238m_528437506269328806mimeAttachmentHeader"></fieldset>
                    <br>
                    <pre>______________________________<wbr>_________________
Xymon mailing list
<a class="m_8615088254641017218m_9157089623785016238m_528437506269328806moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a>
<a class="m_8615088254641017218m_9157089623785016238m_528437506269328806moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman<wbr>/listinfo/xymon</a>
</pre>
    </blockquote>
    <p>

    </p>
  </div></div></div>

</blockquote></div>
</div>



</blockquote><p>
</p></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>