ganglia 集群監控,web界面出來但無法生成圖形的問題
gmond 和gmetad服務進程均啟動正常,web界面可以打開,但是圖形沒有出來
環境如下:
apache1.3.41+php
ganglia的php文件放到 /var/www/ganglia 下面,也編輯了conf.php ,正確指向了rrdtool的位置,如下:
define("RRDTOOL", "/usr/local/rrdtool/bin/rrdtool");
/var/lib/ganglia/rrds下面也有很多*.rrd文件生成
執行rrdtool命令,也正確運行,如下:
# /usr/local/rrdtool/bin/rrdtool -v
RRDtool 1.3.8 Copyright 1997-2009 by Tobias Oetiker <tobi@oetiker.ch>
Compiled May 25 2009 13:22:25
Usage: rrdtool command command_options
Valid commands: create, update, updatev, graph, graphv, dump, restore,
last, lastupdate, first, info, fetch, tune,
resize, xport
RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)
For more information read the RRD manpages
最後的問題是:為何那些圖形生成不了呢?
《解決方案》
看看圖片的屬性,指向的位置在哪裡?
另外有更詳細的日誌信息嗎?