nagios配置常见问题的总结
大部分是源自www.itnms.net论坛一、CHECK_NRPE: Error - Could not complete SSL handshake
1.确认check_nrpe 和 nrpe daemon的版本一定要一致。
2.确认 check_nrpe和nrpe deamon端同时启用或者禁用ssl支持
检查ssl的方法rpm -aq|grep ssl
3.确认nrep.cfg可以被nrpe用户正常读取。
4.有关伪随机设备的问题。这个只会在solaris 8上出现,需要一个补丁Sun patch 112438。
5. 确定nagios主机在xinetd的 only_from中,如果没有使用xinetd,则要确认nrpe.cfg中的配置。这点其实是很容易被忘记的。
二、checking for redhat spopen problem…
nagios-plugins-1.4.9在as3 上安装问题解决--checking for redhat spopen problem
# ./configure
以后checking for redhat spopen problem… 往下不走的时候需要--enable-redhat-pthread-workaround这个参数
# ./configure--enable-redhat-pthread-workaround
三、nrpe在solaris 上安装的注意点
在make之前,需要对./src/nrpe.c进行必要的修改,否则编译会报错。
# vi ./src/nrpe.c
/* 将这些代码注释掉,因为solaris不支持如下功能。
else if(!strcmp(varvalue,”authpriv”))
log_facility=LOG_AUTHPRIV;
else if(!strcmp(varvalue,”ftp”))
log_facility=LOG_FTP;
*/
编译
# make all
在solaris 8 上安装nagios-plugins-1.4.11.tar.gz,
1.4.12版本安装不上,在老外的坛子上的建议是安装nagios-plugins-1.4.11.tar.gz
nagios安装参考诸牛的blog
http://skymax.blog.运维网.com/
http://liuyu.blog.运维网.com/
http://yahoon.blog.运维网.com/
页:
[1]