[rrd-users] Re: another guy getting NaNs

This is a discussion on [rrd-users] Re: another guy getting NaNs within the RRD Users forums, part of the Networking and Network Related category; On Wednesday 29 November 2006 11:51, Alex van den Bogaerdt wrote: > On Wed, Nov 29, 2006 at 11:...


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
Lincoln Rutledge
 
Posts: n/a
Default [rrd-users] Re: another guy getting NaNs

On Wednesday 29 November 2006 11:51, Alex van den Bogaerdt wrote:
> On Wed, Nov 29, 2006 at 11:10:20AM -0500, Lincoln Rutledge wrote:
> > I apologize, I know you have been very helpful on this list. I think you
> > are trying to lead me toward solving my problem :) I'm just not sure
> > what you are trying to get me to do.

>
> What I am trying to get you to do, is to create an example that
> is clear, no room for misinterpretations.
>
> If I (or anyone else for that matter) run the script, the result
> should show what you try to describe in words.
>
> If we run the script another time, the result should be _exactly_
> the same.
>
> The only reason why results may differ, is if a different rrdtool
> version would do something different to your input.
>
> You then say why you think the output is wrong, what it should be,
> and I (or anyone else) can comment on this. Perhaps you are right,
> perhaps you found a bug. Or perhaps you don't understand what is
> happening, and you'll be told where you go wrong.

Hehe, okay.

I have no illusions about having found a bug in the software, only in my
perception capability.

I've been running such a test, to help me examine rrdtool's habits. I have in
fact been successful in putting data in an rrd.

I guess the next step then is to back through my project and move one step at
a time.

For my successful test, here is the create command:
rrdtool create test.rrd -s 3600 RRA:AVERAGE:.99999:1:24
DS:octets:GAUGE:4000:U:U

Then in crontab:
55 * * * * /usr/local/bin/rrdtool update test.rrd -t octets N:12345

If I do a dump:
<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
<step> 3600 </step> <!-- Seconds -->
<lastupdate> 1164822900 </lastupdate> <!-- 2006-11-29 12:55:00 EST -->

<ds>
<name> octets </name>
<type> GAUGE </type>
<minimal_heartbeat> 4000 </minimal_heartbeat>
<min> NaN </min>
<max> NaN </max>

<!-- PDP Status -->
<last_ds> UNKN </last_ds>
<value> 4.0745927690e+07 </value>
<unknown_sec> 0 </unknown_sec>
</ds>

<!-- Round Robin Archives --> <rra>
<cf> AVERAGE </cf>
<pdp_per_row> 1 </pdp_per_row> <!-- 3600 seconds -->

<params>
<xff> 9.9999000000e-01 </xff>
</params>
<cdp_prep>
<ds>
<primary_value> 1.2345000000e+04 </primary_value>
<secondary_value> 0.0000000000e+00 </secondary_value>
<value> NaN </value>
<unknown_datapoints> 0 </unknown_datapoints>
</ds>
</cdp_prep>
<database>
<!-- 2006-11-28 13:00:00 EST / 1164736800 --> <row><v>
NaN </v></row>
<!-- 2006-11-28 14:00:00 EST / 1164740400 --> <row><v>
NaN </v></row>
<!-- 2006-11-28 15:00:00 EST / 1164744000 --> <row><v>
NaN </v></row>
<!-- 2006-11-28 16:00:00 EST / 1164747600 --> <row><v>
NaN </v></row>
<!-- 2006-11-28 17:00:00 EST / 1164751200 --> <row><v>
NaN </v></row>
<!-- 2006-11-28 18:00:00 EST / 1164754800 --> <row><v>
NaN </v></row>
<!-- 2006-11-28 19:00:00 EST / 1164758400 --> <row><v>
NaN </v></row>
<!-- 2006-11-28 20:00:00 EST / 1164762000 --> <row><v>
NaN </v></row>
<!-- 2006-11-28 21:00:00 EST / 1164765600 --> <row><v>
NaN </v></row>
<!-- 2006-11-28 22:00:00 EST / 1164769200 --> <row><v>
NaN </v></row>
<!-- 2006-11-28 23:00:00 EST / 1164772800 --> <row><v>
NaN </v></row>
<!-- 2006-11-29 00:00:00 EST / 1164776400 --> <row><v>
NaN </v></row>
<!-- 2006-11-29 01:00:00 EST / 1164780000 --> <row><v>
NaN </v></row>
<!-- 2006-11-29 02:00:00 EST / 1164783600 --> <row><v>
NaN </v></row>
<!-- 2006-11-29 03:00:00 EST / 1164787200 --> <row><v>
NaN </v></row>
<!-- 2006-11-29 04:00:00 EST / 1164790800 --> <row><v>
NaN </v></row>
<!-- 2006-11-29 05:00:00 EST / 1164794400 --> <row><v>
NaN </v></row>
<!-- 2006-11-29 06:00:00 EST / 1164798000 --> <row><v>
NaN </v></row>
<!-- 2006-11-29 07:00:00 EST / 1164801600 --> <row><v>
NaN </v></row>
<!-- 2006-11-29 08:00:00 EST / 1164805200 --> <row><v>
NaN </v></row>
<!-- 2006-11-29 09:00:00 EST / 1164808800 --> <row><v>
NaN </v></row>
<!-- 2006-11-29 10:00:00 EST / 1164812400 --> <row><v>
1.2345000000e+04 </v></row>
<!-- 2006-11-29 11:00:00 EST / 1164816000 --> <row><v>
1.2345000000e+04 </v></row>
<!-- 2006-11-29 12:00:00 EST / 1164819600 --> <row><v>
1.2345000000e+04 </v></row>
</database>
</rra>
</rrd>


--
Lincoln Rutledge
Network Engineer
OARnet
614-292-7779 www.oar.net

--
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 05:02 AM.


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