Problems with the web interface of Nagios
Voigt Thomas
Thomas.Voigt at netkom.de
Mon Jun 19 08:39:56 CEST 2006
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
More information about the Users
mailing list