simple network monitor based on python and mongodb