shinken-monitoring / mod-retention-mongodb

Shinken module for saving retention data from schedulers to a mongodb cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Database "user" and "password"

VicThor opened this issue · comments

For security matters, it will be relevant to add a "user" and "password" parameter to connect to mongo database.

It is the case in mod-mongodb.

commented

A central MongoDB server often can't be accessed without authentication. So an implementation of PyMongo authenticate(username, password) method would really be needed for logstore_mongodb and mongodb_retention!

mod-mongodb is only a lib to acces mongo actually.

Feel free to open a pull request to add this feature :)

Hello,
Support for authentication has been added.
Olivier