In 20 years, we have had two significant water pipe leaks and at least one mess from very heavy rains.
Since we do not frequent the basement too often, but do store lots of things there, here's a solution (which sends alerts to your smart phone): Wifi Water Detector with Buzzer and Email / Text Alerts
What good is a water alert if it only makes noise when you aren't home?