Changeset 202 for drbl-virt/sbin/check_drbl_vm.sh
- Timestamp:
- Aug 30, 2010, 2:18:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
drbl-virt/sbin/check_drbl_vm.sh
r200 r202 24 24 # local variables 25 25 IP_status="online" 26 client_hostname="$(cat $Work_Home/etc/IP_HOST_TABLE | grep -v "#" | awk '{print $2}')"26 client_hostname="$(cat $Work_Home/etc/IP_HOST_TABLE | grep -v "#" | grep $client_IP | awk '{print $2}')" 27 27 vm_numbers="" 28 28 vm_hostnames="" … … 58 58 i=i+1 59 59 done 60 60 echo "" 61 61 else 62 echo "[Error] $client_hostname $client_IP is offline !" && exit 262 echo "[Error] $client_hostname $client_IP is offline !" 63 63 64 64 fi
Note: See TracChangeset
for help on using the changeset viewer.