我已将.htaccess文件放在Nagios html根目录和CGI根目录中,因此为了访问Web界面,用户需要一个有效的Active Directory帐户.
我遇到的问题是在/etc/nagios/cgi.cfg中说的
use_authentication=1 authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin
设置use_authentication = 0“解决”问题,但我已阅读
Also,disabling authentication causes all sorts of things to not work
because the programmers don’t want to be responsible for what happens
It’s best to use authentication and then set it up correctly 原文链接:https://www.f2er.com/linux/397470.html