Chimneys have become a very important part of the home inspection. Most attorneys will recommend the buyer have the chimney inspected by a specialist. They have the necessary equipment to scan the inside from top to bottom. They can also clean it out and repair any damage to the lining, etc.
The one chimney contractor I use is: