Or just install monitoring and alarming tools like nagios, cacti, sysusage, monit, munin, zabbix or any of the 20 other clones to have a performance monitoring and alarming in an easy to use webapp.