A toilet (6) has a solenoidal valve (1) in working relationship to a water-level probe (23), an overflow probe (25) and a floor-water probe (21) to prevent leaks reliably. A signal alarm (31) also is provided to warn of any problems and where they are in order to be able to repair them without the services of a professional plumber in many instances.