There are various kinds of bugs you might see on your snake, but not all are snake mites. You don't want to expose your animals to chemicals unless required.
Look carefully around the eyes and in the groove under the chin. If it has mites, you will probably see them "dug in" in those areas. Do you see a lot of dead ones in the water bowl? Rub your hand firmly down the body of the snake and then look carefully - do you see bugs on your hand? If you are not sure, start by isolating the whole cage in another room while you decide if it needs treatment. You can dust the area around the shelf with Sevin dust (from the garden or feed store)to prevent them from moving into other cages.
Good luck!