<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Nachricht</TITLE>
<META content="MSHTML 6.00.2800.1515" name=GENERATOR><!--[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-face {
font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
P {
FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 {
FONT-WEIGHT: normal; COLOR: blue; FONT-STYLE: normal; FONT-FAMILY: Tahoma; TEXT-DECORATION: none; mso-style-type: personal-reply
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=035555814-22112005><FONT face=Arial color=#0000ff
size=2>Perhaps you shold read the nagios docs and configure nagios correctly,
before at least starting it with</FONT></SPAN></DIV>
<DIV><SPAN class=035555814-22112005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=035555814-22112005><FONT face=Arial color=#0000ff
size=2>'...bin/nagios -d ...etc/nagios.cfg'</FONT></SPAN></DIV>
<DIV><SPAN class=035555814-22112005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=035555814-22112005><FONT face=Arial color=#0000ff size=2>The
'minimal' -configuration only shows how to configure nagios by example, you
still have to set up the example-config files to get nagios working.
</FONT></SPAN></DIV>
<DIV><SPAN class=035555814-22112005><FONT face=Arial color=#0000ff
size=2>Calculate some time to get an idea of how nagios is configured and how it
runs. It wil NOT run "out-of-the-box"!!</FONT></SPAN></DIV>
<DIV><SPAN class=035555814-22112005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=035555814-22112005><FONT face=Arial color=#0000ff
size=2>For your specific problem, it seems that the command is configured
multiple, maybe you included more than one "check_command.cfg" -file in
"nagios.cfg"?? Or you redefined this command?</FONT></SPAN></DIV>
<DIV><SPAN lang=de><B><FONT face=Arial size=1>Thomas Zimmer</FONT></B></SPAN>
<BR><SPAN lang=de><FONT face=Arial size=1>Produktservice &
Betrieb</FONT></SPAN> <BR><SPAN lang=de><FONT face=Arial size=1>Betrieb &
Support</FONT></SPAN> <BR><SPAN lang=de><FONT face=Arial size=1>Sal. Oppenheim
jr. & Cie., Frankfurt a. Main</FONT></SPAN> </DIV>
<DIV><SPAN lang=de><FONT face=Arial size=1>Internet: <A
href="http://www.oppenheim.de/">http://www.oppenheim.de</A></FONT></SPAN>
<BR><SPAN lang=de><FONT face=Arial color=#000000 size=1>E-Mail:
thomas.zimmer@oppenheim.de</FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B> Mrutyunjaya Dash
[mailto:mdash@juniper.net] <BR><B>Gesendet:</B> Dienstag, 22. November 2005
15:58<BR><B>An:</B> Zimmer, Thomas (BB) Frankfurt/M.;
nagios-users@lists.sourceforge.net<BR><B>Betreff:</B> RE: [Nagios-users]
Problem in configuring the Nagios<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Hi,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">This is the out put
I got when I executed the command<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN lang=DE
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">[root@cvtracker
nagios]# bin/nagios -v etc/nagios.cfg<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN lang=DE
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Nagios
2.0b4<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Copyright (c)
1999-2005 Ethan Galstad (http://www.nagios.org)<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Last Modified:
08-02-2005<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">License:
GPL<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Reading
configuration data...<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Error: Command
'check-host-alive' has already been defined<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Error: Could not
register command (config file '/opt/nagios/etc/minimal.cfg', starting on line
76)<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">***> One or more
problems was encountered while processing the config
files...<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">
Check your configuration file(s) to ensure that they contain
valid<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">
directives and data defintions. If you are upgrading from a
previous<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">
version of Nagios, you should be aware that some
variables/definitions<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">
may have been removed or modified in this version. Make sure to
read<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">
the HTML documentation regarding the config files, as well as
the<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">
'Whats New' section to find out what has changed.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Regards,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; 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>Thomas.Zimmer@oppenheim.de<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Tuesday, November 22, 2005 8:24
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> Re: [Nagios-users] Problem in
configuring the Nagios</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">I assume you
configured Nagios ,and started the process?</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Did you verify your
config with '..../bin/nagios -v ....etc/nagios.cfg'
?</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Greetz.</SPAN></FONT><o:p></o:p></P></DIV>
<BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt; MARGIN-RIGHT: 0in">
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><FONT face=Tahoma
size=2><SPAN lang=DE
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Ursprüngliche
Nachricht-----<BR><B><SPAN style="FONT-WEIGHT: bold">Von:</SPAN></B>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <B><SPAN
style="FONT-WEIGHT: bold">Im Auftrag von </SPAN></B>Mrutyunjaya
Dash<BR><B><SPAN style="FONT-WEIGHT: bold">Gesendet:</SPAN></B> Dienstag,
22. November 2005 15:40<BR><B><SPAN style="FONT-WEIGHT: bold">An:</SPAN></B>
nagios-users@lists.sourceforge.net<BR><B><SPAN
style="FONT-WEIGHT: bold">Betreff:</SPAN></B> [Nagios-users] Problem in
configuring the Nagios</SPAN></FONT><SPAN lang=DE><o:p></o:p></SPAN></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><!-- Converted from text/rtf format -->Hi
Nagios Experts,</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">I am very much new to nagios, I
have just untared, compiled, make and installed.</SPAN></FONT> <FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">I
would just let you all know how exactly I
installed</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">./configure
--prefix=/opt/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios
--with-nagios-user=nagios
--with-nagios-group=nagios</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">make
all</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">make
install</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">make
install-init</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">make
install-commandmode</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">make
install-config</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Now when I trying to access the
nagios interface, I am able to navigate to the nagios main page but the cgi
file are not working.</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">The configuration whatever I
have made in apache configuration file for nagios is like as
below.</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Alias /nagios
/opt/nagios/share</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><Directory
"/opt/nagios/share"></SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Options
None</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
AllowOverride AuthConfig</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Order
allow,deny</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Allow from
all</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"></Directory></SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN lang=DE
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">ScriptAlias /nagios/cgi-bin/
"/opt/nagios/sbin/"</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><Directory
"/opt/nagios/sbin"></SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
AllowOverride None</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Options
ExecCGI</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Order
allow,deny</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Allow from
all</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN lang=DE
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"></Directory></SPAN></FONT><o:p></o:p></P>
<P><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Please help me to resolve this
issue.</SPAN></FONT> <FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> </SPAN></FONT><o:p></o:p></P>
<P><A name=""><I><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Tahoma">Regards,</SPAN></FONT></I></A><o:p></o:p></P>
<P><I><FONT face=Tahoma size=2><SPAN
style="FONT-SIZE: 10pt; FONT-STYLE: italic; FONT-FAMILY: Tahoma">Mrutyunjaya
Dash</SPAN></FONT></I><o:p></o:p></P></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></HTML>