icinga碰到服务问题!急
公司一直使用的是nagios,自己搭建了icinga,想看看不同。搭建完成后导入了nagios的service和command等等配置文件,检查启动都没有问题,在web页面下tcp的服务检查全都不可用。
不知道这是什么情况。
求大神帮忙~
tcp定义
# 'check_tcp' command definition
define command{
command_name check_tcp
command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$
} 这是service.cfg中的定义项
define service {
use linux-service
hostgroup_name *
service_description tcp-80
check_command check_tcp!80!-w 5 -c 10 -t 30
}
define service {
use linux-service
hostgroup_name *
service_description tcp-6601
check_command check_tcp!6601!-w 5 -c 10 -t 30
}
define service {
use linux-service
hostgroup_name *
service_description tcp-6261
check_command check_tcp!6261!-w 5 -c 10 -t 30
} 居然没人回复。。。心都凉了 最后发现是nrpe的库文件缺失。
#yum whatprovides libcrypto.so.6
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
openssl098e-0.9.8e-17.el6.centos.2.i686 : A compatibility version of a general cryptography and TLS library
Repo : 163
Matched from:
Other : libcrypto.so.6
重新装了openssl098e
就好了。
:wink:
315jcdd.com集成吊顶tscndd.com 集成墙面tscnqm.com
页:
[1]