question

Andre V. avatar image
Andre V. asked ·

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?

oneagentextensionsmongodb
mongodb.png (12.8 KiB)
mongodb.png (15.3 KiB)
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Dave M. avatar image
Dave M. answered ·

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

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

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.

0 Likes 0 · ·
Andre V. avatar image
Andre V. answered ·

Found the answer to my question here too: How to configure easyTravel?


Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Andre V. avatar image
Andre V. answered ·

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.

2 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

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

1 Like 1 · ·

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

0 Likes 0 · ·
Ugochukwu N. avatar image
Ugochukwu N. answered ·

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

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.