From Wikipedia:
McKeever and the Colonel was an American situation comedy that was broadcast on NBC television in the United States in the 1962-'63 season, on Sunday nights at 6:30 P.M. Eastern Time. Its setting was a fictional military academy known as Westfield. Dick Powell's Four Star Television produced the series.
Gary McKeever (played by Scott Lane) was the lead character, a likable but mischievous cadet. He often found himself in trouble with the camp commandant, the pompous Colonel Harvey T. Blackwell (played by character actor Allyn Joslyn). Jackie Coogan played Sgt. Barnes, a down-to-earth school staffer who was more sympathetic to McKeever. The program also starred John Eimen as Monk and character actor John McGiver.
Guest stars included Walter Coy, formerly the host of the NBC anthology series Frontier, and comic entertainer Soupy Sales.