This will show a simple status of your server including CPU, RAM and disk usage, as well as status of ports you are monitoring. The original script by lfiore has been highly optimized and modified by me.
You need to have PHP and any httpd agent (apache or lighttpd or nginx) to be able to run this script. Just follow our lighttpd + PHP tutorial and copy this script to your web directory, then open it on your browser.

Download it from here: server-status-monitoring.zip