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.
use_authentication=1 #把1修改为0,保存
root@nagios#/etc/init.d/nagios restart
2、再次访问就能正常访问了