This tutorial will quickly explain how to install and set up ServerStats (http://hostingfu.com/article/server-monitoring-cacti-serverstats) on your server. More here
This will set ServerStats to run on port 9087. Make sure port 9087 is open in your firewall, or adjust the port below to match the port you chose and opened in your firewall. This tutorial MUST be executed as the root user.