In general when you are introduced to someone it is polite to say how are you? If it is someone that you have been told about you might make a comment along the lines of Jeff has told me so much about you.
If someone has foegotten to introduce you there is nothing wrong with introducing yourself and explaining how you know the host if you are at a party