X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrdtool.c;h=ceb834df9f29e8e6f78fc42440c3df3249a9766a;hb=b5ad48ac8e183bb0574608fbddceca41d64ab3da;hp=cac5c21b0617bf3b20e2cc3b8bb9b1d480116ea2;hpb=86db5dd0f868540a8d5a11d32115b22d378b39cd;p=collectd.git diff --git a/src/rrdtool.c b/src/rrdtool.c index cac5c21b..ceb834df 100644 --- a/src/rrdtool.c +++ b/src/rrdtool.c @@ -1164,17 +1164,6 @@ static int rrd_init (void) if (rrdcreate_config.heartbeat <= 0) rrdcreate_config.heartbeat = 2 * rrdcreate_config.stepsize; - if ((rrdcreate_config.heartbeat > 0) - && (rrdcreate_config.heartbeat < CDTIME_T_TO_TIME_T (interval_g))) - WARNING ("rrdtool plugin: Your `heartbeat' is " - "smaller than your `interval'. This will " - "likely cause problems."); - else if ((rrdcreate_config.stepsize > 0) - && (rrdcreate_config.stepsize < CDTIME_T_TO_TIME_T (interval_g))) - WARNING ("rrdtool plugin: Your `stepsize' is " - "smaller than your `interval'. This will " - "create needlessly big RRD-files."); - /* Set the cache up */ pthread_mutex_lock (&cache_lock);