summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xbin/os-centos-7-report.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/bin/os-centos-7-report.sh b/bin/os-centos-7-report.sh
new file mode 100755
index 0000000..c003136
--- /dev/null
+++ b/bin/os-centos-7-report.sh
@@ -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