Problems with the web interface of Nagios

REMY Julien julien.remy at ohs.asso.fr
Mon Jun 19 09:49:25 CEST 2006


I looked at all the file httpd.conf. I do not have anything which refers to nagios. Only ScriptAlias is:

SciptAlias /cgi-bin/ /var/www/cgi-bin. 

That's all.

I tried to copy the nagios.conf files in /etc/httpd/application and to put Include but it is similar.

When I reboot httpd, the message says that : 

The ScriptAlias Directive in nagios.conf will probably never match because it overlaps an earlier ScriptAlias. 

However I did not find anything in the file httpd.conf

-----Message d'origine-----
De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Voigt Thomas
Envoyé : lundi 19 juin 2006 08:40
À : nagios-users at lists.sourceforge.net
Objet : Re: [Nagios-users] Problems with the web interface of Nagios


Hi all!

REMY Julien wrote:


> 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.

Maybe, that your Apache already had a config for nagios before and you
are now
defining it a second time.

Check your Apache config files for another occurance(s) of "nagios" or
so! 

Another pitfall which scared me in the past:

Some Apaches are configured to include EVERY .conf file in the Apache
configuration
directory. If you include it extra by an "include ..." statement, you'll
have it twice and
this also gives the above error.

Workaround:
Put your nagios.conf in an extra directory (I like to put it for example
in /etc/apache2/application/nagios/)
and then include it by an "include ..." statement.



-- 
Kind regards

Thomas Voigt


_______________________________________________
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


_______________________________________________
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