Fixed check_apache_status to work with total traffic.