The $HOST is not expanded in the service name ... you can use it only in the 
'mail-format' statement.

Regards,
Martin


On Apr 15, 2011, at 4:28 PM, Karl Harris wrote:

> In my monit config I placed the following...
> 
>  check system $HOST.domain.net
> 
> When I get alerts however they show the variable name rather than
> the system hostname.  Is there a way to utilize variables in the
> monit config file?
> 
> Thanks
> Karl
> 
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to