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":
If I don't set "authentication DB" on MongoCheff get the same fieldpack error: auth failed: code 18.
Aldo Fiorentini.