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 

   

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

     

wKioL1caZETxVpt4AAI8U8f6aHc950.png


排查错误步骤 


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值