BlogsNow started crashing. I wonder if it is the CPU temperature. Since I am a 5000 miles away from the computer I needed something to measure the temperature. This was harder to google to than it should be. In the end it was as simple as:
yum install lm_sensors
/etc/rc.d/init.d/lm_sensors start
sensors-detect
[accept all defaults]
sensors
[will output what the machine feels like]
now I need to copy this to another machine and then I know what happens when the machine dies.
A super simple monitoring way is to create an executable cgi file in your webservers path like this:
#!/bin/bash
echo Content-type: text/plain
echo ""
date
sensors
And then you wget / cron on a different machine to get the status and pipe it to one file …