For us, cats do the job. We've had cats go after rats and groundhogs and fight off foxes and hawks. I have never had mouse issues in the barn. (Knock on wood.)
I have a car that sits outside about 300 feet from the barn and occasionally, I get wires chewed on, but nothing to the tractor or...