错误configure: error: Please fix the library issues listed above and tryagain.

解决方法:yum install -y pango*

 

 

 

 

错误

Can't locate ExtUtils/MakeMaker.pm in @INC(@INC contains: /usr/local/lib/perl5                                                                                        /usr/local/share/perl5 /usr/lib/perl5/vendor_perl/usr/share/perl5/vendor_perl /                                                                                       usr/lib/perl5/usr/share/perl5 .) at Makefile.PL line 1.

BEGIN failed--compilation aborted atMakefile.PL line 1.

make[3]: *** [perl-piped/Makefile] 错误 2

make[3]: Leaving directory`/usr/local/src/rrdtool-1.4.9/bindings'

make[2]: *** [all-recursive] 错误 1

make[2]: Leaving directory`/usr/local/src/rrdtool-1.4.9/bindings'

make[1]: *** [all-recursive] 错误 1

make[1]: Leaving directory`/usr/local/src/rrdtool-1.4.9'

make: *** [all] 错误 2

[root@rs2 rrdtool-1.4.9]# echo

解决方法:yum install –y perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker

yum -y installperl-ExtUtils-MakeMaker



监控出现

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

If you believe this is an error, check theHTTP server authentication requirements for accessing this CGI
and check the authorization options in your CGI configuration file.

 

该项提高安全性,是用来验证管理账户,如果后台账户不是nagiosadmin,就会报错,可以修改cgi文件,把里面的nagiosadmin改成你现在的用户名,或者改下面1改为0

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

 

 

 

解决办法:

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

 

use_authentication=1改为use_authentication=0

 

 

 

make install出现

/usr/bin/install: invalid group`nagios-plugins.spec'

make[2]: *** [install-libexecPROGRAMS]Error 1

make[2]: Leaving directory `/root/nagios-plugins-2.1.2/plugins'

make[1]: *** [install-am] Error 2

make[1]: Leaving directory`/root/nagios-plugins-2.1.2/plugins'

 

 

./configure 时复制错了