One of the best mice and rat traps we used on the rigs. The trailers there are often infested with mice. Very simple, no poisons, and entirely safe for other pets.
Take a five gallon bucket, drill a 1"hole at the top, 1" down from the rim, and another directly across on the other side.
Place a 3/4" dowel though it and put a large ball of peanut butter in the middle of the rod so it is right on the center of the rim of the bucket.
Fill the bucket half full with water. Place a board up to the rim of the bucket so the mouse/rat can climb up to it.
The mouse/rat will climb up the ramp and see the peanut butter and head out onto the dowel, the dowel will roll and the mouse will fall into the water and drown.
We literally caught them by the bucket full. we came up with this because F&G would not allow us to put out any kind of poison outside or inside the trailer.
If a chicken climbs up the rod will stop them from falling in, but even if they do the bucket is not full enough for them to drown, just po'd.
If you can use poison, if you drill 1" holes in the bottom of a 5 gallon bucket and put the bait inside of it with a lid on top, other critters will not be able to get at the poison meant for the mice, a bigger hole would be needed for rats. We have one of those for our travel trailer while it sets parked next to the shop to help keep mice away. I also glue the bait with hot glue to the bottom so the cats don't get into it.
Food for thought...