Title: Problem in configuring the Nagios
I would check the cgi.cfg first.....
 
Have you enabled Authentication in the cgi.cfg?
 
grep ^us /usr/local/etc/nagios/cgi.cfg
use_authentication=1
 
Have you assigned authorization access to any user?
 
grep ^auth /usr/local/etc/nagios/cgi.cfg
authorized_for_system_information=ops
authorized_for_configuration_information=ops
authorized_for_system_commands=ops
authorized_for_all_services=ops
authorized_for_all_hosts=ops
authorized_for_all_service_commands=ops
authorized_for_all_host_commands=ops
 
You may need to also set up an Apacge User Name/Passwd using Apache's htaccess binary.
 
Declan.

----- Original Message -----
Sent: Tuesday, November 22, 2005 2:40 PM
Subject: [Nagios-users] Problem in configuring the Nagios

Hi Nagios Experts,

I am very much new to nagios, I have just untared, compiled, make and installed. I would just let you all know how exactly I installed

./configure --prefix=/opt/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-group=nagios

make all

make install

make install-init

make install-commandmode

make install-config

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.

The configuration whatever I have made in apache configuration file for nagios is like as below.

Alias /nagios /opt/nagios/share

<Directory "/opt/nagios/share">

    Options None

    AllowOverride AuthConfig

    Order allow,deny

    Allow from all

</Directory>

ScriptAlias /nagios/cgi-bin/ "/opt/nagios/sbin/"

<Directory "/opt/nagios/sbin">

    AllowOverride None

    Options ExecCGI

    Order allow,deny

    Allow from all

</Directory>

Please help me to resolve this issue. 

Regards,

Mrutyunjaya Dash


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.5/177 - Release Date: 21/11/2005

Reply via email to