Python based router monitoring