What the OP is really about is that Obama sent three individuals who actually work with inside the Obama White House to a funeral for a criminal who robbed a convenience store. Nobody from the White House attended the General's funeral, nobody. The Pentagon is not the White House.
I seriously doubt Obama ordered Hagel to attend the General's funeral, Hagel is part of the military chain of command just like Obama is and Hagel fulfilled his duty as Sec. of Defense while as usual Obama was derelict in his duties as CnC.