|
From: | Nick Upson |
Subject: | Re: Hostname Issue |
Date: | Fri, 19 Sep 2014 09:18:49 +0100 |
I consider this a compatibility-breaking change, and one which should require an explicit accompanying option be enabled in monit.conf.This is *hugely* inconvenient, as I have a whole fleet of servers that have a "check system localhost" check defined. After upgrading, they now all report "localhost" as the hostname.As it turns out, this seems to be due to a new feature of monit 5.5, whereby if there is a "check system sysname" check defined, then the hostname supplied for "sysname" overrides anything found in /etc/hosts. etc.I finally discovered the cause of this issue. To recap:Since upgrading several servers from monit 5.3 to monit 5.5, all monit alerts are coming in with "localhost" as the hostname instead of the actual hostname, making it impossible to tell which servers the alerts are originating from.All my servers are using an identical configuration for these checks, and requiring them all to now be updated with unique checks is unnecessarily burdonsome. The original method of using the host's actual hostname was working splendidly, so why change that? Especially in a manner that breaks existing installations?Please consider reverting this feature, or requiring that it be explicitly enabled, in a future release.SamOn Tue, Jul 8, 2014 at 12:57 PM, Art Age Software <address@hidden> wrote:Thanks.Any insight in how to fix this would be much appreciated.Hi,I just upgraded several servers from monit 5.3 to monit 5.5. Now, all monit alerts are coming in with "localhost" as the hostname instead of the actual hostname, making it impossible to tell which servers the alerts are originating from.
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |