Skip to content

Instantly share code, notes, and snippets.

@dougm
Created June 29, 2009 20:13
Show Gist options
  • Save dougm/137771 to your computer and use it in GitHub Desktop.
Save dougm/137771 to your computer and use it in GitHub Desktop.
#collectd-dynomite.conf command-line test config
#original patch (now in collectd master branch) http://bit.ly/ccprC
#install dynomite: http://github.com/cliffmoon/dynomite
#install yajl libs (and libcurl-devel)
#% git clone git://git.verplant.org/collectd.git
#% ./build.sh && ./configure && make
#% ./src/collectd -T -C ~/test/collectd-dynomite.conf
#PUTVAL mako/couchdb-dynomite@thresher/gauge--get_rate interval=10 1246306113:0.000000
#PUTVAL mako/couchdb-dynomite@thresher/gauge--put_rate interval=10 1246306113:0.000000
#PUTVAL mako/couchdb-dynomite@thresher/gauge--connections interval=10 1246306113:0.000000
#so, we can collect dynomite metrics using the couchdb plugin; should probably rename the plugin.
BaseDir "."
PluginDir "src/.libs"
TypesDB "src/types.db"
LoadPlugin logfile
<Plugin logfile>
LogLevel debug
File "stderr"
</Plugin>
LoadPlugin csv
<Plugin csv>
DataDir "stdout"
</Plugin>
LoadPlugin couchdb
<Plugin couchdb>
<URL "http://10.2.0.227:9099/rpc/rates/dynomite@thresher">
Instance "dynomite@thresher"
<Key "get_rate">
Type "gauge"
</Key>
<Key "put_rate">
Type "gauge"
</Key>
<Key "connections">
Type "gauge"
</Key>
</URL>
</Plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment