Server Stats

Installation steps

 * Get Serverstats from Berlios
 * Install rrdtool (depending on your distro, it should be in the repository. Otherwise download here)
 * Copy serverstats to /my/apache/root/serverstats
 * Move ./serverstats/config.sample/ to ./serverstats/config/
 * Get the OpenSimulator serverstats module, and place in the config directory:

now find the following bit of code at the bottom: and change it to:
 * Edit ./serverstats/config/sources.php, and add this code:
 * Edit ./serverstats/config/graph.php, and add this code:

from: to:
 * Edit ./serverstats/config/main.php, and change this code:


 * Make sure you allow php to access /proc . Edit php.ini and set open_basedir = ..:/proc
 * Add a crontab with 'crontab -e', and enter a cronjob for update.php:
 * Check out if the script executes the way it's supposed to be, by running it from the shell.

Done! Now check out if the graphs are generated, by pointing your browser to the serverstats directory. You'll see some nice stats if everything went right.