[rrd-users] Re: Cannot fetch the last update? (WAS [mrtg] Re: Why all the NaNs?)

Fernando Nieto nieto.f at gmail.com
Wed Feb 1 09:31:20 MET 2006


Hello again, sorry to insist but i can't make it work. I'm updating my
rrds every multiple of 5 minutes.

# rrdoot version
RRDtool 1.2.12  Copyright 1997-2005 by Tobias Oetiker <tobi at oetiker.ch>
               Compiled Dec 27 2005 19:24:25
[...]

# rrdtool last data.rrd
1138780800

# rrdtool fetch data.rrd AVERAGE -s 1138780800 -e 1138780800
                         rttnum              rttsum            
rttsum2               ownum             owsumsd             owsumds   
          losssd              lossds

[*no response at all* ]

# rrdtool fetch data.rrd AVERAGE -s 1138780799 -e 1138780800
                         rttnum              rttsum            
rttsum2               ownum             owsumsd             owsumds   
          losssd              lossds

1138780800: 2.0000000000e+01 9.3400000000e+02 4.3624000000e+04
2.0000000000e+01 5.1800000000e+02 4.1600000000e+02 0.0000000000e+00
0.0000000000e+00


The same query but using 1.0.48 gives you back the following response,
which it's quite different:

# rrdtool version
RRDtool 1.0.48  Copyright 1997-2004 by Tobias Oetiker <tobi at oetiker.ch>

# rrdtool fetch data.rrd AVERAGE -s 1138780800 -e 1138780800
                         rttnum               rttsum             
rttsum2                ownum              owsumsd              owsumds
              losssd               lossds

1138780800: 2.0000000000e+01 9.3400000000e+02 4.3624000000e+04
2.0000000000e+01 5.1800000000e+02 4.1600000000e+02 0.0000000000e+00
0.0000000000e+00

# rrdtool fetch data.rrd AVERAGE -s 1138780799 -e 1138780800
                         rttnum               rttsum             
rttsum2                ownum              owsumsd              owsumds
              losssd               lossds

1138780500: 2.0000000000e+01 9.2300000000e+02 4.2613000000e+04
2.0000000000e+01 5.0500000000e+02 4.1800000000e+02 0.0000000000e+00
0.0000000000e+00
1138780800: 2.0000000000e+01 9.3400000000e+02 4.3624000000e+04
2.0000000000e+01 5.1800000000e+02 4.1600000000e+02 0.0000000000e+00
0.0000000000e+00

I have already changed all my scripts, but it's important for me to
now if the behaviour is going to change or not in future releases -
well, unless i'm doing anything different i can see myself  :-s

Thanks again

Best regards,
fernando

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list