温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

nagios常见错误

发布时间:2020-07-19 09:11:30 来源:网络 阅读:243 作者:Doyle_ 栏目:移动开发

# 常见错误


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 

   

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

     

nagios常见错误


排查错误步骤 



 


 

 




向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI