Enhancing network management using mobile agents