EasyTravel MongoDB user credentials

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?


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

Hi @Ugochukwu N. 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.

I do not believe MongoDB comes with a default user account as explained here .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.

Hope This Helps

NJ

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 :slightly_smiling_face:

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

I always forget about that file, thanks @Dave M. :slightly_smiling_face:

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

Found the answer to my question here too: Configure easyTravel in Docker