summary refs log tree commit diff
path: root/bin/os-centos-7-report
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2017-02-15 14:14:04 -0800
committerFranck Cuny <franck.cuny@gmail.com>2017-02-15 14:14:04 -0800
commita6400298d0b0e9c28cc0a3e34617a8f682eb633f (patch)
tree5c8946b4fdaa2c604d914d778282d061f7bddc0e /bin/os-centos-7-report
parent[tmux] and once again, add it back .. (diff)
downloademacs.d-a6400298d0b0e9c28cc0a3e34617a8f682eb633f.tar.gz
[bin] Update a bunch of scripts.
Diffstat (limited to 'bin/os-centos-7-report')
-rwxr-xr-xbin/os-centos-7-report26
1 files changed, 26 insertions, 0 deletions
diff --git a/bin/os-centos-7-report b/bin/os-centos-7-report
new file mode 100755
index 0000000..c003136
--- /dev/null
+++ b/bin/os-centos-7-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