溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

nagios的錯誤及解決方法

發布時間:2020-05-24 23:17:33 來源:網絡 閱讀:1090 作者:心碎de無辜 欄目:移動開發
Nagios的錯誤及解決方法:
1、 CHECK_NRPE: Error - Could not complete SSL handshake.
在監控端10.11
# telnet 10.100.0.18 5666
Connection closed by foreign host.
出現此錯誤,證明監控端不能與被監控端的nrpe聯系,
 
10.100.0.18:
# netstat –tnlp |grep 5666
tcp        0      0 10.100.0.18:5666            0.0.0.0:*                   LISTEN      18384/nrpe
手動重啟nrpe服務:kill 18384
# rm –rf /var/run/nrpe.pid  特別注意要刪除其pid文件
# /usr/local/nagios/bin/nrpe –c /usr/local/nagios/etc/nrpe.cfg –d
 重新測試:
# telnet 10.100.0.18 5666
Trying 10.100.0.18...
Connected to 10.100.0.18.
Escape character is '^]'.
此時就可以了。
2、UNKNOWN: iostat not found or is not executable by the nagios user.
Check_cpu.sh 插件出現此錯誤,有兩種情況:
(1)       沒有安裝iostat
# yum install –y sysstat
(2)       Nagios 用戶沒有權限,也就是此腳本的屬主屬組不是nagios

                 # chown nagios.nagios check_cpu.sh

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

亚洲午夜精品一区二区_中文无码日韩欧免_久久香蕉精品视频_欧美主播一区二区三区美女