Debian, Nagios, CGI, Good config... Still errors !!
Marc Powell
marc at ena.com
Sat Jan 22 01:54:03 CET 2005
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Matthijs Macaré
> Sent: Friday, January 21, 2005 6:05 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Debian, Nagios, CGI, Good config... Still errors
> !!
>
> After fixing a MySQL-bug in the 40.23-1 and upgraded to 4.0.23-3 I ran
> into
> following problem and I did before with the text-version.
>
> Anyone else having problems getting Nagios cgi scripts to run on Debian
> Sarge. I installed it this and previous week but it's not running so
> good.
> But I
>
> I get the message:
> "It appears as though you do not have permission to view information for
> any of the hosts 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."
>
> No matter what I've tried, I can't get around this, whether I enable or
> disable authentication. Anyone know if the newest deb package for
> Nagios is broken?
>
> I currently have authentication turned on. It appears to be working
> fine, as I am requested to log in with the nagiosadmin account when
> first accessing the web site or see "tactical overview". But then, any
> link
> that accesses
> status.cgi (and some others) come back with the above message.
>
Just some common pointers to maybe get you going in the right direction:
Do you have the .htaccess file in nagios' sbin directory or just the share directory? It needs to be in the sbin directory.
When you log in, does nagios show you as logged in with that username? (upper left, Logged In As <fill in the blank>)
Is the above user a member of the contactgroup for the hosts that you are expecting to see?
Have you reviewed the documentation on configuring authorization for the CGI's to make sure you didn't miss a step? http://nagios.sourceforge.net/docs/2_0/cgiauth.html Since you've installed from a package, you'll probably need to do some mental transformations to get the paths right.
--
Marc
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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