Genericore is a generic message queueing interface to provide an easily extensible stats processing infrastructure.
It is modelled after the EVA principle (Eingabe Verarbeitung Ausgabe). The system roughly contains three kinds of modules :
The process we use is publish-subscribe (see below)
The message queue is an AMQP-based RabbitMQ which runs on:
188.40.39.66
,You might want to read Getting started with RabbitMQ (which is pretty good). Especially see Publish/Subscribe.
Two things are important:
Unless explicitly defined by the modules, the following default values are used:
1. Exchanges:
type = 'fanout' passive = False durable = False auto_delete = False internal = False nowait = False
2. Queue:
name = '' passive = False durable = False exclusive = True auto_delete = True nowait = False
This is how the current rabbitmq server is configured to grant permission for user shack and do expose its interface to the network.
Download and install rabbitmq (there are plenty tutorials on the web)
In /etc/rabbitmq/rabbitmq.conf
NODENAME=rabbit NODE_IP_ADDRESS=YOUR.IP NODE_PORT=5672 LOG_BASE=/var/log/rabbitmq MNESIA_BASE=/var/lib/rabbitmq/mnesia
start the rabbitmq instance (e.g. /etc/rc.d/rabbitmq start), then change permissions
sudo rabbitmqctl delete_user guest sudo rabbitmqctl add_user shack your_shack_password sudo rabbitmqctl set_permissions shack ".*" ".*" ".*"
Currently the following modules are available:
{ "type": "snmp", "subtype":0, "data": { TODO }}
{ "type": "log", "subtype":0, "data": { TODO } }
Whatever the processing modules cough out
+++++++[>++++++++>+++++++>+++++++<<<-]>--.>---.>.
describe the modules „todo“ in this section:
{ "type": "mail", "subtype":1, "data": { TODO } }
* Description: Gateway between AMQP and Websockets * Backend: Tornado,python-genericore * Maintainer: felix