Posts

Showing posts from July, 2014

Change graphite's default dashboard graph colors

cp -v /opt/graphite/conf/graphTemplates.conf.example /opt/graphite/conf/graphTemplates.confvi /opt/graphite/conf/graphTemplates.confchange '[default]' section to '[uggs]'change another section, e.g. '[solarized-dark]', to '[default]'reload dashboard and you should see changed colors

Ganglia on Amazon Linux (and other RedHat derivatives)

The below is for setting up unicast, not multicast. AWS does not support multicast networking.

Key concepts: gmond daemons run on every server and use C code to collect the server's stats; this data is stored in local memory. Multiple gmonds can send their data on to one central gmond to hold, call this a gmond "bank"; this "bank" also uses only memory to store the server stats. gmetad comes along and collects the data from the gmond "banks" and stores in it rrds, these are files; the web interface uses these rrd files, and it usually runs on the same server as gmetad.

Cluster name: cluster name is key in grouping data and getting it from gmond to gmond and then on to gmetad. data_source is the way gmetad find the "banks"; and, by the way, you can have redundant "banks" for one cluster data_source.

Getting rid of multicast settings: comment out all references to multicast: bind_hostname, mcast_join, bind. Comment them all out.

UDP vs T…

Latest graphite on Amazon Linux at AWS

NOTE: someone broke master branch, so reverting to 0.9.x
yum update -y;reboot yum -y groupinstall "Development Tools" yum -y install git-core python-pip mlocateyum -y install python-rrdtool pycairo-devel mkdir -p /root/graphite-installcd /root/graphite-installgit clone https://github.com/graphite-project/carbon.gitgit clone https://github.com/graphite-project/whisper.gitgit clone https://github.com/graphite-project/ceresgit clone https://github.com/graphite-project/graphite-web.gitcd /root/graphite-install/whispergit checkout 0.9.x python setup.py installcd /root/graphite-install/ceres# only has master branch, but it works with others pip install -r requirements.txtpython setup.py installcd /root/graphite-install/carbongit checkout 0.9.x pip install -r requirements.txtpython setup.py installcd /root/graphite-install/graphite-webgit checkout 0.9.x yum install libffi-devel -y # some developer broke things, add thispip install -r requirements.txtpython check-dependencies.pypyth…