Plumpbers goop works well like stated above. I use it for everything even for ataching my heatsink to my northbridge. Just put as III in the middle and put a little dab of goop on the four corners, press down till seated well and let it sit untill it hardens.
here are some pics of my inline sensor:
http://community.webshots.com/photo/...37106803ToCDBI
http://community.webshots.com/photo/...37106822fvycDK
http://community.webshots.com/photo/...37106817IDqdhM