#!/usr/bin/env bash
set -euo pipefail

case "${1:-}" in
  BS-GZ-006) alias_name=bs-gz-006 ;;
  BS-SG-001) alias_name=bs-sg-001 ;;
  BS-SG-002) alias_name=bs-sg-002 ;;
  BS-SG-003) alias_name=bs-sg-003 ;;
  ZY-SG-006) alias_name=zy-sg-006 ;;
  BS-SH-005) alias_name=bs-sh-005 ;;
  *) echo "unregistered node id" >&2; exit 2 ;;
esac

exec /usr/local/sbin/guanghu-cluster-node-probe "$1" "$alias_name"
