歡迎您光臨本站 註冊首頁

icinga碰到服務問題!急

←手機掃碼閱讀     火星人 @ 2014-03-03 , reply:0

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

[火星人 ] icinga碰到服務問題!急已經有908次圍觀

http://coctec.com/docs/service/show-post-108.html