summary refs log tree commit diff
path: root/bin/tw-os7-report
blob: c0031366e88bb27298c90ad446bb0ff583cc0bde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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