Created
November 4, 2010 22:05
-
-
Save ewencp/663294 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# See https://docs.google.com/Doc?id=dgmmft5s_45hr7hmggr for details on how this script was put together | |
sudo apt-get install -y build-essential libapr1-dev libconfuse-dev libexpat1-dev python-dev libpcre3-dev librrd2-dev | |
mkdir ganglia | |
cd ganglia | |
wget -O ganglia-3.1.7.tar.gz "http://downloads.sourceforge.net/project/ganglia/ganglia%20monitoring%20core/3.1.7/ganglia-3.1.7.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fganglia%2Ffiles%2Fganglia%2520monitoring%2520core%2F&ts=1288907147&use_mirror=softlayer" | |
tar xvf ganglia-3.1.7.tar.gz | |
cd ganglia-3.1.7 | |
./configure --sysconfdir=/etc/ganglia | |
make | |
sudo make install | |
gmond --default_config > gmond.conf | |
sudo mv gmond.conf /etc/ganglia/gmond.conf | |
sudo gmond |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment