util for network monitoring/ python+mysql.