I thought I would post a garter snake maintenance item I do with my snakes. The nice thing about this is you can take care of it when you’re just holding them. After a while it becomes automatic and you do it all the time, which is never a bad thing.
While they are moving through your fingers be sure to feel the underside. When you get to the vent/cloaca area you should feel a nice smooth transition onto the tail. The vent/cloaca is covered by an anal plate scale. It may feel different but not rough, crusty or enlarged. Be sure when you get to the vent area you also feel the sides of the vent. Sometimes snakes strain to defecate/poop and tear the corners of the vent. Also breeding females can be injured there during mating.
When a garter snake defecates the anal plate opens and the rectum is pushed slightly outward. Just before the snake is finished it usually wipes itself on something, usually the clean glass or the sides of their home.
A crusty/dirty vent is not common. It could be caused by something as simple as poor wiping. Stress, dehydration or possibly a new food item they are adjusting to could also be the cause.
I think that intestinal parasites can be a cause of this problem and if your snake hasn’t been dewormed or dewormed recently it may need to be done. A Vet. can do a fecal float test to determine if parasites are present.
When I find a crusty/dirty vent that snake is moved to a plastic tub and paper towels. Keep the snakes tub as clean as possible until the problem has cleared up or has been identified and treated.

A warm water soaking will loosen up much of the crusty material (usually feces). You may need to use a towel to rub this area clean but as a rule it won’t require much effort.
I always apply some antibiotic ointment or silver sulfadiazine to the area once it’s clean and dry. Observing the snake for a week or so will show whether this is nothing or something a Vet. should be consulted about.
Catching this kind of issue is important as an untreated problem could cause the death of the snake.
Checking for problems regularly is an important part of keeping healthy, happy snakes.