New to nagios

Jason Martin jhmartin at toger.us
Thu Nov 13 23:03:35 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

- -Jason Martin


On Thu, 13 Nov 2003, Sullivan, Robert (HQP) wrote:

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

iD8DBQE/s/+7l2ODWuqVSBMRAiy+AJ9hHom3KwzvraQcRBZ3WEBRZ821LACfSQai
6UDOj5509JWkQ4+nPdFBLAY=
=UThI
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list