Problems with the web interface of Nagios

REMY Julien julien.remy at ohs.asso.fr
Mon Jun 19 11:16:36 CEST 2006


I found the error. In my file httpd.conf, there was 2 Include directive : 

Include conf.d/*.cgi
Include /etc/httpd/conf.d/cgi/

When I restart Nagios, and httpd, there are no error messages. But if I connect me in Nagios, in all menus, characters are posted.

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