Started adding oahu/mongo support

This commit is contained in:
Sandy Walsh 2014-07-11 04:30:31 +00:00
parent 27ee997bd0
commit 0682a0a8a4
3 changed files with 10 additions and 4 deletions

View File

@ -21,7 +21,7 @@ cd $SOURCE_DIR
for file in StackTach/shoebox StackTach/simport StackTach/notigen \ for file in StackTach/shoebox StackTach/simport StackTach/notigen \
StackTach/notabene StackTach/notification_utils rackerlabs/yagi \ StackTach/notabene StackTach/notification_utils rackerlabs/yagi \
StackTach/stackdistiller StackTach/quincy StackTach/quince \ StackTach/stackdistiller StackTach/quincy StackTach/quince \
StackTach/klugman StackTach/klugman StackTach/oahu
do do
git clone https://github.com/$file git clone https://github.com/$file
done done

View File

@ -2,9 +2,11 @@ sessionname tach
hardstatus alwayslastline '%{= .} %-Lw%{= .}%> %n%f %t*%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})' hardstatus alwayslastline '%{= .} %-Lw%{= .}%> %n%f %t*%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})'
screen -t gen bash screen -t gen bash
stuff "cd git/notigen/bin; python event_pump.py\r" stuff "cd git/notigen/bin; python event_pump.py\r"
screen -t yagi bash screen -t yagi1 bash
stuff "cd git/yagi/bin; ./yagi-event --config ../../../shoebox.conf\r"
screen -t yagi2 bash
stuff "cd git/yagi/bin; ./yagi-event --config ../../../shoebox.conf\r" stuff "cd git/yagi/bin; ./yagi-event --config ../../../shoebox.conf\r"
screen -t quincy bash screen -t quincy bash
stuff "cd git/quincy/quincy; gunicorn --debug api:api\r" stuff "cd git/quincy/quincy; gunicorn --log-file=- api:api\r"
screen -t bash bash screen -t bash bash
stuff "klugman events -h\r" stuff "klugman events -h\r"

View File

@ -23,13 +23,17 @@ default_level = WARN
queues = monitor.info queues = monitor.info
[consumer:monitor.info] [consumer:monitor.info]
apps = yagi.handler.shoebox_handler.ShoeboxHandler #apps = yagi.handler.shoebox_handler.ShoeboxHandler
apps = oahu.yagi_handler.OahuHandler
exchange = monitor exchange = monitor
exchange_type = topic exchange_type = topic
routing_key = monitor.info routing_key = monitor.info
durable = True durable = True
max_messages = 100 max_messages = 100
[oahu]
# nothing yet
[shoebox] [shoebox]
# Store in-process files in ./working # Store in-process files in ./working
# Move them to ./archive when full via the MoveFileCallback # Move them to ./archive when full via the MoveFileCallback