You probably want either nagios or munin, our pair of logging/monitoring utilities.