/etc/shinken/shinken-specific/broker-livestatus-mongodb.cfg is in shinken-module-broker-livestatus-mongodb 1.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Module: mongologs
## Loaded by: Livestatus
# Put the Livestatus logs in an mongodb database, so LS can query them.
define module {
module_name mongologs
module_type logstore_mongodb
mongodb_uri mongodb://localhost/?safe=true ; Set to your value
# If you are running a MongoDB cluster (called a “replica set” in MongoDB),
# you need to specify it's name here.
# With this option set, you can also write the mongodb_uri as a comma-separated
# list of host:port items. (But one is enough, it will be used as a “seed”)
#replica_set
#database
#collection
#max_logs_age
}
|