Tested, and it works like a charm!

Thank you very much, it has been a very useful addition.

On Wed, May 9, 2012 at 8:04 PM, Martin Pala <[email protected]> wrote:

> Hi Tomas,
>
> currently the hostname is based only on the name assigned to the host
> (should equal to output of "hostname" utility, expanded to FQDN if found).
>
> We have implemented the support for custom hostname configuration … if the
> "check system <name>" is defined in the monit configuration file, then the
> name will be used as hostname. If the given Monit is configured with
> M/Monit, this hostname will be also used as the initial name of the host
> entry in M/Monit. If the "check system <name>" is missing, then the
> hostname defaults to system hostname.
>
> You can get the snapshot of the development source code from here (it's
> basically 5.4 + the mentioned change):
> http://www.mmonit.com/tmp/monit-5.5_20120905.tar.gz
>
>
> Regards,
> Martin
>
>
> On May 8, 2012, at 1:18 PM, Tomas Nunez wrote:
>
> > Hi
> >
> > Some times you have servers which you refer to with a different name
> than their host name (host in AWS, for example). If I want monit to report
> with a different hostname than "hostname -f", can I explicitly specify the
> host name in the config file? Is there any workaround?
> >
> > I've found no such option in the config file or the documentation...
> >
> > Thanks!
> > --
> > To unsubscribe:
> > https://lists.nongnu.org/mailman/listinfo/monit-general
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>



-- 
<http://www.groupalia.com/>Tomàs NúñezIT Production Systems*
*Tel. + 34 93 553 18 06 (Ext. 932)Fax. + 34 93 396 18 52LLull 113-119 -
08005 BarcelonaSkype: tomas.nunez.groupaliawww.groupalia.com
[email protected]
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to