code: def report_and_raise(probe_name, probe_result, failure_msg):
      
      log.info('%s? %s' % (probe_name, probe_result))
      if not probe_result:
          raise exceptions.ProbeException(failure_msg)
      else:
          return True
docs: Logs the probe result and raises on failure