当前位置:首页 > 操作系统 > Ios

nagios常见错误

# 常见错误


1. error: Cannot find ssl headers ||  checking for SSL headers..configure:errorCannot find ssl headers 

 

  原因是缺少:openssl-devel包,

  解决办法:yum -y install openssl*

 

2.make[2]: *** [check_http.o]Error 1

  make[2]:Leaving directory ‘/root/tools/nagios-plugin-1.4.16/plugins‘

  make[1]:*** all-rectory ‘/root/tools/nagios-plugins-1.4.16‘

  make[1]: **[all]Error2 

  

 

 原因有可能缺少了perl-devel     

  解决办法: yum install perl-devel -y 后删掉解压包,重头编译   yum install mysql* -y 

 


 3. It appears as though you do not have permission to view information for any of the server you requested 

 

 

 原因:用户的权限   nagiosadmin

查看cgi.cfg 里面包含了权限信息,看到authorized_for_all_services =xxx

authorized_for_all_hosts =xxx 

权限人  

4.Connection refused by host

 

 原因: 1.没有开服务

   2.没有关防火墙或者改防火墙

   3.没有配置nrpe

   

5.NRPEUable to read output 

   

         客户端的插件获取没有拿取到数据

     

技术分享650) this.width=650;" src="/upload/getfiles/default/2022/11/28/20221128100009034.jpg" title="屏幕快照 2016-04-23 上午1.46.24.png" />


排查错误步骤 


 


 

 



本文出自 “Doyle” 博客,请务必保留此出处http://conandoyle.blog.51cto.com/11462365/1766956

原文:http://conandoyle.blog.51cto.com/11462365/1766956


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!