Install redis retention module
Change-Id: I1cd1f336e50d7849c0cfa64823b33eaad266b31e
This commit is contained in:
parent
c3c5ca4e53
commit
602910033e
@ -18,6 +18,7 @@ alignak:
|
|||||||
links:
|
links:
|
||||||
- mongo
|
- mongo
|
||||||
- influxdb
|
- influxdb
|
||||||
|
- redis
|
||||||
ports:
|
ports:
|
||||||
- "7767:7767"
|
- "7767:7767"
|
||||||
environment:
|
environment:
|
||||||
@ -41,6 +42,9 @@ influxdb:
|
|||||||
- "8083:8083"
|
- "8083:8083"
|
||||||
- "8086:8086"
|
- "8086:8086"
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
image: savoirfairelinux/grafana:2.1.0-pre1
|
image: savoirfairelinux/grafana:2.1.0-pre1
|
||||||
environment:
|
environment:
|
||||||
|
@ -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
|
||||||
|
}
|
@ -32,7 +32,7 @@ define scheduler {
|
|||||||
# (does not save, only read)
|
# (does not save, only read)
|
||||||
# - SnmpBooster = Snmp bulk polling module
|
# - SnmpBooster = Snmp bulk polling module
|
||||||
#modules pickle-retention-file
|
#modules pickle-retention-file
|
||||||
modules mongo_live_config
|
modules mongo_live_config, redis-retention
|
||||||
|
|
||||||
## Advanced Features
|
## Advanced Features
|
||||||
# Realm is for multi-datacenters
|
# Realm is for multi-datacenters
|
||||||
|
Loading…
x
Reference in New Issue
Block a user