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 <[email protected]> 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
