Plugin:ZeroMQ
From collectd Wiki
Revision as of 11:56, 9 March 2012 by Tokkee (talk | contribs) (added a linkt to an independent collectd <-> zeromq gateway)
ZeroMQ plugin | |
---|---|
Type: | read, write |
Callbacks: | config, init, notification, shutdown, write |
Status: | in development |
First version: | 5.1 |
Copyright: | 2005–2010 Florian Forster 2009 Aman Gupta 2010 Julien Ammous |
License: | GPLv2 |
Manpage: | collectd.conf(5) |
List of Plugins |
The ZeroMQ plugin transmits or receives values collected by collectd via the ØMQ (Zero Message Queue) messaging library. The data is encoded in the binary protocol used by the Network plugin, too. Depending on its configuration, the ZeroMQ plugin can operate in a number of messaging modes.
Currently, the plugin can be configured to use the PUSH, PULL, PUBLISH, and SUBSCRIBE patterns.
Synopsis
<Plugin "zeromq"> <Socket Publish> Endpoint "tcp://localhost:6666" </Socket> <Socket Subscribe> Endpoint "tcp://eth0:6666" Endpoint "tcp://collectd.example.com:6666" </Socket> </Plugin>
Dependencies
- libzmq, ØMQ C bindings
http://www.zeromq.org/bindings:c
See also
- Official ØMQ website
- AMQP plugin
- Network plugin
- Collectd Listener that pushes the metrics onto zeromq pub/sub mechanism