nagios常见错误
# 常见错误1. error: Cannot find ssl headers ||checking for SSL headers..configure:error:Cannot find ssl headers
原因是缺少:openssl-devel包,
解决办法:yum -y install openssl*
2.make: *** Error 1
make:Leaving directory '/root/tools/nagios-plugin-1.4.16/plugins'
make:*** all-rectory '/root/tools/nagios-plugins-1.4.16'
make: **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.NRPE:Uable to read output
客户端的插件获取没有拿取到数据
http://s3.运维网.com/wyfs02/M00/7F/57/wKioL1caZETxVpt4AAI8U8f6aHc950.png
排查错误步骤
页:
[1]