ImmutableMap.builder().put("serverStatus", 1).put("asserts", 0).put("backgroundFlushing", 0).put("connections", 0)
.put("cursors", 0).put("dur", 0).put("extra_info", 0).put("globalLock", 0).put("indexCounters", 0)
.put("locks", 0).put("metrics", 0).put("network", 0).put("opcounters", 0).put("opcountersRepl", 0)
.put("recordStats", 0).put("repl", 0).build()).get();
logger.trace("About to execute: {}", command);
CommandResult cr = adminDb.command(command, ReadPreference.primary());
logger.trace("Command executed return : {}", cr);
logger.info("MongoDB version - {}", cr.get("version"));
if (logger.isTraceEnabled()) {
logger.trace("serverStatus: {}", cr);