[rrd-users] can RRDTool help me? merge datasets

This is a discussion on [rrd-users] can RRDTool help me? merge datasets within the RRD Users forums, part of the Networking and Network Related category; --===============0470944626== Content-Type: multipart/alternative; boundary="----=_Part_56182_26106535.1176880839425" ------=_Part_56182_26106535.1176880839425 Content-Type: text/plain; charset=ISO-8859-1; ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2007
p vr
 
Posts: n/a
Default [rrd-users] can RRDTool help me? merge datasets

--===============0470944626==
Content-Type: multipart/alternative;
boundary="----=_Part_56182_26106535.1176880839425"

------=_Part_56182_26106535.1176880839425
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hi

i am brand new to rrd and was wondering if rrd can help me with the
following situation, i have two time series:

1. concurrent users/time
2. connections/time

it is not obvious in this hypothetical example but in my situation i am not
able to sample my data from the same place, so each series is sampled
against it's own timeframe at roughly the same interval (2 seconds). now i
want graph connections vs users. according to the documentation rrdtool is
able to interpolate the datasets, so effectively i assume it should be able
to merge these datasets when i insert them into the same rrd. i created a
rrd like this:

rrdtool create user-rra-max-registerGroup.rrd --start 1176840612 --step 2
DS:user:GAUGE:15:0:10000 DS:connections:GAUGE:15:0:10000 RRA:AVERAGE:0.2
:2:256

i insert each series of data independently with a perl script, basically
calling:

rrdtool update my.rrd -t user $timestamp:$users
rrdtool update my.rrd -t connections $timestamp:$connections

these two series' of data was captured at overlapping time, however after
the insert fetching from the db they appear to be mutually exclusive:

1176842132: 3.0200000000e+02 nan
1176842136: 3.0275000000e+02 nan
1176842140: 3.0300000000e+02 nan <--- users ends here
1176842144: nan 4.7055000000e+03 <--- connections starts here
1176842148: nan 8.1140000000e+03
1176842152: nan 3.4725000000e+03

even though the connections series started earlier in time.

am i misunderstanding what rrdtool can do?

thanks
peter

------=_Part_56182_26106535.1176880839425
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hi<br><br>i am brand new to rrd and was wondering if rrd can help me with the following situation, i have two time series:<br><br>1. concurrent users/time<br>2. connections/time<br><br>it is not obvious in this hypothetical example but in my situation i am not able to sample my data from the same place, so each series is sampled against it's own timeframe at roughly the same interval (2 seconds). now i want graph connections vs users. according to the documentation rrdtool is able to interpolate the datasets, so effectively i assume it should be able to merge these datasets when i insert them into the same rrd. i created a rrd like this:
<br><br>rrdtool create user-rra-max-registerGroup.rrd --start 1176840612 --step 2 DS:user:GAUGE:15:0:10000 DS:connections:GAUGE:15:0:10000 RRA:AVERAGE:0.2:2:256<br><br>i insert each series of data independently with a perl script, basically calling:
<br><br>rrdtool update my.rrd -t user $timestamp:$users<br>rrdtool update my.rrd -t connections $timestamp:$connections<br><br>these two series' of data was captured at overlapping time, however after the insert fetching from the db they appear to be mutually exclusive:
<br><br>1176842132: 3.0200000000e+02 nan<br>1176842136: 3.0275000000e+02 nan<br>1176842140: 3.0300000000e+02 nan &lt;--- users ends here<br>1176842144: nan 4.7055000000e+03 &lt;--- connections starts here<br>1176842148: nan
8.1140000000e+03<br>1176842152: nan 3.4725000000e+03<br><br>even though the connections series started earlier in time.<br><br>am i misunderstanding what rrdtool can do?<br><br>thanks<br>peter<br><br>

------=_Part_56182_26106535.1176880839425--


--===============0470944626==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

--===============0470944626==--

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:16 AM.


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