The results showed that 38 compounds in RYNM are involved in the regulation of related target proteins and regulate the IL-17 signalling pathway, TNF signalling pathway, NF-κB signalling pathway and other related pathways to play a role in treating pneumonia. Here, TNF is linked to susceptibility to pneumonia measurement.