<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Nagios-users] New to nagios</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Does anyone have an example of this? I sort of see how it works but if someone could give me a sample that would be awesome. Also has anyone used any of the Nagios interface tools for configuring Nagios? I set one up that was written in PHP but it does not seem to work with Nagios the interface was nawui. </FONT></P>

<P><FONT SIZE=2>Thanks,</FONT>
</P>

<P><FONT SIZE=2>Robert </FONT>
</P>

<P><FONT SIZE=2>By the way I have heard nothing but good things about nagios.</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Jason Martin [<A HREF="mailto:jhmartin@toger.us">mailto:jhmartin@toger.us</A>]</FONT>
<BR><FONT SIZE=2>Sent: Thursday, November 13, 2003 2:04 PM</FONT>
<BR><FONT SIZE=2>To: Sullivan, Robert (HQP)</FONT>
<BR><FONT SIZE=2>Cc: 'nagios-users@lists.sourceforge.net'</FONT>
<BR><FONT SIZE=2>Subject: Re: [Nagios-users] New to nagios</FONT>
</P>
<BR>

<P><FONT SIZE=2>-----BEGIN PGP SIGNED MESSAGE-----</FONT>
<BR><FONT SIZE=2>Hash: SHA1</FONT>
</P>

<P><FONT SIZE=2>You'll have to specify every host you want to monitor in the hosts file, </FONT>
<BR><FONT SIZE=2>but the idea behind templating is that you make one template for each </FONT>
<BR><FONT SIZE=2>'class' of hosts, then write some very small entries of each. So, if you </FONT>
<BR><FONT SIZE=2>have some sun servers, you create a template that defines everything about </FONT>
<BR><FONT SIZE=2>a generic server. You then write a small awk script to take the list of </FONT>
<BR><FONT SIZE=2>hostnames you want to monitor and have it spit out a small host entry that </FONT>
<BR><FONT SIZE=2>also invokes the template. </FONT>
</P>

<P><FONT SIZE=2>- -Jason Martin</FONT>
</P>
<BR>

<P><FONT SIZE=2>On Thu, 13 Nov 2003, Sullivan, Robert (HQP) wrote:</FONT>
</P>

<P><FONT SIZE=2>> Hi,</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I'm new to nagios but have a question on the hosts.cfg file and the</FONT>
<BR><FONT SIZE=2>> template. So my question is do I need to define each host in this file or</FONT>
<BR><FONT SIZE=2>> can I user the template e.g. sun-servers to get all of the host names and IP</FONT>
<BR><FONT SIZE=2>> addresses. If the first is the case even with the template then how is it</FONT>
<BR><FONT SIZE=2>> really useful it would seem I still need to enter the information into the</FONT>
<BR><FONT SIZE=2>> hosts.cfg file and when you are dealing with 200+ servers it gets fairly</FONT>
<BR><FONT SIZE=2>> big.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Thanks in advance, </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Robert</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>-----BEGIN PGP SIGNATURE-----</FONT>
<BR><FONT SIZE=2>Version: GnuPG v1.3.3 (GNU/Linux)</FONT>
<BR><FONT SIZE=2>Comment: pgpenvelope 2.10.2 - <A HREF="http://pgpenvelope.sourceforge.net/" TARGET="_blank">http://pgpenvelope.sourceforge.net/</A></FONT>
</P>

<P><FONT SIZE=2>iD8DBQE/s/+7l2ODWuqVSBMRAiy+AJ9hHom3KwzvraQcRBZ3WEBRZ821LACfSQai</FONT>
<BR><FONT SIZE=2>6UDOj5509JWkQ4+nPdFBLAY=</FONT>
<BR><FONT SIZE=2>=UThI</FONT>
<BR><FONT SIZE=2>-----END PGP SIGNATURE-----</FONT>
</P>

</BODY>
</HTML>