chenge service hostgroup difinition to array