Difference between revisions of "Plugin:ZeroMQ"
From collectd Wiki
(Create initial page.) |
(→Synopsis: Updated to the new format.) |
||
Line 16: | Line 16: | ||
<Plugin "zeromq"> | <Plugin "zeromq"> | ||
− | + | <Socket Publish> | |
− | + | Connect "tcp://localhost:6666" | |
+ | </Socket> | ||
+ | <Socket Subscribe> | ||
+ | Bind "tcp://eth0:6666" | ||
+ | Bind "tcp://collectd.example.com:6666" | ||
+ | </Socket> | ||
</Plugin> | </Plugin> | ||
Revision as of 19:33, 6 November 2010
ZeroMQ plugin | |
---|---|
Type: | read, write |
Callbacks: | config, init, notification, shutdown, write |
Status: | in development |
First version: | 5.0 |
Copyright: | 2005–2009 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 uses a PUSH / PULL model.
Synopsis
<Plugin "zeromq"> <Socket Publish> Connect "tcp://localhost:6666" </Socket> <Socket Subscribe> Bind "tcp://eth0:6666" Bind "tcp://collectd.example.com:6666" </Socket> </Plugin>
Dependencies
- libzmq, ØMQ C bindings
http://www.zeromq.org/bindings:c
See also