add customProbe to allow custom detection of ok/notok