1. 监控页面出现

It appears as though you do not havepermission to view information for any of the hosts you requested...

 

 

If you believe this is an error, check theHTTP server authentication requirements for accessing this CGI

and check the authorization options in yourCGI configuration file.

 

 

1、修改/etc/cgi.cfg

vi   /usr/local/nagios/etc/cgi.cfg

 

use_authentication=1 #1修改为0,保存

[email=root@nagios#/service]root@nagios#/service[/email]nagios restart