- 论坛徽章:
- 0
|
nagios安装好后.从浏览器进入
Service Detail
Host Detail
Hostgroup Overview
Hostgroup Summary
Hostgroup Grid
点击以上这几个链接,出现如下的错误:
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.
在apache中添加了如下信息:
ScriptAlias /nagios/cgi-bin "/home/nagios/sbin/"
<Directory "/home/nagios/sbin/">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /home/nagios/etc/htpasswd.users
Require valid-user
</Directory>
Alias /nagios "/home/nagios/share/"
<Directory "/home/nagios/share/">
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /home/nagios/etc/htpasswd.users
Require valid-user
</Directory>
请问是怎么回事? |
|