<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >Host Templates</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="The Cacti Manual" HREF="index.html"><LINK REL="UP" TITLE="Templates" HREF="templates.html"><LINK REL="PREVIOUS" TITLE="Graph Templates" HREF="graph_templates.html"><LINK REL="NEXT" TITLE="Import Templates" HREF="template_import.html"><LINK REL="STYLESHEET" TYPE="text/css" HREF="manual.css"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >The Cacti Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="graph_templates.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 13. Templates</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="template_import.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="HOST_TEMPLATES" >Host Templates</A ></H1 ><P > Host templates in Cacti serve a different purpose then data and graph templates. Instead of abstracting the fields of a host, a host template allows you to associate graph templates and data queries with a given host type. This way when you assign a host template to a host, all of the relevant graphs to that host type are only one click away from the user. </P ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="HOST_TEMPLATE_NEW" >Adding a Host Template</A ></H2 ><P > To create a new host template in Cacti, select the <SPAN CLASS="GUILABEL" >Host Templates</SPAN > option under the <SPAN CLASS="GUILABEL" >Templates</SPAN > heading. Once on that screen, click <SPAN CLASS="GUILABEL" >Add</SPAN > on the right. Type a unique name for the host template and click the <SPAN CLASS="GUILABEL" >Create</SPAN > button. You will be redirected back to the edit page with the <SPAN CLASS="GUILABEL" >Associated Graph Templates</SPAN > and <SPAN CLASS="GUILABEL" >Associated Data Queries</SPAN > boxes. These two boxes allow you to associate certain graph templates or data queries with the host template. Simply select something from the dropdown menu and click <SPAN CLASS="GUILABEL" >Add</SPAN > to associate it with your host template. </P ><DIV CLASS="FIGURE" ><A NAME="IMG_HOST_TEMPLATE_NEW" ></A ><P ><B >Figure 13-3. Adding a Host Template</B ></P ><DIV CLASS="MEDIAOBJECT" ><P ><IMG SRC="images/host_template.png"></P ></DIV ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="graph_templates.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="template_import.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Graph Templates</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="templates.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Import Templates</TD ></TR ></TABLE ></DIV ></BODY ></HTML >