guide:Ganglia
From Dgiref
Contents |
Install (for version 3.0.4)
rpm -ihv http://mirror.scc.kit.edu/downloads/src/misc/ganglia-gmond-3.0.4-1.i386.rpm gmond --convert old.conf > new.conf wget -O /etc/gmond.conf http://mirror.scc.kit.edu/downloads/src/misc/gmond.conf wget -O /etc/sysconfig/static-routes http://mirror.scc.kit.edu/downloads/src/misc/static-routes service network restart service gmond restart /sbin/chkconfig gmond on /sbin/service gmond start
| Ganglia does not include a proper init script for SuSE. For SuSE systems type after the RPM install: cd /tmp wget http://downloads.sourceforge.net/ganglia/ganglia-3.0.5.tar.gz?modtime=1191364402&big_mirror=0 tar xfvz ganglia-3.0.5.tar.gz cd ganglia-3.0.5/ ./configure make make install cp gmond/gmond.init.SuSE /etc/init.d/gmond scp root@dgiref-glite.fzk.de:/etc/gmond.conf /etc/gmond.conf cd /usr/sbin ln -s -f /etc/init.d/gmond /sbin/rcgmond rcgmond restart chkconfig --level 345 gmond on |
Configure
vi /etc/sysconfig/static-routes #Suse: # vi /etc/sysconfig/network/routes any net 224.0.0.0/4 dev eth0
Postinstall
/etc/init.d/network restart # service network restart /etc/init.d/gmond restart # service gmond restart
When there are 2 network cards
Add into:
/* Feel free to specify as many udp_send_channels as you like. Gmond used to only support having a single channel */ udp_send_channel { mcast_join = 239.2.11.71 port = 8649 ttl = 1 mcast_if=eth0 }