Skip to content

Instantly share code, notes, and snippets.

@GeorgeJahad
Created August 26, 2014 21:45
Show Gist options
  • Save GeorgeJahad/92faefb945c82ed735f4 to your computer and use it in GitHub Desktop.
Save GeorgeJahad/92faefb945c82ed735f4 to your computer and use it in GitHub Desktop.
Pull down the george/add_test_infrastructure branch and checkit out.
Then setup BASE_DIR to point to the superdirectory of blueflood-chef, and copy the jar files staging there:
export BASE_DIR=/Users/georgej/incoming
scp monitor00.iad.stage.bf.k1k.me:/opt/riemann/lib/riemann-acknowledge.jar $BASE_DIR
scp monitor00.iad.stage.bf.k1k.me:/opt/riemann/lib/riemann-extra.jar $BASE_DIR
scp monitor00.iad.stage.bf.k1k.me:/opt/riemann/lib/riemann-starter-0.1.0-SNAPSHOT.jar $BASE_DIR
scp monitor00.iad.stage.bf.k1k.me:/opt/riemann/lib/riemann.jar $BASE_DIR
then setup your env var like this:
export RIEMANN_JSON=$BASE_DIR/blueflood-chef/cookbooks/riemann/files/default/riemann.json
run the command something like this
java -cp $BASE_DIR/riemann-acknowledge.jar:$BASE_DIR/riemann-extra.jar:$BASE_DIR/riemann-starter-0.1.0-SNAPSHOT.jar:$BASE_DIR/riemann.jar riemann.bin test $BASE_DIR/blueflood-chef/cookbooks/riemann/files/default/riemann.clj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment