<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=235324611-18122003><FONT face=Arial 
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial size=2>I'm trying to set-up 
Nagios on a small number of machines before we decide whether to increase the 
number of systems we watch.  I'm slightly confused by the use of groups in 
the configuration files.</FONT></SPAN></DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial size=2>I'm currently trying 
to set-up services.cfg and it seems quite inefficient.  The sample file 
appears to call checks in seperate statements, for the same machine.  This 
means if you want to run 14 checks on 1 machine you have to write 14 "define 
service" statements.  If I then have 12 machines to run those on, surely 
the services.cfg file beomes huge!</FONT></SPAN></DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial size=2>I'm trying to get my 
head around the use of groups... is it possible to write a check list for a 
group rather than a host meaning that I only have to write my "define service" 
statements once.  Meaning the start of the statement would 
appear:</FONT></SPAN></DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial 
size=2>       <FONT face=Courier> define 
service {</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=235324611-18122003><FONT 
face=Courier>            <FONT 
size=2>group_name       linux-servers</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Courier 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial size=2>Rather 
than:</FONT></SPAN></DIV>
<DIV><SPAN class=235324611-18122003>      <FONT 
face=Courier>  <FONT size=2>define service {</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=235324611-18122003><FONT 
face=Courier>            <FONT 
size=2>host_name        
linuxserver1</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Courier 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial size=2>It would make sense 
for this to be possible but as I'm new to the software I'm not sure how to 
acheive this.  Also is the same true for dependencies?  Can I make 
groups of machines dependent on 1 host instead of writing dependencies for every 
machine?</FONT></SPAN></DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial size=2>Any help and 
assistance you can provide would be greatly appreciated!</FONT></SPAN></DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial size=2>Thanks in 
advance</FONT></SPAN></DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=235324611-18122003><FONT face=Arial size=2>Chris 
Jackson</FONT></SPAN></DIV></BODY></HTML>