Are those numbers a sum of the total benefits or something? It seems insane that a campus security guard is making 170k.
It wouldn't surprise me that an experienced security guard is making $170K; the state itself is expensive, and they have to retain staff. The staff is often ex-cop, and guards very frequently work overtime (paid time-and-a-half or more). The guard may be a people manager (I don't know which row you're referring to but it looks like the typical guard makes far less).
I knew that salaries at public universities are public in many states, so thought to google it -- but the details can vary.
You could similarly ask why a town of 50,000 people needs a police department.