So I have recently completed my first build. Has worked absolutely fine for about a month however on Saturday randomly shut down. On trying to restart, I showed a CPU fan error code and stuck me straight in the BIOS, from here I could see that my CPU was running at nearly 90'C (a tad over the normal 35~). I thought it might be an issue with the cooler so I replaced the corsair h80i with the stock 4790k cooler however this seemed to prove futile 
As it has been running fine for a month I'm really concerned that something has gone seriously wrong with the system. Anyone who could possibly help me, it would be greatly appreciated!
Specs:
CPU - i74790k
Motherboard - Asus Maximus Vii Ranger
Cooler - Corsair H80i
RAM - 8gb Corsair Vengeance
GPU - 4gb MSI GTX970
HDD - WD 3TB Black
SSD - Crucial 256GB

As it has been running fine for a month I'm really concerned that something has gone seriously wrong with the system. Anyone who could possibly help me, it would be greatly appreciated!
Specs:
CPU - i74790k
Motherboard - Asus Maximus Vii Ranger
Cooler - Corsair H80i
RAM - 8gb Corsair Vengeance
GPU - 4gb MSI GTX970
HDD - WD 3TB Black
SSD - Crucial 256GB