<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
p.MsoToc1, li.MsoToc1, div.MsoToc1
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Arial;
font-weight:bold;}
p.MsoToc2, li.MsoToc2, div.MsoToc2
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:Arial;
font-weight:bold;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Did you notice the error message given to
you? The –v flag is very good at letting you know what it sees as a
problem.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>You’re using the wrong config file
in your command, just like it tells you in the error statement. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>-Lori<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Mehmet Fatih AKBULUT<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, November 10, 2005
7:07 PM<br>
<b><span style='font-weight:bold'>To:</span></b>
nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Nagios-users] nagios -v
minimal.cfg ???</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>[root@localhost nagios]# nagios -v minimal.cfg<br>
<br>
Nagios 2.0b4<br>
Copyright (c) 1999-2005 Ethan Galstad (<a href="http://www.nagios.org">http://www.nagios.org</a>)<br>
Last Modified: 08-02-2005<br>
License: GPL<br>
<br>
Reading configuration data...<br>
<br>
Error in configuration file '/etc/nagios/minimal.cfg' - Line 34 (NULL value)<br>
<br>
***> The name of the main configuration file looks suspicious...<br>
<br>
Make sure you are specifying the name of the MAIN
configuration file on<br>
the command line and not the name of another
configuration file. The<br>
main configuration file is typically
'/usr/local/nagios/etc/nagios.cfg'<br>
<br>
***> One or more problems was encountered while processing the config
files...<br>
<br>
<br>
lines startin from 34 :<br>
<br>
define timeperiod{<br>
timeperiod_name 24x7<br>
alias 24 Hours A
Day, 7 Days A Week<br>
sunday 00:00-24:00<br>
monday 00:00-24:00<br>
tuesday 00:00-24:00<br>
wednesday 00:00-24:00<br>
thursday 00:00-24:00<br>
friday 00:00-24:00<br>
saturday 00:00-24:00<br>
}<br>
<br>
<br>
WHAT SHOULD I DO NOW ???<br>
<br>
help please :)<o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>