Added monitor code to check the health of mongo db replica set members