Problem with Links
Diego González Briones
lugonzalez at grupo-uno.com
Sat Oct 22 01:34:36 CEST 2005
There we go, thanks:
# I'm enabling BOTH, just to be sure!
ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios
ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios
<DirectoryMatch /usr/lib/cgi-bin/nagios>
Options ExecCGI
AllowOverride AuthConfig
Order Allow,Deny
Allow From All
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
require valid-user
</DirectoryMatch>
# Where the stylesheets (config files) reside
Alias /nagios/stylesheets /etc/nagios/stylesheets
# Enable this ScriptAlias if you want to enable the grouplist patch.
# See http://apan.sourceforge.net/download.html <BLOCKED::http://apan.sourceforge.net/download.html> for more info
# It allows you to see a clickable list of all hostgroups in the
# left pane of the Nagios web interface
#ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios/grouplist.cgi
# Where the HTML pages live(d)
Alias /netsaint /usr/share/nagios/htdocs
Alias /nagios /usr/share/nagios/htdocs
<DirectoryMatch /usr/share/nagios/htdocs>
Options FollowSymLinks
AllowOverride AuthConfig
Order Allow,Deny
Allow From All
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
require valid-user
</DirectoryMatch>
# END FOR NAGIOS
This file is located under /etc/apache2/conf.d/nagios
By default Debian with apt-get install nagios-common and its resources put the configuration file under this path.
Thanks for the help.
Diego.
________________________________
From: Tao Yaoning [mailto:yonienjcn at gmail.com]
Sent: Friday, October 21, 2005 1:59 PM
To: Diego González Briones
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Problem with Links
check your cgi configuration file and apache configuration, it seems that you apache couldn't find cgi virtual directory. Post configuration should be more clearly
On 10/21/05, Diego González Briones <lugonzalez at grupo-uno.com> wrote:
Hi Ross,
Actually is running and sending notifications and everything, i modified de CGI testing the location of status files and also connecting to mysql. The fact is that even using files or mysql, Nagios is not trying to update files or database, i checked mysql and there is no data and there are no files on the specified location of files.
Thanks for the help.
Diego.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051021/be0cb21a/attachment.html>
More information about the Users
mailing list