He is neither good or evil, as Krampus is a symbol of punishment or retribution. This folklore began in 12th century Germany, but has stretched as far as the United States when immigrants brought stories of a half man, half goat creature stealing bad children so he could devour them in his lair. As with most fairytales, it is ultimately a tool for teaching morality. Children be good, or Krampus will get you.
In Nors mythology, it is said Krampus is the son of Loki and Hel, the goddess of death. In all likelihood, his origins are derived from the Yule Goat, which marks the beginning of the winter solstice. It's no surprise that the meaning of Krampus evolved from a Pagan tradition, to that of a more Christian belief around the concept of good vs. evil. One minute you're celebrating Yuletide and the arrival of colder, darker months, the next thing you know it's all Saint Nicholas and Christmas.