当前位置: > Linux服务器 > 监控工具 >

nagios出现It appears as though you do not have permission的解决办法

时间:2015-03-14 22:45来源:linux.it.net.cn 作者:IT

nagios安装配置完毕后,通过网页访问,出现如下的提示:
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.

解决办法:
修改/usr/local/nagios/etc/cgi.cfg
# vi /usr/local/nagios/etc/cgi.cfg

找到use_authentication=1,将1修改为0,保存退出。
# service nagios restart
重启nagios服务,页面恢复正常。

注:
nagios为保障系统的安全性,设置了此参数,默认为1,改为0即可。 





(责任编辑:IT)
------分隔线----------------------------