<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2656.60">
<TITLE>RE : [Nagios-users] Dynamic IP</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>You can put any string in the address field (which, for me, shouldn't be mandatory, like alias). And if you prefer using the alias field, you can use $HOSTALIAS$.</FONT></P>

<P><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: admin@jpk236.com [<A HREF="mailto:admin@jpk236.com">mailto:admin@jpk236.com</A>] </FONT>
<BR><FONT SIZE=2>> Sent: Tuesday, May 31, 2005 3:13 AM</FONT>
<BR><FONT SIZE=2>> To: nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2>> Subject: [Nagios-users] Dynamic IP</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> One of the hosts I monitor has a dynamic IP.  I have a script which </FONT>
<BR><FONT SIZE=2>> automatically updates DNS to keep the hostname updated with </FONT>
<BR><FONT SIZE=2>> the current </FONT>
<BR><FONT SIZE=2>> IP.</FONT>
<BR><FONT SIZE=2>> Most of the commands in the checkcommands.cfg use the $HOSTADDRESS$, </FONT>
<BR><FONT SIZE=2>> which is the specified IP address for the host configuration. </FONT>
<BR><FONT SIZE=2>>  Is there </FONT>
<BR><FONT SIZE=2>> a macro which utilizes the alias setting in the host configuration?</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>>   - Justin Kulikowski</FONT>
<BR><FONT SIZE=2>>       [ <A HREF="http://www.jpk236.com" TARGET="_blank">http://www.jpk236.com</A> ]</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
</P>

</BODY>
</HTML>