Nagios狀態長時間處於Pending的解決方法


1 nagios 守護進程引起的一系列問題
1 影響nagios web頁面收集監控信息 致使頁面出現時而收集不到服務信息
2 影響pnp查看圖形化,出圖緩慢
3 影響查看服務狀態信息,致使有時候查看不了服務狀態

解決方法
通過命令ps -ef|grep nagios.cfg確認 是否開啟多個守護進程
如果發現多個全部kill掉在重新啟動守護進程

kill -9 xxxx

原因:啟動了兩個nagios進程,可通過命令ps -ef|grep nagios.cfg確認。全kill掉之后再啟動就可以了。也可以在nagios啟動腳本(/etc/init.d/nagios)中加入判 斷,start時如果已有nagios進程在運行則強制kill,kill成功再繼續啟動,失敗則退出。
Warning: The check of service 'load' on host 'Nagios' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
[1354527841] Warning: The check of service 'procs' on host 'Nagios' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
添加網卡流量監控的錯誤

Unknown - Read or Write File /var/tmp/check_traffic_localhost_2_root_itnms.hist_dat_64 Error with user uid=501(nagios) gid=501(nagios) groups=501(nagios),502(nagcmd).

解決刪除/var/tmp/check_traffic_localhost_2_root_itnms.hist_dat_64

 

轉自:http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=4055566&highlight=


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM