A ZeroMQ pub socket broker for shinken

This broker allows you to publish update data to a ZeroMQ pub socket (tcp, ipc or inproc). Anybody can then subscribe to that endpoint to receive status updates.

The serialization method is configurable. Supported formats so far are json and msgpack.
Update shinken/modules/zmq_broker.py

Little cleanup.
Update shinken/modules/zmq_broker.py

Fixed some issues with serializing unhandled datatypes for Json and msgpack. Default to using str() for msgpack, print sets as lists for JSON.
Update shinken/modules/zmq_broker.py

Serialize sets to lists for msgpack as well.
Use a custom encoder for both json and msgpack.
Reuse a Packer to encode with msgpack.
Update shinken/modules/zmq_broker.py

Stupid mistake...
Merge pull request #733 from thomascellerier/master

Add a  ZeroMQ Broker module called zmq_broker