Newbie needs cgi help (long)

Joel Vande Berg suse at phoboslabs.com
Tue Jan 28 13:37:25 CET 2003


I am attempting to setup Nagios using the rpms from:

ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/people/stark/nagios/

After the rpms are installed, I enabled Apache and nagios using
YaST>System>Runlevel properties and rebooted my system.  I configured
nagios to monitor a couple of hosts and it is working properly, but when I
try to access the web interface all I get is an error message regarding
permissions.

Disabling authorization in cgi.cfg allows me to access the web interface
and see that monitoring is occuring.

With authorization enabled I get the following messages:

It appears as though you do not have permission to view information for
any of the services you requested...

If you believe this is an error, check the HTTP server authentication
requirements for accessing this CGI and check the authorization options in
your CGI configuration file.

In accordance with the Nagios instructions I have attempted to .htaccess
files and htpassword users in the following locations w/o success.


Nagios file locations:

/usr/sbin/nagios
executable binaries

/etc/nagios
nagios configuration files
.htaccess htpasswd.users here

/usr/lib/nagios

/usr/lib/cgi
cgi applications
..htaccess file here.

/usr/lib/plugins
nagios plugins here

/usr/include/nagios
locations.h

/usr/share/nagios
documentation
.htaccess file here

The contents of the .htaccess file(s) are as follows:

AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/etc/nagios/htpasswd.users
require valid-user

Any and all help with this is welcome.

Thanks,

Joel Vande Berg




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list