Skip to content

Instantly share code, notes, and snippets.

View ezeev's full-sized avatar

Evan C Pease ezeev

View GitHub Profile
@ezeev
ezeev / collectd.conf.append
Last active November 9, 2015 22:45
collectd config append
LoadPlugin swap
LoadPlugin df
LoadPlugin processes
LoadPlugin uptime
LoadPlugin users
<LoadPlugin python>
Globals true
</LoadPlugin>
<Plugin python>
ModulePath "/opt/wavefront/collectd/plugin"
@ezeev
ezeev / wavefront_push.py
Last active November 9, 2015 18:47
Wavefront push collectd plugin
#! /usr/bin/env python
# TODOs:
# - Clean up logging (Propose prefixing all messages with something identifying the plugin)
# - Mock collectd functionality for testing / development
# - Evaluate whether or not we care that sendall won't let you know what you sent, which
# will include a lot of buffer management and metric boundaries.
# - Self monitoring - publish i.e. reconnect tries, seconds connected vs. seconds not connected, queue size
# Example config: