Water/flood sensor?

Doug101:
I have a basement with a sump pump mounted two feet below the floor in a tube. I’m looking for a way to detect if the water level has risen above a certain level. (Sump pump isn’t working).

Seems to me water sensor get corroded over time and become unreliable. So I think that leaves an ultrasonic sensor to measure the water level or simple float switches?

Is one better/more reliable than the other?

Easy to make stainless steel electrodes. Go to your local bicycle repair shop and ask for two or three old wheel spokes. Find nuts to fit the metric threads. Two per spoke. Fasten your copper wire to the spokes and put in your sump tube. Clamp to the side wherever you like. Hook wire s to Arduino.

Paul