monit-general
[Top][All Lists]
Advanced

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

With migration from 5.17.1 to 5.20.0 the "$HOST" variable has changed


From: Marcus Mülbüsch
Subject: With migration from 5.17.1 to 5.20.0 the "$HOST" variable has changed
Date: Wed, 23 Nov 2016 17:56:39 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0

Hello,

I've upgraded from monit-5.17.1 to monit 5.20.0, but now the config line:

check system $HOST

is expanded only to "hostname -s", instead of "hostname -f" as before. This can be seen by the logfile on the server "mmonit":

Nov 23 17:13:45 mmonit monit[7402]: 'mmonit.as-infodienste.de' Monit 5.17.1 
stopped
Nov 23 17:13:52 mmonit monit[31741]: /usr/local/monit.d/mmonit.monit:8: Service 
name conflict, mmonit already defined '/run/mmonit/mmonit.pid'
Nov 23 17:13:52 mmonit /etc/init.d/monit[31740]: start-stop-daemon: failed to 
start `/usr/bin/monit'
Nov 23 17:13:52 mmonit /etc/init.d/monit[31724]: ERROR: monit failed to start
Nov 23 17:22:47 mmonit monit[3567]: Starting Monit 5.20.0 daemon with http 
interface at [*]:10443
Nov 23 17:22:47 mmonit monit[3567]: Monit start delay set to 15s
Nov 23 17:23:02 mmonit monit[3570]: 'mmonit' Monit 5.20.0 started

In this case it was especially bad, because I have defined a service "mmonit" that now conflicts with the hostname "mmonit".

This also influences everything else: The mmonit Dashboard, the monit mails...

   How can I get the old behaviour back?

   Best regards,

Marcus Mülbüsch





reply via email to

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