adding hostgroup detail method