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

Ruttenberg, Tanya Tanya.Ruttenberg at ssa.gov
Tue Jan 24 16:15:56 MET 2006


Finally got around to upgrading. It worked. Thanks (again) Tobi!

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

-----Original Message-----
From: Tobias Oetiker [mailto:oetiker at ee.ethz.ch] 
Sent: Thursday, January 19, 2006 3:00 PM
To: Ruttenberg, Tanya
Cc: rrd-users at list.ee.ethz.ch
Subject: Re: [rrd-users] Cannot fetch the last update? (WAS [mrtg] Re: Why
all the NaNs?)

Tanya,

mrtg has a bug when fetching from rrd ... make sure you use the mrtg beta
version ... there the bug is fixed ... oh and you should use 1.2.12 from
rrdtool as well ... it got quite a lot of fixes too ...

cheers
tobi
Today Ruttenberg, Tanya wrote:

> MRTG 2.12.2
> Rrdtool 1.2.11
> On Solaris 8
>
> Switching this now to rrdtool list. Hope I'm not driving anyone nuts, 
> but I'm narrowing down the issue.
>
> It seems I cannot fetch my last update.  I noticed the symptom 
> originally in MRTG debugging out, but it can be duplicated from the
command line.
>
> Last update:
>
> 	s00c161# rrdtool last /data1/mrtg/OPS/ssa-cam-ops-w24e03_1_cpu.rrd
>
> 	1137698155
>
> Now I try to fetch the last update (this is what mrtg seems to be 
> doing, see debug output below):
>
> 	s00c161# rrdtool fetch /data1/mrtg/OPS/ssa-cam-ops-w24e03_1_cpu.rrd
> AVERAGE -s 1137698155 -e 1137698155
> 	                            ds0                 ds1
>
> 	1137698400: NaN NaN
> 	s00c161#
>
> What is going on here?  Here is the debugging output from mrtg:
>
>
> 2006-01-19 12:14:06 -- --log: Called: RRDs::last()
> 2006-01-19 12:14:06 -- --log: Called:
> RRDs::fetch(/data1/mrtg/OPS/ssa-cam-ops-w24e03_1_cpu.rrd,'AVERAGE','-s
> ',1137
> 690846,'-e',1137690846)
> 2006-01-19 12:14:06 -- --log:   got: NaN/NaN
>
> I feel I must be missing something obvious.
>
>
>
> -----Original Message-----
> From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] 
> On Behalf Of Ruttenberg, Tanya
> Sent: Thursday, January 19, 2006 12:38 PM
> To: mrtg at list.ee.ethz.ch
> Subject: [mrtg] Re: Why all the NaNs?
>
> Some more background as I'm sitting here thinking about this and 
> trying to figure it out.
>
> Turns out there *is* data going in there.  However, why can rrdtool 
> fetch not fetch it out?  It seems that rrdtool fetch always gets NaN.
>
> I'm trying to turn on Threshold checking, but the threshold checking 
> uses the value fetched from the rrd file.  If rrdfetch returns NaN 
> then the threshold checking returns the wrong result.
>
> Suggestions anyone?
>
> Tanya
>
> -----Original Message-----
>
>
> (Deleted to save space)
>
> --
> 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
>

-- 
 ______    __   _
/_  __/_  / /  (_) 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