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 linux_stats.pl 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!
For some of the nicest usage of MRTG your going to see around, take a wander over to http://www.hea.net/mrtg/ when you get a chance