I probably would use Zip-Ties rather than glue, but that's just me. They'll eventually pull those thermometers down, but should hold up for a while.

It's nice when you have a productive day!