Newbie needs cgi help (long)
Joel Vande Berg
suse at phoboslabs.com
Tue Jan 28 14:05:26 CET 2003
Mike,
No luck. I'm not even getting queried for username/password and the main
nagios page shows me logged in as ????
Joel
>
> go to a command line and enter chmod 777 cgi.cfg
>
> I had this problem and it vanished when I performed this function
>
> Mike
> -----Original Message-----
> From: Joel Vande Berg
> To: Nagios-users at lists.sourceforge.net
> Sent: 1/28/03 7:37 AM
> Subject: [Nagios-users] Newbie needs cgi help (long)
>
> 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
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
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