This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadPlugin swap | |
LoadPlugin df | |
LoadPlugin processes | |
LoadPlugin uptime | |
LoadPlugin users | |
<LoadPlugin python> | |
Globals true | |
</LoadPlugin> | |
<Plugin python> | |
ModulePath "/opt/wavefront/collectd/plugin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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: |
NewerOlder