Monitoring the flow of items in a network