I've got cameras all around the place here, 25 of them. All record 4k full time locally with intelligent animal identification (deer, rodent, chicken, cow, horse, dog, cat, etc), and I scrub the outdoors every day looking for critter activity.
Right now I have an opossum who is sniffing around the coop and run, but I don't think he or she could get through 1/4" hardware cloth doubled up, plus a 2 foot apron all around, covered with lots of drainage rocks. I went all in on critter security/hardening before I ever got chickens in the coop because its war between me and those vermin. After all the cuts, pokes and scrapes unrolling that stuff, I kind of want to see a raccoon get a good handful of the wire on those creepy little hands.
If anything were to breach the run at night, the camera inside is set to trigger an alarm event that turns on my bedside table light and sets its color to red. I'm up with the pellet gun ready to do some late night hunting. After dealing with that (bird feeder a while back) for weeks killing squirrels in the day and a few raccoons at night, with a rat or two keeping the nightly clean up crews belly full I went with how to just keep them away.
Coles flaming hot squirrel sauce, which is basically chipotle oil. Birds love it, haven't tried with the chickens since there isn't any issue right now. Squirrels, rats, raccoons cannot stand it and once they get a taste they are gone never to return, its only the new ones that try it out once. The only time I'll have raccoons swing by is after a good nighttime rain.
Just to give an example of how effective the cameras are, I had a rat visit my brand new vehicle and chew through the MAF wiring sensor. I didn't see it but got the red light and upon review I assumed the cat walking around was a false alarm and planned to look into it the next day and went back to bed. The next morning the truck told me there was a sensor failure and I knew exactly what happened and once I fixed it I reviewed the footage at real time speed and thats when I realized there were two events next to each other, and the cat was chasing the rat.
The snap traps that look like industrial sized snap bag clips was placed out the next evening on the tire he climbed up the day before. Another 11PM red light wake up. It was a HUGE rat, it got him and I ended up having to kill it because the cats that roam were just looking at it squirming around squealing, it was too big for the trap to kill. Honda sells a wiring harness wrap that is laced with capsicum to deter rodents.