Believe that pneumonia is thought to be more severe in individuals with diabetes (so the microorganism would typically be Streptococcus pneumoniae, though various other pathogens also cause pneumonia).
Also look up the links between tuberculosis and diabetes, see for example here - https://www.diabetes.co.uk/diabetes-complications/lung-conditions.html