find pcap_agent by net_name instead of hostname