Sensors to Identify Pests at Different Stages

One of the biggest challenges in agriculture is getting rid of pests (e.g. codling moth, boll weevil any many). The yields could be improved if we would be are able to identify pest germination at the earlier stages, act immediately and get rid of them. Can this be achieved through an automated system using wireless sensor networks (WSN). Do you know any sensors available to identify pests at the different stages of their existence (germination stage, growth stage, at movement stage)? Is it possible to design a control and monitoring system using WSN? Share your thoughts please.