Le 29/05/2013 22:30, Martin Pala a
écrit :
Hello,
the next Monit version supports "$HOST" macro for the "check
system", which expands to the hostname. Changelog excerpt:
--8<--
* The "check system" can use the $HOST as service name,
which will expand to the
system hostname. Example:
check system $HOST
--8<--
Regards,
Martin
Hello,
I personnaly use a Makefile that creates the monit configuration at
start, obviously before monit start.
But I admit that Macros (and not only $HOST) would be nice...
Regards
|