<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Hello Forum,</FONT></DIV>
<DIV><FONT face=Arial size=2>I tried to run Nagios for the first time using the
command below</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[<STRONG>root@nms etc]#
/usr/local/nagios/bin/nagios -v
/usr/local/nagios/etc/nagios.cfg</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>but got the following error </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Nagios 2.0b1<BR>Copyright (c) 1999-2004 Ethan
Galstad (</FONT><A href="mailto:nagios@nagios.org"><FONT face=Arial
color=#000000 size=2>nagios@nagios.org</FONT></A><FONT face=Arial
size=2>)<BR>Last Modified: 12-15-2005<BR>License: GPL</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Reading configuration data...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>Error: Invalid hostgroup object
directive 'contact_groups'.<BR>Error: Could not add object property in file
'/usr/local/nagios/etc/hostgroups.cfg' on line 5.</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><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><FONT face=Arial size=2> Check your configuration
file(s) to ensure that they contain valid<BR> directives
and data defintions. If you are upgrading from a
previous<BR> version of Nagios, you should be aware that
some variables/definitions<BR> may have been removed or
modified in this version. Make sure to read<BR>
the HTML documentation regarding the config files, as well as
the<BR> 'Whats New' section to find out what has
changed.<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My hostgroup.cfg file is shown below </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG># 'novell-servers' host group
definition<BR>define hostgroup{<BR>
hostgroup_name
database-servers<BR>
alias Novell
Servers<BR> contact_groups
datacenter-admins<BR>
members
excellence<BR>
}<BR></STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can anyone tell me what I am doing
wrong?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Efe Ohimor<BR>ipNX Nigeria Limited,<BR>4,Balarabe
Musa Crescent,<BR>Victoria Island,<BR>Lagos.<BR>Tel :4619943-6 ext
1216<BR></FONT></DIV></BODY></HTML>