Incorrect hostname reporting

Issue #393 resolved
Billy Vitro created an issue

I just upgraded to monit 5.18, and now the hostname comes back with unprintable characters in all emails. When I back out the change to 5.17.1, the issue stops.

I'm running RHEL 6.2, which is running postfix for an MTA.

Comments (6)

  1. Tildeslash repo owner

    Hello,

    please can you send the following informations to support@mmonit.com?:

    1. your monit configuration file
    2. output of "hostname" command-line utility
    3. sample of email with unprintable characters
  2. Tildeslash repo owner

    Thanks for data Billy. It seems that the problem was caused when FQDN hostname cannot be found.

    Checked in the fix, please can you test the development snapshot?:

    wget https://bitbucket.org/tildeslash/monit/get/master.tar.gz
    tar -xzf master.tar.gz
    cd tildeslash-monit*
    ./bootstrap
    ./configure
    make
    
  3. Log in to comment