<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Most of the commands in the checkcommands.cfg use the $HOSTADDRESS$,<br>which is the specified IP address for the host configuration.  Is there
<br>a macro which utilizes the alias setting in the host configuration?<br></blockquote></div><br>
The address defined in the host object doesn't have to be an IP address...<br>
<br>
>From <a href="http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host">http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host</a> :<br>
<strong>address</strong>:

This directive is used to define the address of the host. Normally,
this is an IP address, although it could really be anything you want
(so long as it can be used to check the status of the host). You can
use a FQDN to identify the host instead of an IP address, but if DNS
services are not availble this could cause problems. When used
properly, the $HOSTADDRESS$ <a href="http://nagios.sourceforge.net/docs/2_0/macros.html">macro</a> will contain this address.  <b>Note:</b>
If you do not specify an address directive in a host definition, the
name of the host will be used as its address. A word of caution about
doing this, however - if DNS fails, most of your service checks will
fail because the plugins will be unable to resolve the host name.<br>
<br>
-Dan<br>