amonapp / amonagent

Single binary agent for Linux

Home Page:https://amon.cx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not connect to MongoDB database

jyksnw opened this issue · comments

When attempting to connect to mongodb database the following error is observed:

ERRO[0000] Can't connect to server': Unable to connect to URL (127.0.0.1:27017), server returned error on SASL authentication step: Invalid database name: '/admin'

It appears that the connection is not stripping the leading '/'

When dropping the database from the connection string it defaults to mgo's default database of test.