Graphs are a good thing

kasia posted about using mrtg which got me thinking about using it as well. It comes installed with Red Hat 9 (and I’m sure earlier) so it’s on all our servers.
apt-get install mrtg was easy.
Copying her script and configuration over was a sinch too. Just put it into /etc/mrtg/
Then I managed to get the script working with the aid of this email.
Finally, I managed to record stats about Apache using the script here and with help from here. The killer was trying to debug why the Perl script wasn’t working. It took me a while to figure out I should have the ?auto at the end of the server-status url. bah!
I’m going to try MySQL next!

Author: Donncha

Donncha Ó Caoimh is a software developer at Automattic and WordPress plugin developer. He posts photos at In Photos and can also be found on Google+ and Twitter.

1 thought on “Graphs are a good thing”

Leave a Reply