<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=441571516-17072003><FONT face=Arial color=#0000ff
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=441571516-17072003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=441571516-17072003><FONT face=Arial color=#0000ff size=2>This
is the service definition that I am using.</FONT></SPAN></DIV>
<DIV><SPAN class=441571516-17072003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=441571516-17072003><FONT face=Arial color=#0000ff size=2>#
Service definition<BR>define
service{<BR>
use
generic-service ; Name of
service template to use</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=441571516-17072003><FONT face=Arial color=#0000ff
size=2>
hostgroup_name
web-servers,dns-servers,<BR>
service_description
eth0 Check<BR>
is_volatile
0<BR>
check_period
24x7<BR>
max_check_attempts
3<BR>
normal_check_interval
3<BR>
retry_check_interval
1<BR>
contact_groups
nagios<BR>
notification_interval
3<BR>
notification_period
24x7<BR>
notification_options
c<BR>
check_command
check_nrpe_eth0<BR>
}</FONT></SPAN></DIV>
<DIV><SPAN class=441571516-17072003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=441571516-17072003><FONT face=Arial color=#0000ff size=2>define
service{ <-- is line 202 of the services.cfg.</FONT></SPAN></DIV>
<DIV><SPAN class=441571516-17072003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=441571516-17072003><FONT face=Arial color=#0000ff size=2>Stuart
Folo</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Hochberg, Keith
[mailto:Keith.Hochberg@mtvi.com] <BR><B>Sent:</B> Friday, July 18, 2003 1:12
AM<BR><B>To:</B> Folo, Stuart (ISS Tokyo);
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users]
hostgroup_name with in the services.cfg file<BR><BR></FONT></DIV>
<DIV><SPAN class=876131016-17072003><FONT face=Arial color=#0000ff size=2>Can
you include the service definition? more importantly line 202 of
services.cfg. The syntax is hostgroup1,hostgroup2,etc...
</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Folo, Stuart
(ISS Tokyo) [mailto:SFolo@iss.net] <BR><B>Sent:</B> Thursday, July 17, 2003
11:44 AM<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B>
[Nagios-users] hostgroup_name with in the services.cfg
file<BR><BR></FONT></DIV>
<DIV>
<DIV align=left>
<DIV><SPAN class=257241104-10042003><FONT face=Arial size=2><SPAN
class=866213615-17072003>Hello,</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=257241104-10042003><FONT face=Arial size=2><SPAN
class=866213615-17072003></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=257241104-10042003><FONT face=Arial size=2><SPAN
class=866213615-17072003>I am currently having issues with the
hostgroup_name definition with in the services.cfg file. I can successfully
add a single hostgroup to a service, but if I add another hostgroup to the
service, I get the following error:</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=257241104-10042003><FONT face=Arial size=2><SPAN
class=866213615-17072003></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=257241104-10042003><FONT face=Arial size=2><SPAN
class=866213615-17072003>Nagios 1.1<BR>Copyright (c) 1999-2003 Ethan Galstad
(<A href="mailto:nagios@nagios.org">nagios@nagios.org</A>)<BR>Last Modified:
06-02-2003<BR>License: GPL</SPAN></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=257241104-10042003><FONT face=Arial size=2><SPAN
class=866213615-17072003>Reading configuration
data...</SPAN></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=257241104-10042003><FONT face=Arial size=2><SPAN
class=866213615-17072003>Error: Service description, host name, or check
command is NULL</SPAN></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=257241104-10042003><FONT face=Arial size=2><SPAN
class=866213615-17072003>Error: Could not register service (config file
'/usr/local/nagios/etc/services.cfg', line 202)</SPAN></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><SPAN
class=257241104-10042003><FONT size=+0><SPAN class=866213615-17072003>
<DIV><BR><FONT face=Arial size=2>***> One or more problems was
encountered while processing the config files...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=866213615-17072003><FONT face=Arial size=2>I have searched
the mailing lists without getting a successful fix for this problem. Any
suggestions or corrections would be greatly appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=866213615-17072003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=866213615-17072003><FONT face=Arial size=2>Stuart
Folo</FONT></SPAN></SPAN></FONT></SPAN></DIV></DIV></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>