##Notice Notice: I am not actively developing this Shinken Scheduler module anymore. For more info, please read the Shinken doc about module and read the README for installation instructions about this module. :)
This module is used by Scheduler daemon to store retention infos associated with services or hosts to a mongoDB database.
Because the update retention file operation is in the scheduler's main loop, in order to not delay other operations we make a assumption that if some thing error has happened, then we think that the update operation this time has failed, we just stop this update operation, log it and wait until next one.
Note: Replica set MongoDB instances is the recommended way to work with.
- host1:port1
- host2:port2
- host3:port3
module_name mongodb-retention-scheduler
module_type mongodb_retention_scheduler
high_availability true
replica_set host1:port1, host2:port2, host3:port3
url_options w=1&wtimeoutMS=3000&journal=true&readPreference=secondary&replicaSet=shinken&connectTimeoutMS=3000
database shinken_retention_scheduler
username shinken__retention_scheduler
password shinken_retention_scheduler
- host:port
module_name mongodb-retention-scheduler
module_type mongodb_retention_scheduler
high_availability false
stand_alone host:port
url_options w=1&wtimeoutMS=3000&journal=true&readPreference=secondary&replicaSet=shinken&connectTimeoutMS=3000
database shinken_retention_scheduler
username shinken_retention_scheduler
password shinken_retention_scheduler