It will get wet. But you have nothing to worry about. If you are the type of person who uses the soil around them as part of a chain, wet soil is a better conductor, and hitting the fence will be more consistent. However, if the cabinet does not use ground to complete the circuit, it must be well insulated from the wires. Otherwise, the guard can be short-circuited and no longer used.