Commit 4f5c00ee authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Merge branch 'ui-0.11' into devel-0.12

parents f38479b4 4d859835
......@@ -93,7 +93,10 @@ def main():
msg['event_time'] = split_time(time.time())
msg['instance'] = instance_name
# and send it over AMQP
# log to stderr
sys.stderr.write("[MONITOR] %s\n" % json.dumps(msg))
# then send it over AMQP
amqp_client.basic_publish(exchange=settings.EXCHANGE_GANETI,
routing_key=routekey,
body=json.dumps(msg))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment