[rrd-users] Re: Compromised value after NaN

This is a discussion on [rrd-users] Re: Compromised value after NaN within the RRD Users forums, part of the Networking and Network Related category; On Wed, Nov 29, 2006 at 12:35:01PM +0100, Markus Wiget wrote: > Hi rrd-users > > I'...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-29-2006
Alex van den Bogaerdt
 
Posts: n/a
Default [rrd-users] Re: Compromised value after NaN

On Wed, Nov 29, 2006 at 12:35:01PM +0100, Markus Wiget wrote:
> Hi rrd-users
>
> I'm using RRDtool for measuring availability. The values 0, 100 or U are
> added every 5 minutes, except at 2:30 when the job is ommited. The job
> is a Perl script which uses the RRDs module.



Are you sure, very very sure, only one update is missing ?


> My RRD files are created as follows (but with Perl, using RRDs module):
>
> rrdtool create slac.rrd --start=<starttime> --step=300 \
> DS:REAL:GAUGE:600:0:100 \
> DS:SLA:GAUGE:600:0:100 \


step 300, heartbeat 600. This means that if the updates would be
exactly five minutes apart, with the exception of that single one,
you should see no gap, at all.


> RRA:AVERAGE:0.5:1:210816 \
> RRA:AVERAGE:0.5:1:576
>
> The job does this (but with Perl, using RRDs module):
>
> rrdtool update <file> --template=REAL:SLA N:100:100
>
> (According to the log file, the RRD update is done somewhere between
> first and third second of minute.)


How should people reproduce a problem when you say "somewhere" ?

Why don't you create a script that shows the problem? I mean a
complete script, creating a (small!) database, doing (a few!) updates
and showing the resulting data with rrdtool fetch (!)
Use timestamps, not "N".

> So around 2:30 when the cron job is ommitted, I have two NaN's in the
> RRD file; this I understand.


I don't. Please explain why this would be.

> But what I do not understand: the first
> value after the NaN's is 9.99...+01, but I would expect 1.00...+02.


It looks as if your NaN is somehow being mangled into zero. If this
is indeed the case, I can see why your data would be corrupted.

--
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:37 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0