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/rrdset.c | |
parent | c35f24c5b566a25f62a140b58fc8f930a0e2f12a (diff) |
each host can have its own settings for history, update_every, rrd memory mode, health enabled
Diffstat (limited to 'src/rrdset.c')
-rw-r--r-- | src/rrdset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rrdset.c b/src/rrdset.c index 0b238d114a..95108813d3 100644 --- a/src/rrdset.c +++ b/src/rrdset.c @@ -234,7 +234,7 @@ RRDSET *rrdset_create(RRDHOST *host, const char *type, const char *id, const cha return st; } - long rentries = config_get_number(fullid, "history", rrd_default_history_entries); + long rentries = config_get_number(fullid, "history", host->rrd_history_entries); long entries = align_entries_to_pagesize(rentries); if(entries != rentries) entries = config_set_number(fullid, "history", entries); |