If your machine is outside, I don't have a good solution.
If it is inside, and you have electric outlets try the Sonic Blaster type of devices.
They work better as a repellant, and less effective if you already are infested.
My last house was 50 years old, had two crawlspaces. I trapped all the critters I could, then placed the Sonic repellers in the crawlspaces, they worked.
FastFwd: Built my pole building almost 4 years ago, bought a box of 3 Sonic repellers, placed them at opposite ends of the building. So far, so good.
Proof? well, the best i can offer is that I left a partial bag of grass seed out, in the open. It stayed there for 4 to 6 months, nothing ever touched it.
My shop is next to many acres of woods and field, so, if they were going to come in, they don't have to go far.