afiorentini

MongoDB FieldPack authentication error shared mode

Discussion created by afiorentini on Apr 13, 2017
Latest reply on May 3, 2017 by Hallett_German

Hi Community

 

I'm trying to connect to MongoDB sharding cluster using ca-apm-fieldpack-mongodb 1.1 but I have an error about "auth failed" "code 18":

 

Apr 12, 2017 7:43:47 PM com.ca.apm.mongo.Collector main

INFO: APM MongoDB Collector version: 1.1

Apr 12, 2017 7:43:47 PM com.ca.apm.mongo.Collector discoverTopology

INFO: Discovering Topology for host: 10.80.132.244:27,017

Apr 12, 2017 7:43:48 PM com.ca.apm.mongo.Collector <init>

WARNING: Exception discovering topology:

com.mongodb.CommandFailureException: { "serverUsed" : "10.80.132.244:27017" , "ok" : 0.0 , "errmsg" : "auth failed" , "code" : 18}

                at com.mongodb.CommandResult.getException(CommandResult.java:76)

                at com.mongodb.CommandResult.throwOnError(CommandResult.java:131)

                at com.mongodb.DBPort$NativeAuthenticator.authenticate(DBPort.java:652)

 

But when I tried to connect using another tool for example Mongo Cheff the tool ask me for an additional parameter "authentication DB":

 

 

It's possible set authentication DB on FieldPack ? 

 

If I don't set "authentication DB" on MongoCheff get the same fieldpack error: auth failed: code 18.

 

Regards 

 

Aldo Fiorentini.

Outcomes