author | Florian Forster <octo@huhu.verplant.org> | |
Wed, 12 Sep 2007 07:14:45 +0000 (09:14 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 12 Sep 2007 07:14:45 +0000 (09:14 +0200) | ||
commit | 9d52ed5f71a44d896d35346141d9481dc4133954 | |
tree | 29e14cbbc10941e3b786ab468b7762a88368b0f2 | tree | snapshot |
parent | 8c25e77d295d6116ad957a3ed774c0f95d3974f8 | commit | diff |
rrdtool plugin: Use `-b' (begin) when creating rrd-files.
When receiving data from a host that has a clock that lacks behind the servers
clock, the newly created rrd-files had a timestamp that was ten seconds in the
past from the server's point of view. If the client was, for example, 10:00
minutes late, there would therefore be 9:50 minutes of invalid data which cause
warnings, empty graphs and overall missery. This commit changes this behavior
to not use the default `begin' time but set it explicitely based on the
client's time.
When receiving data from a host that has a clock that lacks behind the servers
clock, the newly created rrd-files had a timestamp that was ten seconds in the
past from the server's point of view. If the client was, for example, 10:00
minutes late, there would therefore be 9:50 minutes of invalid data which cause
warnings, empty graphs and overall missery. This commit changes this behavior
to not use the default `begin' time but set it explicitely based on the
client's time.
src/rrdtool.c | diff | blob | history |