summary refs log tree commit diff
path: root/bin/tw-os7-report
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tw-os7-report')
-rwxr-xr-xbin/tw-os7-report26
1 files changed, 26 insertions, 0 deletions
diff --git a/bin/tw-os7-report b/bin/tw-os7-report
new file mode 100755
index 0000000..c003136
--- /dev/null
+++ b/bin/tw-os7-report
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+if [ ! hash osrpeort.pex 2>/dev/null ]; then
+  pushd .
+  cd "${HOME}/src/source"
+  ./pants binary src/python/twitter/corestorage/osreport
+  popd
+fi
+
+ROLES=(
+  blobstore.prod.queue
+  deferredrpc
+  deferredrpc.staging
+  hosebird-kestrel
+  ibis.kestrel
+  kestrel
+  kestrel-low_sla
+  messaging.prod.bookkeeper
+  messaging.prod.distributedlog
+  rosette.kafka.prod
+  search-kestrel
+)
+
+for role in ${ROLES[@]}; do
+  osreport.pex report ${role}
+done