Collectd and ganglia integration

741 views
Skip to first unread message

jj silver

unread,
Jun 5, 2013, 3:04:45 PM6/5/13
to collectd-...@googlegroups.com

It seems that collectd can collect more [and better?] performance statistics and I see that there is a plugin for gmond - but that plug-in is for receiving ganglia statistics. 
Is there a plugin to send collectd statistics to ganglia (gmond)? 

The only advantage of ganglia that I see is that I can "clusterize" the measurements and send them to a remote rrds whereas collectd seems to want to write them to a local rrds - 
or am I missing something?   If I run collectd on a machine, how do I get the measurements from all machines into a central rrds that I can run graphs on?

If I am reading this stuff right, I should be able to use with Cacti, ganglia or even straight rrdtools to present graphs from the rrds.

thanks for any pointers,
jon

Heitzso

unread,
Jun 5, 2013, 3:29:25 PM6/5/13
to collectd-...@googlegroups.com
There's a network clause that allows you to direct data to a central collection collectd server.
See
    https://collectd.org/wiki/index.php/Plugin:Network
Trick is, to be sane, you must do some buffering of the data on the write side
Otherwise your collection server is trying to grab off the network and write to disk
lots of little chunks. See
    http://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_rrdtool

You leave rrdtool on at the collection server.
You comment out rrdtool plugin and stanza on the sending system.
My rrdtool on the receiving system, which may not be properly optimized, is
<Plugin rrdtool>
    DataDir "/var/lib/collectd/rrd"
    CacheTimeout 120
    CacheFlush 900
    WritesPerSecond 30
    RandomTimeout 0
</Plugin>
There can be issues between versions.  I've bumped into this with
different distros having different versions.  I believe your receiving
(collection) server has to be the highest version of all versions on
your LAN.  Then there's a plugin that allows it to upgrade data
packets that it receives from older versions of collectd if you have
older versions on other systems you're collecting data from. See
    https://collectd.org/wiki/index.php/Target:v5_upgrade

I also use collectd-web and you may need to pull down it's git
version rather than a "stable" version in order to get code that
works well with the lastest version(s) of collectd.

I find collectd and collectd-web to be great tools.
They're incredibly light weight.
I'm sorry that there's not more support for their use.

Good luck.


--
You received this message because you are subscribed to the Google Groups "Collectd-web Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to collectd-web-us...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages