问题:It appears as though you do not have permission to view information for any of the hosts you requested...
解决方法:只需将/usr/local/nagios/etc/cgi.cfg中的以下几个参数前的注释去掉,修改赋予授权用户权限:
default_user_name=nagios
authorized_for_system_information=nagiosadmin,nagios
authorized_for_configuration_information=nagiosadmin,nagios
authorized_for_system_commands=nagiosadmin,nagios
authorized_for_all_services=nagiosadmin,nagios
authorized_for_all_hosts=nagiosadmin,nagios
authorized_for_all_service_commands=nagiosadmin,nagios
authorized_for_all_host_commands=nagiosadmin,nagios
阅读(1069) | 评论(0) | 转发(0) |