<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Problem in configuring the Nagios</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I would check the cgi.cfg first.....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Have you enabled Authentication in the
cgi.cfg?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>grep ^us
/usr/local/etc/nagios/cgi.cfg<BR>use_authentication=1<BR></FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2>Have you assigned authorization access to any
user?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>grep ^auth
/usr/local/etc/nagios/cgi.cfg<BR>authorized_for_system_information=ops<BR>authorized_for_configuration_information=ops<BR>authorized_for_system_commands=ops<BR>authorized_for_all_services=ops<BR>authorized_for_all_hosts=ops<BR>authorized_for_all_service_commands=ops<BR>authorized_for_all_host_commands=ops</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>You may need to also set up an Apacge User
Name/Passwd using Apache's htaccess binary.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Declan.</DIV>
<DIV><BR></DIV></FONT>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mdash@juniper.net href="mailto:mdash@juniper.net">Mrutyunjaya
Dash</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=nagios-users@lists.sourceforge.net
href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, November 22, 2005 2:40
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Nagios-users] Problem in
configuring the Nagios</DIV>
<DIV><BR></DIV><!-- Converted from text/rtf format -->
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>Hi Nagios
Experts,</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>I am very much new to
nagios, I have just untared, compiled, make and installed.</FONT></SPAN><SPAN
lang=en-us></SPAN><SPAN lang=en-us> <FONT face=Tahoma size=2>I would just let
you all know how exactly I installed</FONT></SPAN><SPAN
lang=en-us></SPAN><SPAN lang=en-us></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>./configure
--prefix=/opt/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios
--with-nagios-user=nagios --with-nagios-group=nagios</FONT></SPAN><SPAN
lang=en-us></SPAN><SPAN lang=en-us></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>make
all</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>make
install</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>make
install-init</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>make
install-commandmode</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>make
install-config</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>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.</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>The configuration
whatever I have made in apache configuration file for nagios is like as
below.</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>Alias /nagios
/opt/nagios/share</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2><Directory
"/opt/nagios/share"></FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>
Options None</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>
AllowOverride AuthConfig</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>
Order allow,deny</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>
Allow from all</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma
size=2></Directory></FONT></SPAN><SPAN lang=en-us></SPAN><SPAN
lang=en-us></SPAN></P>
<P align=left><SPAN lang=de><FONT face=Tahoma size=2>ScriptAlias
/nagios/cgi-bin/ "/opt/nagios/sbin/"</FONT></SPAN><SPAN
lang=en-us></SPAN><SPAN lang=en-us></SPAN><SPAN lang=de></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2><Directory
"/opt/nagios/sbin"></FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>
AllowOverride None</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>
Options ExecCGI</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>
Order allow,deny</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>
Allow from all</FONT></SPAN></P>
<P align=left><SPAN lang=de><FONT face=Tahoma
size=2></Directory></FONT></SPAN><SPAN lang=en-us></SPAN><SPAN
lang=en-us></SPAN><SPAN lang=de></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Tahoma size=2>Please help me to
resolve this issue.</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN
lang=en-us> <FONT face=Tahoma size=2> </FONT></SPAN></P>
<P align=left><I><SPAN lang=en-us></SPAN></I><A name=""><I><SPAN
lang=en-us><FONT face=Tahoma size=2>Regards,</FONT></SPAN></I></A></P>
<P align=left><I><SPAN lang=en-us><FONT face=Tahoma size=2>Mrutyunjaya
Dash</FONT></SPAN></I><SPAN lang=en-us></SPAN><SPAN lang=en-us></SPAN></P>
<P align=left><SPAN lang=en-us></SPAN></P>
<P>
<HR>
<P></P>No virus found in this incoming message.<BR>Checked by AVG Free
Edition.<BR>Version: 7.1.362 / Virus Database: 267.13.5/177 - Release Date:
21/11/2005<BR></BLOCKQUOTE></BODY></HTML>