Fixed getting status by ip to by hostname