Difference between revisions of "Plugin:ZeroMQ"

From collectd Wiki
Jump to: navigation, search
(Create initial page.)
 
m
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
   | Callbacks={{Callback|config}}, {{Callback|init}}, {{Callback|notification}}, {{Callback|shutdown}}, {{Callback|write}}
 
   | Callbacks={{Callback|config}}, {{Callback|init}}, {{Callback|notification}}, {{Callback|shutdown}}, {{Callback|write}}
 
   | Status={{in development}}
 
   | Status={{in development}}
   | FirstVersion={{Version|5.0}}
+
   | FirstVersion={{Version|5.1}}
   | Copyright=''2005–2009'' Florian Forster<br />''2009'' Aman Gupta<br />''2010'' Julien Ammous
+
   | Copyright=''2005–2010'' [[User:Octo|Florian Forster]]<br />''2009'' Aman Gupta<br />''2010'' Julien Ammous
 
   | License={{GPLv2}}
 
   | License={{GPLv2}}
 
   | Manpage={{Manpage|collectd.conf|5|plugin_zeromq}}
 
   | Manpage={{Manpage|collectd.conf|5|plugin_zeromq}}
Line 11: Line 11:
 
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 {{Plugin|Network}}, too. Depending on its configuration, the ''ZeroMQ plugin'' can operate in a number of messaging modes.
 
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 {{Plugin|Network}}, too. Depending on its configuration, the ''ZeroMQ plugin'' can operate in a number of messaging modes.
  
Currently, the plugin uses a ''PUSH'' / ''PULL'' model.
+
Currently, the plugin can be configured to use the ''PUSH'', ''PULL'', ''PUBLISH'', and ''SUBSCRIBE'' patterns.
  
 
== Synopsis ==
 
== Synopsis ==
  
 
  <Plugin "zeromq">
 
  <Plugin "zeromq">
   SendDataTo "tcp://localhost:6666"
+
   <Socket Publish>
   ListenOn "tcp://*:6666"
+
    Endpoint "tcp://localhost:6666"
 +
   </Socket>
 +
  <Socket Subscribe>
 +
    Endpoint "tcp://eth0:6666"
 +
    Endpoint "tcp://collectd.example.com:6666"
 +
  </Socket>
 
  </Plugin>
 
  </Plugin>
 +
 +
== Example Graph ==
 +
{{No Example Graph}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 29: Line 37:
 
* {{Plugin|AMQP}}
 
* {{Plugin|AMQP}}
 
* {{Plugin|Network}}
 
* {{Plugin|Network}}
 +
* [https://github.com/jedi4ever/collectd-zmq Collectd Listener that pushes the metrics onto zeromq pub/sub mechanism]
  
 
{{DEFAULTSORT:Zeromq}}
 
{{DEFAULTSORT:Zeromq}}

Latest revision as of 01:08, 12 March 2020

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>

Example Graph

None yet. Add one now!

Dependencies

See also