cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EasyTravel MongoDB user credentials

andre_vdveen
DynaMight Champion
DynaMight Champion

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?

 

7 REPLIES 7

nj_njoku
Inactive

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


andre_vdveen
DynaMight Champion
DynaMight Champion

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 🙂


dave_mauney
Dynatrace Champion
Dynatrace Champion

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. 🙂

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

 

andre_vdveen
DynaMight Champion
DynaMight Champion

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

andre_vdveen_0-1688331264473.png

 

 

 

Featured Posts