Home | Mirror | Search |
Ganglia是一個集群監控軟件
Ganglia 是一個開源項目,它為高性能計算系統(例如集群和網格)提供了一個免費的可擴展分散式監視系統。
sudo apt-get install ganglia-monitor ganglia-webfrontend Restart apache2? 選擇 Yes sudo ln -s /usr/share/ganglia-webfrontend/ /var/www/ganglia
/etc/ganglia/gmond.conf
name = "my servers" (只改了這個地方,改成"my cluster”)
在瀏覽器輸入”http://localhost/ganglia”就可以看到Web UI
# apt-get install ganglia-monitor $ sudo vim /etc/ganglia/gmond.conf sudo cp /etc/ganglia/gmond.conf /etc/ganglia/gmond.conf.old sudo cp /etc/ganglia/gmetad.conf /etc/ganglia/gmetad.conf.old sudo vim /etc/ganglia/gmetad.conf $ sudo /etc/init.d/gmetad restart $ sudo /etc/init.d/ganglia-monitor restart
ip route add 239.2.11.71 dev eth1
http://www.jansipke.nl/installing-ganglia-on-centos
啟動
# service gmond start Starting GANGLIA gmond: [ OK ] # chkconfig --list gmond gmond 0:off 1:off 2:off 3:off 4:off 5:off 6:off # chkconfig gmond on # chkconfig --list gmond gmond 0:off 1:off 2:on 3:on 4:on 5:on 6:off