Reading CPU and GPU temps

Buy two thermal sensors and attach them appropriately.

There are example programs on the web for just about any commonly available sensor. Google "arduino" and the name of your sensor to find them.