do not have permission to view information for any of the hosts you requested

问题现象:
在配置完nagios时添加了一台windows主机监控后,从web登录监控时
监控页面出现:
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.
    解决方法:
[root@nagios etc]# pwd
/usr/local/nagios/etc
[root@nagios etc]#vi  cgi.cfg 


use_authentication=1 #把1修改为0,保存 ,用户验证选项:0不验证;1验证


[root@nagios bin]# service nagios restart
Running configuration check...done.
Stopping nagios: done.
Starting nagios: done.
请使用浏览器的分享功能分享到微信等