nagios 配置完,进入到网页,发现打开任何界面都报以下的错误,网上查了下,发现有些配置不正确。
It appears as though you do not have permission to view information for any of the services you requested...
解决办法:
1.进入到/usr/local/nagios/etc vi cgi.cfg
use_authentication=0 --把这个选项置为0
2.default_user_name=nagios --这个user_name置为你创建nagios的用户名
3.把下面的一些认证信息改为nagios的用户名
authorized_for_system_information=nagios
authorized_for_configuration_information=nagios
It appears as though you do not have permission to view information for any of the services you requested...
解决办法:
1.进入到/usr/local/nagios/etc vi cgi.cfg
use_authentication=0 --把这个选项置为0
2.default_user_name=nagios --这个user_name置为你创建nagios的用户名
3.把下面的一些认证信息改为nagios的用户名
authorized_for_system_information=nagios
authorized_for_configuration_information=nagios
authorized_for_system_commands=nagios
authorized_for_all_services=nagios
authorized_for_all_hosts=nagios
authorized_for_all_service_commands=nagios
authorized_for_all_host_commands=nagios
配置完成之后,你做的一些相关配置,就会图形化展示在页面中。
作此记录,用作参考
authorized_for_all_services=nagios
authorized_for_all_hosts=nagios
authorized_for_all_service_commands=nagios
authorized_for_all_host_commands=nagios
配置完成之后,你做的一些相关配置,就会图形化展示在页面中。
作此记录,用作参考
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29615265/viewspace-2131431/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29615265/viewspace-2131431/