歡迎您光臨本站 註冊首頁

Nagios查看主機服務備註報錯

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

在Nagios的監視欄中選擇「服務詳情」,然後查看主機的服務的備註,報錯信息為:


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


--------------------------------------------------------------------------------

Apache/2.2.3 (CentOS) Server at 192.168.1.73 Port 80


查看/var/log/httpd/error_log文件,顯示如下:

Can't locate RRDs.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/nagios/sbin/show.cgi line 9., referer: http://192.168.1.73/nagios/cgi-bin/status.cgi?host=all
BEGIN failed--compilation aborted at /usr/local/nagios/sbin/show.cgi line 9., referer: http://192.168.1.73/nagios/cgi-bin/status.cgi?host=all
Premature end of script headers: show.cgi, referer: http://192.168.1.73/nagios/cgi-bin/status.cgi?host=all


另外,查看拓撲圖,提示如下:

XML解析錯誤:不符合的記號.預期:。
位置:http://192.168.1.73/nagios/cgi-bin/statusmap.cgi?host=all&createimage&time=1346232568&canvas_x=0&canvas_y=0&canvas_width=650&canvas_height=60&max_width=0&max_height=0&layout=0&statusmap_mod=2&layermode=exclude
行:27,列:3:
--^


請教各位大蝦,是哪兒配置的有問題?應該怎麼解決?
剛剛開始學習Nagios,還請大家多多指教,謝謝。

[火星人 ] Nagios查看主機服務備註報錯已經有508次圍觀

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