summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 86db5dd)
raw | patch | inline | side by side (parent: 86db5dd)
author | Florian Forster <octo@collectd.org> | |
Wed, 14 Nov 2012 09:33:29 +0000 (10:33 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 14 Nov 2012 12:02:37 +0000 (13:02 +0100) |
They made sense when all data was collected at the same interval. This
has not been true for a while now and these warnings don't make any sense
anymore.
We could transform them into a per-VL check and use complaints to notify
the user, but I don't think it's worth it. There is an "I told you so"
in the manpage in big bold letters ...
has not been true for a while now and these warnings don't make any sense
anymore.
We could transform them into a per-VL check and use complaints to notify
the user, but I don't think it's worth it. There is an "I told you so"
in the manpage in big bold letters ...
src/rrdtool.c | patch | blob | history |
diff --git a/src/rrdtool.c b/src/rrdtool.c
index cac5c21b0617bf3b20e2cc3b8bb9b1d480116ea2..ceb834df9f29e8e6f78fc42440c3df3249a9766a 100644 (file)
--- a/src/rrdtool.c
+++ b/src/rrdtool.c
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);