puppet/modules/rhizo_base/files/bin/check_amp_status.sh
Ciaby 1c7dffc32a Initial refactoring
Renamed rhizomatica_base_system to rhizo_base
Split up the init.pp in different subclasses
More work to follow
2015-05-18 14:01:31 -05:00

8 lines
254 B
Bash
Executable file

#!/bin/bash
# Check for AMP status on each BTS, from BTS1 up to BTS3
RHIZO_SCRIPT="/home/rhizomatica/bin"
. $RHIZO_SCRIPT/vars.sh
for bts in $BTS1 $BTS2 $BTS3; do
echo "BTS $bts:";
ssh root@$bts sbts2050-util sbts2050-pwr-status | grep Amp;
done