Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sending Data from ganglia to graphite

I am currently collecting monitoring metrics with Ganglia and I would like to show graphs with that data with Graphite. I know such an integration is possible, and I found an article describing how it should be done. I am not quite sure exactly how this integration works, especially when I want to send it straight into graphite without parsing the data of the gmetad. Any help on how to integrate Ganglia with Graphite will be great.

thanks

like image 297
Nadav Leibo Avatar asked Aug 02 '12 12:08

Nadav Leibo


2 Answers

There are two approaches to integrate ganglia with graphite.

  1. use third party process to get metrics from gmetad/gmond, tweak metrics data format, send metrics data to carbon server finally.
  2. use the feature "graphite integration" of gmetad where you just need to configure the carbon server address, port, protocol (with an optional graphite path syntax), then gmetad will do all the things left. The more details can be found from your /etc/ganglia/gmetad.conf

I would recommend #2 since it's pretty simple. you just need to upgrade your ganglia packages to version 3.3+.

In above solutions, you can store metrics data in both RRD and whisper. If you don't want this approach, it also supports altering rrdtool graphs with graphite in ganglia-web. see "Using graphite as graphing engine"

like image 62
shawnzhu Avatar answered Oct 03 '22 16:10

shawnzhu


Have you checked the ganglia-web wiki ? There is a section Graphite Integration and an other called Using Graphite as the graphing engine which explain well how to do what you want.

like image 30
phsym Avatar answered Oct 03 '22 15:10

phsym