From collectd Wiki
Revision as of 12:06, 12 November 2014 by David Schmitt (talk | contribs) (Added current info.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Write OpenTSDB plugin
Type: write
Callbacks: init, config, write
First version: 4.9
Copyright: 2014 David Schmitt
License: GPLv3
List of Plugins

The OpenTSDB plugin translates and queues collectd metrics to an OpenTSDB instance.

The translation is done in python code and can easily be extended or modified to fit local requirements.


ModulePath "/path/to/installed/"
Import "tsdb"
<Module tsdb>
  server "opentsdb server name"
  port   "https port of opentsdb server"
  ca     "ca file"
  cert   "local certificate"
  key    "local private key"
  tag    "host" "my host name"
  tag    "dc"   "my datacenter"

This will register a writer using the specified SSL certificates. It adds additional tags to each event for filtering on the OpenTSDB side.

See also