summary refs log tree commit diff
path: root/bin/tw-mh-os7-report
blob: 993a9b3abc18f07ed9931e56975a6c606808bd84 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/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=(
manhattan.prod.revenue
manhattan.prod.athena
manhattan.prod.zac.hourly
manhattan.prod.blobstore
manhattan.prod.zac.minutely.agents
manhattan.prod.zac.index
manhattan.prod.zac.frequent
manhattan.prod.roslin
manhattan.prod.starbuck
manhattan.prod.adama
manhattan.prod.jammer
manhattan.prod.redwing
manhattan.prod.baltar
manhattan.prod.tory 
manhattan.prod.omega
manhattan.prod.zac.minutely.counters
manhattan.prod.zac.frequent.agents
manhattan.prod.cylon
manhattan.prod.hotdog
manhattan.prod.serina
manhattan.prod.davis
manhattan.prod.limiters
manhattan.prod.zac.minutely
manhattan.prod.zac.frequent.counters
manhattan.prod.foster
)

for role in ${ROLES[@]}; do
  osreport.pex report ${role}
done