Install redis retention module

Change-Id: I1cd1f336e50d7849c0cfa64823b33eaad266b31e
This commit is contained in:
aviau 2015-06-22 11:20:06 -04:00
parent c3c5ca4e53
commit 602910033e
3 changed files with 15 additions and 1 deletions

View File

@ -18,6 +18,7 @@ alignak:
links:
- mongo
- influxdb
- redis
ports:
- "7767:7767"
environment:
@ -41,6 +42,9 @@ influxdb:
- "8083:8083"
- "8086:8086"
redis:
image: redis
grafana:
image: savoirfairelinux/grafana:2.1.0-pre1
environment:

View File

@ -0,0 +1,10 @@
## Module: RedisRetention
## Loaded by: Scheduler
# Retention file to keep state between process restarts in resident memory.
# Data loss occurs if the server restarts and Redis replication is not enabled
# between two Redis instances.
define module {
module_name redis-retention
module_type redis_retention
server redis
}

View File

@ -32,7 +32,7 @@ define scheduler {
# (does not save, only read)
# - SnmpBooster = Snmp bulk polling module
#modules pickle-retention-file
modules mongo_live_config
modules mongo_live_config, redis-retention
## Advanced Features
# Realm is for multi-datacenters