Detecting and control of forest pests and diseases