<font color=blue>You can not get the Pneumonia from welding and grinding. An Pneumonia is a viral upper respiratory infection. </font color=blue>
Pneumonia itself is simply a lung infection or fluid in your lungs, causing impaired oxygen exchange. It is not a single disease.
The leading cause is actually bacterial, not viral (viral is second, and typically due to Influenza A).
Pneumonia can also be caused by inhaling ("aspirating") fluids. This is why you cannot have anything to eat or drink before anaesthesia, because of the danger of an "aspiration pneumonia".
The <A target="_blank" HREF=http://www.lungusa.org/diseases/lungpneumoni.html> American Lung Association</A> mentions over 30 causes, including chemical.