Hostname is not picked up

Comments

3 comments

  • Avatar
    Olaf Stein

    Hi Leeor,

    assuming these are Linux hosts, can you check /etc/hosts on 2 machines, one where it is working, one where it is not.

    This is an often reported "issue" and it normally stems from local name resolution resolving to localhost instead of the hostname.

    Thanks

    Olaf

     

     

    0
    Comment actions Permalink
  • Avatar
    Matthew Twomey

    +1 on this issue. 'hostname' reports correctly on the system, but it's still just shown as "localhost" in sumologic.

     

    [root@ip-10-25-80-17 e6f0ed63915262039a5e10b959e72f3243a5e135f3587535093acd6545585d2a]# hostname
    ip-10-25-80-17
    [root@ip-10-25-80-17 e6f0ed63915262039a5e10b959e72f3243a5e135f3587535093acd6545585d2a]#

    0
    Comment actions Permalink
  • Avatar
    Todd Troutman

    Recently Java has been finding the hostname incorrectly in Sumo and other apps.  Flipping the order in /etc/hosts

    fixes it. actual hostname first, then "localhost".  Doing this after the install of sumo does not appear to update, at least

    not in the timespan I have for waiting. 

     

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.