From 0682a0a8a4a75256c1f957208fce86c2be00f961 Mon Sep 17 00:00:00 2001 From: Sandy Walsh Date: Fri, 11 Jul 2014 04:30:31 +0000 Subject: [PATCH] Started adding oahu/mongo support --- build.sh | 2 +- screenrc | 6 ++++-- shoebox.conf | 6 +++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index bb22473..d4f6513 100755 --- a/build.sh +++ b/build.sh @@ -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 diff --git a/screenrc b/screenrc index 68fb0c0..8c47334 100644 --- a/screenrc +++ b/screenrc @@ -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" diff --git a/shoebox.conf b/shoebox.conf index 43885e6..812ecb4 100644 --- a/shoebox.conf +++ b/shoebox.conf @@ -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