Cows seem to inherently know when it's down, and choose rainy nights exclusively to go on a tear around the neighbor's fields instead of my own.
We had pigs for one terrible year. Pigs know when the electric fence is down because the sociopaths regularly push each other into it. I think they do it to a) test the defense and b) because they're bastards that enjoy watching other creatures suffer.
I hate pigs entirely, by the way. We raised them for one year and decided they weren't worth the hassle. They're the worst.