A Distributed Network Monitoring Framework for Wireless Networks