Monitoring the temperature of a part or of an element of the furnace structure