Stopping of pumps, or operating valves, on occurrence of unwanted conditions {responsive to a condition of the pump}