[rrd-users] Unexpected behavior after update and on graph

This is a discussion on [rrd-users] Unexpected behavior after update and on graph within the RRD Users forums, part of the Networking and Network Related category; I am updating a rrd of the following characteristics: RRDs::create("spamblocker.rrd", "--start", "1111707121&...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-25-2005
James Baldwin
 
Posts: n/a
Default [rrd-users] Unexpected behavior after update and on graph

I am updating a rrd of the following characteristics:
RRDs::create("spamblocker.rrd",
"--start", "1111707121",
"--step", "3600",
"DS:inbox:ABSOLUTE:7200:0:U",
"DS:knownspam:ABSOLUTE:7200:0:U",
"RRA:AVERAGE:0.5:1:8760");

Then I update this with information using:

RRDs::update ("target.rrd", "--template", "inbox:spam",
"1111707125:0:2");
RRDs::update ("target.rrd", "--template", "inbox:spam",
"1111708806:3:5");
RRDs::update ("target.rrd", "--template", "inbox:spam",
"1111712407:6:6");
RRDs::update ("target.rrd", "--template", "inbox:spam",
"1111716006:8:14");

(This is actually looped, but this is equivalent to the updates the
look creates)

An rrdtool dump shows the following rows created:

<!-- 2005-03-24 19:00:00 EST / 1111708800 --> <row><v> 1.7804002907e-03
</v><v> 4.1585190471e-03 </v></row>
<!-- 2005-03-24 20:00:00 EST / 1111712400 --> <row><v> 1.6664012459e-03
</v><v> 1.6683841925e-03 </v></row>
<!-- 2005-03-24 21:00:00 EST / 1111716000 --> <row><v> 2.2217573302e-03
</v><v> 3.8856454473e-03 </v></row>

I then graph the rrd using:

RRDs::graph("$TARGETDIR/daily.gif",
"--start", "$time_minus_1day",
"--end", "$time",
"DEF:inbox=$RRD:inbox:AVERAGE",
"DEF:knownspam=$RRD:spam:AVERAGE",
"AREA:spam#666633:Spam",
"STACK:inbox#CCCC99:Inbox");

All of this works without error. At this point a graph is created but
the vertical units are measured in milli units instead of whole numbers
(as the data within the XML dump suggests). I am updating with whole
numbers and am lost as to why these are being shrunken during the
conversions for average. What am I don't incorrectly?



-- Attached file removed by Ecartis and put at URL below --
-- Type: application/pgp-signature
-- Desc: This is a digitally signed message part
-- Size: 187 bytes
-- URL : http://www.ee.ethz.ch/~slist/p/10-PGP.sig


--
Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/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 10:21 PM.


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