agent eroor function comments
added mongo to dependacies for mongo monitoring