<div>Hi Guys,</div> <div> </div> <div>I have installed nagios 2.4 and when i run preflight check command i am getting the following error</div> <div> </div> <div>Nagios 2.4<BR>Copyright (c) 1999-2006 Ethan Galstad (<A href="http://www.nagios.org">http://www.nagios.org</A>)<BR>Last Modified: 05-31-2006<BR>License: GPL</div> <div>Reading configuration data...</div> <div>Running pre-flight check on configuration data...</div> <div>Checking services...<BR>Error: There are no services defined!<BR> Checked 0 services.<BR>Checking hosts...<BR>Error: There are no hosts defined!<BR> Checked 0 hosts.<BR>Checking host groups...<BR>Error: There are no host groups defined!<BR> Checked 0 host groups.<BR>Checking service groups...<BR> Checked 0 service groups.<BR>Checking contacts...<BR>Error: There are no
contacts defined!<BR> Checked 0 contacts.<BR>Checking contact groups...<BR>Error: There are no contact groups defined!<BR> Checked 0 contact groups.<BR>Checking service escalations...<BR> Checked 0 service escalations.<BR>Checking service dependencies...<BR> Checked 0 service dependencies.<BR>Checking host escalations...<BR> Checked 0 host escalations.<BR>Checking host dependencies...<BR> Checked 0 host dependencies.<BR>Checking commands...<BR> Checked 22 commands.<BR>Checking time periods...<BR> Checked 0 time periods.<BR>Checking extended host info definitions...<BR> Checked 0 extended host info
definitions.<BR>Checking extended service info definitions...<BR> Checked 0 extended service info definitions.<BR>Checking for circular paths between hosts...<BR>Checking for circular host and service dependencies...<BR>Checking global event handlers...<BR>Checking obsessive compulsive processor commands...<BR>Checking misc settings...</div> <div>Total Warnings: 0<BR>Total Errors: 5</div> <div> </div> <div>***> One or more problems was encountered while running the pre-flight check...</div> <div> 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.</div> <div><BR>I have checked the /usr/local/nagios/etc directory where it should be but i couldn't find any hosts,groups ...etc file in this directory.</div> <div> </div> <div>I have only these sample files bigger.cfg cgi.cfg checkcommands.cfg minimal.cfg misccommands.cfg nagios.cfg resource.cfg</div> <div> </div> <div>In nagios 2.4 we have create all these files manually or how to fix this problem</div> <div> </div> <div>Thanks<BR></div><p>
<hr size=1>Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Make PC-to-Phone Calls</a> to the US (and 30+ countries) for 2¢/min or less.