Respiratory infection usually produces an audible sound that you can hear without placing the snake close to your ear. Note that I said "usually"

Keep your snake on dry substrate, maintain moderate humidity (40-60 percent) and away from drafts. Drafts and dampness will cause a respiratory infection every time but believe it or not, keeping an enclosure constantly too warm and/or damp can do it too.