Apache monitor script