The script now captures cpu usage as well, but I have not added it to the graph yet. I should make a more detailed graph for cpu usage ,because it fluctuates more than the temperature. This implies that the datalogger script should run more often.
I added a temperature alarm that makes a sound when the cpu overheats. When it's above the critical threshold the server will automatically reboot. The alarm only sounds during the day so I don't wake up anyone. This is to make sure my dad does not throw out the server
When a critical temperature occurs at night it will simply reboot or shut down (depends on the temperature)