For most airborne stuff putting active charcoal in the airstream and checking it on the suspicion of a problem would be a viable solution in my eyes.
One could also check those samples randomly every X flights.
Don't think it would catch carbonmonoxide though.