Debian, Nagios, CGI, Good config... Still errors !!

Matthijs Macaré matthijs.macare at xs4all.nl
Sat Jan 22 01:04:56 CET 2005


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.

When I set all the permissions on * in cgi.cfg and go to:

 Service Detail
 Host Detail
 Status Overview
 Status Summary
 Status Grid
 Status Map
 3-D Status Map


I get the error again. All the .htaccess files are good, permission on the
files are good.

Things as:  Service Problems
 Host Problems
 Network Outages

 Comments
 Downtime

 Process Info
 Performance Info
 Scheduling Queue

Are accesable but there are no things displayed that's been monitoring. Only
the DefaultGateway that Nagios has discovered by installing it is beeing
seen and has been checked for ping but in items like Report it isn't
displayed, I also can't see the details of that devices because of
permissions.

I don't think its an apache issue.  I created my own hello.cgi and put it
in the same directory as the nagios scripts and that works fine. also the
perlcheck works great !
I've checked and rechecked that I don't have any typos in the various cfg
files that require a username to access certain nagios cgi's.


What can be wrong ?? Is the problem in the APT-GET install of nagios ?

I hope someone will help me because I can't get out and hear great sounds of
nagios !

Thanks for any help !! 





-------------------------------------------------------
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