Identification
The spotted salamander is identified by the large, round, yellow spots on its back. They attach their eggs to the undersides of rocks. It also has vertical grooves on its sides.
Niche
The spotted salamander is a consumer because it eats worms, grubs, and other small insects. That makes it a carnivore. It has poison glands that makes it so snakes, squirrels, opossums. chipmunks, raccoons, turtles and skunks won't eat them.
Sources:
Reptiles and Amphibians by Herbert S. Zim and Hobart M. Smith
http://www.animalfactguide.com/animal-facts/spotted-salamander/