<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
We make extensive use of hostgroups for templating.<BR>
 <BR>
We define a "OS" hostgroup.  A simple example would be "Windows" or "Linux" host groups where we monitor CPU/Load, Root/C disk space, and memory.  The Windows group has EventLog & RDP checks, while Linux groups will monitor the SSH port.<BR>
 <BR>
Then we use nested groups for something like "DB Servers" (dbservers.cfg) where we have the parent group defined and the subgroups of "MSSQL" and "MYSQL" hostgroups.  Then each smaller group has a few common checks we run such as base TCP Ports and even simple test queries against the default databases.<BR>
 <BR>
Ironically we had very view checks to the actual host.cfg files, but add most individual one-off "role" checks to the group file.  <BR><BR>-- <BR>Mat W. - <A href="http://www.techadre.com/">http://www.techadre.com</A><BR><BR><BR> <BR>
<HR id=stopSpelling>
Date: Tue, 8 Dec 2009 07:36:47 -0500<BR>From: gmartin@gmartin.org<BR>To: patrick.morris@hp.com; nagios-users@lists.sourceforge.net<BR>Subject: Re: [Nagios-users] need expert advice/suggestions<BR><BR><BR><BR>
<DIV class=ecxgmail_quote>On Mon, Dec 7, 2009 at 4:29 PM, <SPAN dir=ltr><<A>patrick.morris@hp.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=ecxgmail_quote style="PADDING-LEFT: 1ex">Hi Taylor!<BR>
<DIV class=ecxim><BR></DIV>For what it's worth, Nagios *does* support this.  We routinely use<BR>templates which assign a hostgroup to a host, and that hostgroup will<BR>have a set of standard check for that type of host assigned to it.  When<BR>a new host gets added, all it takes is a "use some_host_template" and<BR>all the standard services we run on that type of host just show up.<BR clear=all></BLOCKQUOTE></DIV><BR>Patrick, can you explain this a bit further or point me towards another post that does the same.  Sounds like an interesting feature I want to explore.<BR><BR>Thanks<BR><BR>-- <BR>\\Greg<BR><BR>                                    <br /><hr />Windows Live Hotmail gives you a free,exclusive  gift. <a href='http://www.microsoft.com/windows/windowslive/hotmail_bl1/hotmail_bl1.aspx?ocid=PID23879::T:WLMTAGL:ON:WL:en-ww:WM_IMHM_7:092009' target='_new'>Click here to download.</a></body>
</html>