Le 29/05/2013 22:30, Martin Pala a
the next Monit version supports "$HOST" macro for the "check
system", which expands to the hostname. Changelog excerpt:
* The "check system" can use the $HOST as service name,
which will expand to the
system hostname. Example:
check system $HOST
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...