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

安装好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即可。

重启nagios服务后页面恢复正常。
posted @ 2011-12-22 14:50  飞鸿无痕  阅读(182)  评论(0编辑  收藏  举报