nagios安装好后,通过网页访问,出现如下错误:
无权查看任何主机的信息。 请检查HTTP服务器关于该CGI的访问权限设置。
解决办法:
vi /usr/local/nagios/etc/cgi.cfg
将use_authentication的值改为0.
use_authentication=0
然后重启nagios服务
service nagios restart
还有另外一种可能:
配置文件中的hostname称service_description使用了中文导致的。
记住:hostname和service_description 都最好不要使用中文哦