collectd writer plugin for OpenTSDB.
# Install collectd.
apt-get install collectd
# Clone the plugin repo.
git clone git://github.com/auxesis/collectd-opentsdb.git
Insert this into your collectd.conf
(likely at /etc/collectd/collectd.conf
):
LoadPlugin java
<Plugin java>
JVMArg "-Djava.class.path=/usr/share/collectd/java/:/path/to/collectd-opentsdb/"
LoadPlugin "org.collectd.java.OpenTSDB"
<Plugin "OpenTSDB">
Server "localhost" "4242"
</Plugin>
</Plugin>
Restart collectd.