It appears as though you do not have permission

Rusch, Daniel Daniel.Rusch at fotf.org
Wed Jul 26 20:00:09 CEST 2006


All,
 
Goal: to limit what services and hosts individuals can see to the hosts
that they are a contact for.
 
The manual states:
 
  
*	An authenticated user is an someone who has authenticated to the
web server with a username and password and has been granted access to
the Nagios web interface. 
*	An authenticated contact is an authenticated user whose username
matches the short name of a contact definition in your object
configuration file(s)
<http://nagios.sourceforge.net/docs/2_0/configobject.html> .
 
 
I have nagios set up so that users must login to get to the main page.
That works
 
I have a user "myuser" that is a contact (the myuser name is a short
name of a contact) for several hosts. myuser logins into the nagios site
gets to the main page then clicks on the host detail or service detail
and gets this error:
 
"It appears as though you do not have permission to view information for
any of the services you requested"
 
According to the definitions above myuser should be able to see the
hosts or services they are a contact for?  
 
thoughts?
 
below is my httpd.conf file
 
 
 
 
 
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
<Directory "/usr/local/nagios/sbin/">
  <Files cmd.cgi>
     AuthName "Nagios Command Access"
     AuthType Basic
     AuthUserFile /usr/local/nagios/etc/.htpasswd.users
     require valid-user
  </Files>
   Options ExecCGI
   Order allow,deny
   Allow from all
</Directory>
 

Alias /nagios /usr/local/nagios/share/
<Directory "/usr/local/nagios/share">
    Options None
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
    AuthName "Nagios Access"
    AuthType Basic
    AuthUserFile /usr/local/nagios/etc/.htpasswd.users
    require valid-user
</Directory>

Alias /etc/ "/usr/local/nagios/etc/"
<Directory "/usr/local/nagios/etc/">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
 
Alias /error/ "/usr/local/nagios/error/"
<Directory "/usr/local/nagios/error/">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

 
Thank you,
 
Daniel G. Rusch
x2027
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060726/b1aa19ab/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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