He was flawed, and his methods might have been questionable at times, but I'd say his intentions were good, and the good outweighed the bad. I might say grey leaning to good, but for the most part, I consider him good.
I feel like it's less the things that a person does that make them mostly good or mostly evil, and more of why they do them instead that determines this.
^ Dumbledore was pretty certain that Harry wouldn't actually die. Like I said, his methods could be questionable, and maybe he could have handled Harry's need to sacrifice himself better, but I don't think this made him a bad person. (I feel it should be added Harry didn't even blame Dumbledore for putting him in the position to sacrifice himself. He knew that Dumbledore felt he would have done it in order to get rid of Voldemort.)