How big is the pipe that you are looking to monitor?

What I am thinking is a probe set into a sleeve-mount around the pipe, sealed with RTV 732 sealant, allowed to cure before being fitted to the pipe.

Bear in mind you will need to drill into the pipe to give true temperature reading.