<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2656.60">
<TITLE>RE : [Nagios-users] config file problems</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I also have nagios 2.0b2 and 2.0b3 on solaris 9 and it works perfectly.</FONT>
</P>

<P><FONT SIZE=2>The syntax of your define section is good as I have the same. How do you check your configuration ? Did you understand that your command line is referencing a 'main configuration file', where you find references to 'object definition files'. These two files don't have the same syntax. If you check an object definition file via the '-v' switch, it won't work and (I just tried it with my timeperiods.cfg file), you get an error message like this one :</FONT></P>

<P><FONT SIZE=2>Error in configuration file '/p2/nagios/etc/timeperiods.cfg' - Line 6 (NULL value)</FONT>
</P>

<P><FONT SIZE=2>I think it is what you are doing. If I am right, look in the documentation, chapter 'Configuring Nagios'/'Configuration overview'. There, you will find an explanation of the different types of configuration files and their relations.</FONT></P>

<P><FONT SIZE=2>François</FONT>
</P>

</BODY>
</HTML>