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 \
StackTach/notabene StackTach/notification_utils rackerlabs/yagi \
StackTach/stackdistiller StackTach/quincy StackTach/quince \
StackTach/klugman
StackTach/klugman StackTach/oahu
do
git clone https://github.com/$file
done

View File

@ -2,9 +2,11 @@ sessionname tach
hardstatus alwayslastline '%{= .} %-Lw%{= .}%> %n%f %t*%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})'
screen -t gen bash
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"
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
stuff "klugman events -h\r"

View File

@ -23,13 +23,17 @@ default_level = WARN
queues = 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_type = topic
routing_key = monitor.info
durable = True
max_messages = 100
[oahu]
# nothing yet
[shoebox]
# Store in-process files in ./working
# Move them to ./archive when full via the MoveFileCallback