I have never been able to tell for sure whether I am dealing with a viral or bacterial pneumonia. I have heard how high the temp is can give you an idea, not in my experience. If you have an individual animal just treat with an antibiotic, a little different if you have a group of calves that are sick.
Does not matter to me whether it is viral or bacterial, I would treat each one with antibiotics in cattle. Antibiotics HAVE NO EFFECT on viral infections, but viral infections in cattle have a tendancy to set up bacterial infections in cattle. When I first started out I did not use much in the way of anti-inflammtories (ie Banamine) but as I have changed my thoughts on that. There is even a product now that has both in one shot.