hddtemp + bash + mysql

So I got into this kick with gathering data and graphing it, I have been playing with flot for a bit and wanted to see what else I could graph.
I run hddtemp on my fileserver and while living in Vegas it gets pretty hot out, and my AC kicks on and off all day. I decided there has got to be a way for me to database the temp change on my hard drives through the

day and make it look nice. I put together this simple bash script that writes to the local MySQL server, then once I finish the web interface I will be making use of flot to graph the data. I thought I would share the simple script in case anyone else is interested in this as well.

Read More