diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-02-18 18:28:31 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-02-22 01:00:23 +0200 |
commit | bf06c2fb046ad56eafecccff26c05d8d24c53dfc (patch) | |
tree | 622198590f320e27a68cf16235a377eacd4b731b /src/rrdhost.c | |
parent | c35f24c5b566a25f62a140b58fc8f930a0e2f12a (diff) |
each host can have its own settings for history, update_every, rrd memory mode, health enabled
Diffstat (limited to 'src/rrdhost.c')
-rw-r--r-- | src/rrdhost.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rrdhost.c b/src/rrdhost.c index 2261ac9758..e899f69dfe 100644 --- a/src/rrdhost.c +++ b/src/rrdhost.c @@ -54,8 +54,10 @@ RRDHOST *rrdhost_create(const char *hostname, const char *guid) { RRDHOST *host = callocz(1, sizeof(RRDHOST)); - host->rrd_memory_mode = default_localhost_rrd_memory_mode; - host->health_enabled = default_localhost_health_enabled; + host->rrd_update_every = default_localhost_rrd_update_every; + host->rrd_history_entries = default_localhost_rrd_history_entries; + host->rrd_memory_mode = default_localhost_rrd_memory_mode; + host->health_enabled = default_localhost_health_enabled; pthread_rwlock_init(&(host->rrdset_root_rwlock), NULL); |