[rrd-users] Working with an old time series (1951-1989)
A Darren Dunham
ddunham at taos.com
Thu Sep 24 17:31:53 CEST 2009
On Thu, Sep 24, 2009 at 05:04:18PM +0200, Fernando Di Nucci wrote:
> Is there a way to persuade it that yes, I really mean month 283906800 ?
On the command line, no. But if you're building from source you could
tweak it and make a version that does.
For instance in the 1.2.30 code:
$ find . -type f -exec grep "24\*365" /dev/null {} \;
./bindings/tcl/tclrrd.c: if (last_up < 3600*24*365*10) {
./src/rrd_create.c: if (last_up < 3600*24*365*10){
./src/rrd_fetch.c: if (start_tmp < 3600*24*365*10){
./src/rrd_graph.c: if (start_tmp < 3600*24*365*10){
./src/rrd_graph_helper.c: if (start_tmp < 3600*24*365*10) {
Each of those lines appears to be constraints to 1980 and later. Tweak
the "10" down a year or two and recompile should work.
--
Darren
More information about the rrd-users
mailing list