naparuba/shinken — comment on commit ab4e79781e9785679dc1545197433403e00a6f14
File:  line 0
By lausser:

I propose you use my init-code from logstore_mongodb
BaseModule.__init__(self, modconf)
self.plugins = []
# mongodb://host1,host2:0815,host3/?safe=true;w=2;wtimeoutMS=2000
self.mongodb_uri = getattr(modconf, 'mongodb_uri', None)
self.database = getattr(modconf, 'database', 'logs')

with "server" everyone thinks of a hostname. I prefer "mongodb_uri" because this better makes clear that you can write much more than just a hostname here. you can express multiple hosts and several flags, too.