Problems with the web interface of Nagios

REMY Julien julien.remy at ohs.asso.fr
Fri Jun 16 14:48:01 CEST 2006


In the file nagios.conf : 

ScriptAlias /nagios/cgi/ /usr/lib/nagios/cgi/
<Directory "/usr/lib/nagios/cgi/">
AllowOverride
AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</directory>
Alias /nagios /usr/share/nagios/
<Directory "/usr/share/nagios/">
allowOverride
AuthConfig
Order allow,deny
Allow from all
</Directory>

In httpd.conf : Include /etc/httpd/conf.d/nagios.conf

When I do : apachectl configtest, the message is : 

The scriptalias directive in nagios.conf will probably never match because it overlaps an earlier ScriptAlias.
The Alias directive in nagios.conf will probably never match because it overlaps an earlier Alias.


-----Message d'origine-----
De : Friedrich Clausen [mailto:fred at derf.nl] 
Envoyé : vendredi 16 juin 2006 14:16
À : REMY Julien
Cc : Voigt Thomas; nagios-users at lists.sourceforge.net
Objet : Re: [Nagios-users] Problems with the web interface of Nagios

Hi,

REMY Julien wrote:
> No I don't have ScriptAlias /nagios/cgi-bin...
> 
> Can you say me what I must put in the file ?

I also notice you are running RHEL 4, are you using a rpm for Nagios? If 
you use a rpm from DAG (http://dag.wieers.com/packages/) then there will 
be a /etc/httpd/conf.d/nagios.conf which you can just include in the 
Apache config. Eg, in the main server or a virtual host container do 
(whichever is appropriate):

Include /etc/httpd/conf.d/nagios.conf

(Remember to do "apachectl configtest" to check for errors)

But in this case it seems that it is a file system permissions related 
problem. As Thomas recommends, I would check that the cgi's are 
executable by the Nagios user.

Cheers,

Fred.


_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list