Sending data from the ganglia to graphite

I am currently collecting monitoring metrics with Ganglia, and I would like to show graphs with this data using Graphite. I know that such integration is possible, and I found an article describing how this should be done. I don’t know exactly how this integration works, especially when I want to send it directly to graphite without analyzing gmetad data. Any help on integrating Ganglia with graphite would be great.

thanks

+6
source share
3 answers

There are two approaches to integrating the ganglia with graphite.

  • use a third-party process to get indicators from gmetad / gmond, configure metrics data, data send data to the carbon server.
  • use the "graphite integration" function of gmetad, where you just need to configure the carbon server address, port, protocol (with additional graphic path syntax), then gmetad will do the rest. More information can be found in /etc/ganglia/gmetad.conf

I would recommend # 2, as it is quite simple. you just need to upgrade your ganglia packages to version 3.3+.

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

+5
source

Have you checked the ganglia-web widgets? There is a Graphite Integration section, and another is called Using Graphite as a graphics engine , which explains well how to do what you want.

+1
source

I worked a lot with Ganglia, Graphite from what I researched works the same way. I could never master Whisper, but I found RRD (round based databases) to be pretty reliable. Not sure if you are interested in monitoring, but I will definitely do JMXtrans. You can get the code from Google. It provides several methods for extracting metric data from any JVM that you control, and allows you to determine which metrics you want to connect to Ganglia / Graphite and some other parameters.

0
source

Source: https://habr.com/ru/post/921943/


All Articles