Can't say I've heard that ivermectin gets rid of it. It may help the symptoms, but it won't kill the mites.

I'd still get a skin scraping and see what is causing it. May be fungal, may be bacterial, or parasitic.. Ya never know.