Skip to content

scarpellini/collectd2amqp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

'2amqp' is a write-plugin for forward the collectd [read-plugin] data to an AMQP server.
The messages sent to the AMQP server is basicaly collectd.PluginData object serialized in JSON (python simplejson).

The name/values of the object attributes are just converted to keys/values in the JSON data, like follows:  
{'plugin': 'tcpconns', 'interval': 10, 'host': 'server01.mydomain.com', 'values': [0.0], 'time': 1275957262.0, 'plugin_instance': '5672-local', 'type_instance': 'SYN_SENT', 'type': 'tcp_connections'}

collectd.PluginData(): http://collectd.org/documentation/manpages/collectd-python.5.shtml#plugindata



Dependencies:
- collectd: http://collectd.org/
- collectd python-plugin: http://collectd.org/documentation/manpages/collectd-python.5.shtml
- python simplejson: http://pypi.python.org/pypi/simplejson/
- python amqplib: http://pypi.python.org/pypi/amqplib/0.6.1



See 'collectd.config.example' for configuration parameters

About

AMQP+JSON write-plugin for collectd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published