监控软件nagios错误总结
1.安裝好nagios軟件后點擊任意頁面報錯
?? It appears as though you do not have permission to view information for any of the hosts you requested...
解決方法:
[root@tong1 conf]# vim /usr/local/nagios-4.0.8/etc/cgi.cfg?
use_authentication=0?????? --將1改為0,不用認證
[root@tong1 conf]# /etc/init.d/nagios restart
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.
[root@tong1 conf]#
2.在nagios頁面點擊Map菜單不顯示圖
解決方法:
/usr/local/nagios-4.0.8/sbin/目錄下沒有tatusmap.cg文件.
在php環境中必須安裝gd庫,再重新編譯nagios就可以了.
?
3.用nrpe檢測端口出現異常
??? CHECK_NRPE:?Error?-?Could?not?complete?SSL?handshake.
?
解決方法:
(1).被控端iptables過濾
(2).指定監控端能訪問(在被控端修改)
vim /etc/xinetd.d/nrpe
??????? only_from?????? = 127.0.0.1 192.168.1.247???? --添加監控端的IP地址
(3).修改nrpe配置文件
vim /usr/local/nagios-plugins-2.0.3/etc/nrpe.cfg
allowed_hosts=127.0.0.1,192.168.1.247???? --添加監控端的IP地址
4.被監控主機老是出現:Error: Service Status Not Found!
??? 在監控端有時看到被監控主機,有時自動消失,打開主機時出現Error: Service Status Not Found!
出現提示.
解決方法:
??? 是因為在重啟nagios服務時,進程沒有完全終止所以出現異常。
[root@tong1 objects]# /etc/init.d/nagios stop
Stopping nagios:. done.
[root@tong1 objects]# pkill? nagios
[root@tong1 objects]#
總結
以上是生活随笔為你收集整理的监控软件nagios错误总结的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 我已经把servlet-api.jar加
- 下一篇: LeetCode - Palindrom