Wavefront can easily be integrated with collectd via the write_graphite plugin. While this provides a straight forward integration path, it does not provide any options for adding point tags to metrics. This plugin provides an alternative which supports point tagging.
- collectd 5 or higher (tested with collectd 5.4)
- collectd python plugin
- The wavefront proxy installed on a host and port accessible to the server where collectd is installed.
- The wavefront proxy should NOT be configured to use Graphite format. This plugin uses the standard Wavefront format.
After collectd and the collectd python plugin are installed
- create a directory for the plugin i.e.
/etc/collectd/py
- In the new directory, place
wavefront_push.py
- In your collectd config file (usually
/etc/collectd.conf
) add the sample config below to your file: - Save the file and restart collectd
LoadPlugin python
<Plugin python>
ModulePath "/etc/collectd/py"
Import wavefront_push
<Module wavefront_push>
server 10.255.254.255
port 2878
prefix collectd
tag dc dallas
tag use prod
</Module>
</Plugin>
server
- The server address of the wavefront proxyport
- The port of the wavefront proxyprefix
- The prefix to be applied to points from collectdtag <name> <value>
- A name and value for a tag