monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mmonit / monit upgraded to latest version -> host appear as localhos


From: Ben
Subject: Re: mmonit / monit upgraded to latest version -> host appear as localhost
Date: Fri, 5 Jun 2015 06:16:32 +0200

Super many thanks that solved it!

> On 3 Jun 2015, at 19:50, Martin Pala <address@hidden> wrote:
> 
> Hi,
> 
> please check your monit configuration - if the “check system <string>” 
> statement is used, then it sets a custom name which overrides the hostname, 
> i.e. if for example “check system localhost” is present, the hostname will be 
> “localhost”.
> 
> You can use “check system $HOST” to use the current system hostname.
> 
> Regards,
> Martin
> 
> 
>> On 03 Jun 2015, at 12:06, Ben Soot <address@hidden> wrote:
>> 
>> Hi all,
>> 
>> Today I upgraded my monit and mmonit installations:
>> 
>> (on host bar.com only) monit 5.4 -> monit 5.13
>> mmonit-3.1.2 -> mmonit-3.5
>> 
>> i used the upgrade script as described here: 
>> https://mmonit.com/wiki/MMonit/Release3-5
>> 
>> All the monitors seem to work fine, however the host bar.com, that i 
>> upgraded, shows as "localhost" in mmonit Status view 
>> (https://foo.com/status/hosts/).
>> The other hosts show correctly with their fqn.
>> Before the mmonit upgrade (with and without the monit upgrade of host 
>> bar.com) the hostname of appeared correctly as bar.com
>> 
>> If have the fqn set in /etc/hosts as well as in /bin/hostname
>> 
>> Any ideas?
>> 
>> Thanks a lot, Ben
>> 
>> 
>> --
>> To unsubscribe:
>> https://lists.nongnu.org/mailman/listinfo/monit-general
> 
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general



reply via email to

[Prev in Thread] Current Thread [Next in Thread]