Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongodb logs problem #12

Open
tarak666 opened this issue May 13, 2015 · 1 comment
Open

Mongodb logs problem #12

tarak666 opened this issue May 13, 2015 · 1 comment

Comments

@tarak666
Copy link

Hi,

I have mongodb and logstore-mongodb installed in my shinken2.2 with webui(BS3-1.0).
I have a Error on "
Error : Unable to create mongo DB connection localhost:27017"

Screen:-
3

My config file:-

File: Mongodb.cfg

define module {
module_name mongodb
module_type mongodb
uri mongodb://localhost/?safe=false
database shinken

username username ;optional

password password ;optional

}

file:- logstore_mongodb.cfg

define module {
module_name logstore-mongodb
module_type logstore_mongodb
mongodb_uri mongodb://localhost/?safe=false ; Set to your value
database shinken
}

mongod (pid 3024) is running...

Thanks,
Tarak

@mohierf
Copy link

mohierf commented May 13, 2015

With your configuration you should have a database called shinken in your mongodb. In this database you should find a collection named logs.

Have you tried to request on your mongodb shinken database with another application to confirme everything is fine in your mongodb configuration ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants