# EasyTravel MongoDB user credentials

**URL:** <https://community.dynatrace.com/t/easytravel-mongodb-user-credentials/20553>\
**Category:** Extensions\
**Tags:** data-privacy-and-product-security, mongodb, extensions, easytravel\
**Created:** [May 6, 2019, 12:18pm UTC](https://community.dynatrace.com/t/easytravel-mongodb-user-credentials/20553 "2019-05-06T12:18:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [May 6, 2019, 12:18pm UTC](https://community.dynatrace.com/t/easytravel-mongodb-user-credentials/20553/1 "2019-05-06T12:18:27Z")

</div>

I want to configure the Dynatrace MongoDB plugin but it requires a valid username & password. Does anyone have an idea of what that is for a vanilla EaysTravel install, or is it something one would have to custom set up?

 ![20445-mongodb.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/c5d88b4aa9507ea9de9b1d3d37023dd9ee7698b4.png)  
 ![mongodb.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/a/0a43bf93746c4798edc565c0f08e844f01d76b0e.png)

---

<div class="post-metadata">

**Author:** ![nj\_njoku](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nj_njoku/32/13710_2.png) [@nj\_njoku](https://community.dynatrace.com/u/nj_njoku)\
**Post date:** [May 6, 2019, 12:55pm UTC](https://community.dynatrace.com/t/easytravel-mongodb-user-credentials/20553/2 "2019-05-06T12:55:04Z")

</div>

HI Andre,

Do you have a MongoDB instance running that you will like to feed data into Dynatrace from? Dynatrace needs the credentials for this instance to pull the metrics.

Thanks

NJ

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [May 6, 2019, 7:09pm UTC](https://community.dynatrace.com/t/easytravel-mongodb-user-credentials/20553/3 "2019-05-06T19:09:42Z")

</div>

Hi [@Ugochukwu N.](https://answers.dynatrace.com/users/5446/view.html) yes I have easyTravel running (Docker) and there is a valid MongoDB instance associated with it - I’m looking for the default credentials for that MongoDB instance.

---

<div class="post-metadata">

**Author:** ![nj\_njoku](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nj_njoku/32/13710_2.png) [@nj\_njoku](https://community.dynatrace.com/u/nj_njoku)\
**Post date:** [May 6, 2019, 7:31pm UTC](https://community.dynatrace.com/t/easytravel-mongodb-user-credentials/20553/4 "2019-05-06T19:31:20Z")

</div>

I do not believe MongoDB comes with a default user account as explained [here](https://stackoverflow.com/questions/38921414/mongodb-what-are-the-default-user-and-password) .You may have to modify your docker-compose file to have username and password environment variables for your MongoDB instance. Take a look at [this](https://docs.docker.com/samples/library/mongo/).

Hope This Helps

NJ

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [May 6, 2019, 7:37pm UTC](https://community.dynatrace.com/t/easytravel-mongodb-user-credentials/20553/5 "2019-05-06T19:37:19Z")

</div>

I also found those articles but I assumed someone might’ve done this on the easyTravel Docker system already - thanks for the help, off I go to fiddle with this some more 🙂

---

<div class="post-metadata">

**Author:** ![dave\_mauney](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dave_mauney/32/27784_2.png) [@dave\_mauney](https://community.dynatrace.com/u/dave_mauney)\
**Post date:** [May 6, 2019, 8:33pm UTC](https://community.dynatrace.com/t/easytravel-mongodb-user-credentials/20553/6 "2019-05-06T20:33:31Z")

</div>

This might be a clue.

C:\Program Files\Dynatrace\easyTravel (x64)\resources\easyTravelConfig.properties:

# MongoDB Authentication parameters  
#################################################################################  
config.mongoDbUser=labuser

config.mongoDbPassword=labpass

config.mongoDbAuthDatabase=admin

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [May 7, 2019, 9:56am UTC](https://community.dynatrace.com/t/easytravel-mongodb-user-credentials/20553/7 "2019-05-07T09:56:32Z")

</div>

I always forget about that file, thanks [@Dave M.](https://answers.dynatrace.com/users/3212/view.html) 🙂

Note: I had to expose the MongoDB port to the Docker host before the plugin connection tested and saved successfully.

The command I used to expose the port:  
_docker run -d -p 27017:27017 dynatrace/easytravel-mongodb_

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [May 7, 2019, 11:02am UTC](https://community.dynatrace.com/t/easytravel-mongodb-user-credentials/20553/8 "2019-05-07T11:02:44Z")

</div>

Found the answer to my question here too: [Configure easyTravel in Docker](https://github.com/Dynatrace/easyTravel-Docker)

 ![andre_vdveen_0-1688331264473.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/b/fb57f3af25da59a73a0b61308d427e8e4621e53a.png)
