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=
