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

Ruttenberg, Tanya Tanya.Ruttenberg at ssa.gov
Tue Jan 31 15:22:44 MET 2006


Yes I can confirm it works:

s00c161# rrdtool last  /data/mrtg/OPS/ssa-cam-ops-w24e03_1_cpu.rrd 
1138717280
s00c161# rrdtool fetch /data/mrtg/OPS/ssa-cam-ops-w24e03_1_cpu.rrd AVERAGE
-s 1138716980 -e 1138716980
                            ds0                 ds1
 
1138717200: 5.5933333333e+01 5.5933333333e+01
s00c161# 

Depending on how your rrd files are configured and how often you are
collecting data, you may have to wait a bit until you see results.

Tanya Ruttenberg - RSIS Contractor
OTSO/DNE/NMPEB
tanya.ruttenberg at ssa.gov
410-965-9605


-----Original Message-----
From: Tobias Oetiker [mailto:oetiker+r at ee.ethz.ch] 
Sent: Monday, January 30, 2006 4:07 AM
To: Fernando Nieto
Cc: Ruttenberg, Tanya; rrd-users at list.ee.ethz.ch
Subject: Re: [rrd-users] Re: Cannot fetch the last update? (WAS [mrtg] Re:
Why all the NaNs?)

Hi Fernando,

this should be possible again in 1.2.12 I think

tobi
Today Fernando Nieto wrote:

> Hello, I've also observed that with rrdtool 1.2.x, including 1.2.12, 
> the following returns only NaN:
>
>    rrdtool fetch file.rrd -s TS -e TS
>
> With rddtool 1.0.x you could use this to obtain one explicit sample, 
> now to get the same result you need to do:
>
>    rrdtool fetch file.rrd -s TS-1 -e TS
>
> So, MRTG bugs apart, is this a rrdtool 1.2.x bug or a new feature?
>
> best regards,
> Fernando
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich  / // _
\/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

--
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