<!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 6.5.7232.36">
<TITLE>2.0 Documentation error, templaterecursion.html</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>In this stanza, the "use" line in 'bighost2' definition should be changed from "hosttemplate1" to "bighost1", if the explanation is to be correct.<BR>
<BR>
/eli<BR>
<BR>
<BR>
        define host{<BR>
                host_name               bighost1<BR>
                check_command           check-host-alive<BR>
                notification_options    d,u,r<BR>
                max_check_attempts      5<BR>
                name                    hosttemplate1<BR>
                }<BR>
<BR>
        define host{<BR>
                host_name               bighost2<BR>
                max_check_attempts      3<BR>
                use                     hosttemplate1<BR>
                }<BR>
<BR>
You'll note that the definition for host bighost1 has been defined as having hosttemplate1 as its template name. The definition for host bighost2 is using the definition of bighost1 as its template object. Once Nagios processes this data, the resulting definition of host bighost2 would be equivalent to this definition: </FONT></P>

</BODY>
</HTML>