[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rrd-users
Subject:    [rrd-users]  Unbelievable fetch
From:       Leonia Klebanov <l.klebanov () f5 ! com>
Date:       2009-06-23 17:03:09
Message-ID: D3EAD5A419F7AA45AC864B43E1BF6D0F616128B453 () exch11 ! olympus ! f5net ! com
[Download RAW message or body]

Hi,
Did you receive solution to have rrd graph without interrupts? I mean following question:
Hi everybody,

I've been dealing with rrdtool for 1 week. Tutorials are a good way to
understand how it works.
I'm actually testing something, but the fetch is incorrect for me.
I will try to explain my problem :

1/ First, I create my graph with that :
/usr/local/rrdtool/bin/rrdtool create test.rrd --step 300 --start 1154077200
DS:TotalAccesses:DERIVE:300:0:100000000000 RRA:AVERAGE:0.5:1:600
RRA:MAX:0.5:1:600

2/ I import values on it :
rrdtool update test.rrd --template TotalAccesses 1154077202:15543824
1154077502:15559245 1154077802:15574243 1154078105:15591902
1154078403:15609148 1154078702:15627641 1154079002:15645008

rrdtool update test.rrd --template TotalAccesses 1154079304:15661930
1154079602:15679992 1154079904:15697662 1154080202:15717262
1154080502:15736468 1154080801:15756017 1154081101:15774657

As you can see, values are every 300 seconds approximately (i.e. 5mn).

3/ I try to fetch values  from the beginning :

/usr/local/rrdtool/bin/rrdtool fetch test.rrd AVERAGE -r
300 --start=1154077200 --end=1154081101

And I get that :
1154077500: 5.1403333333e+01
1154077800: 5.0002733333e+01
1154078100: nan
1154078400: 5.7872483221e+01
1154078700: 6.1809728177e+01
1154079000: 5.7916396656e+01
1154079300: nan
1154079600: 6.0610738255e+01
1154079900: nan
1154080200: 6.5771812081e+01
1154080500: 6.4031678747e+01
1154080800: 6.5372195764e+01
1154081100: 6.2144159792e+01
1154081400: nan

I think these nan ("Not A Number" I guess) means there are no values for
that timestamp.
I want a "clean graph", with no interruptions in data. I have one value in
the .rrd for every 5 minutes, so I can't see why I dont get what I want.

Maybe this is because some updates are 5mn+5sec after the previous values,
and not 5mn after exactly.

How can I get a graph without any interruptions in my data ?

I hope I have explained my problem as clearly as possible.

Thank you in advance for any help

--
Olivier




[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hi,<o:p></o:p></p>

<p class=MsoNormal>Did you receive solution to have rrd graph without interrupts?
I mean following question:<o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>Hi
everybody,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>I've
been dealing with rrdtool for 1 week. Tutorials are a good way to \
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>understand how it works.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>I'm
actually testing something, but the fetch is incorrect for me.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>I
will try to explain my problem :<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>1/
First, I create my graph with that :<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>/usr/local/rrdtool/bin/rrdtool create test.rrd --step 300 --start 1154077200 \
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>DS:TotalAccesses:DERIVE:300:0:100000000000 RRA:AVERAGE:0.5:1:600 \
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>RRA:MAX:0.5:1:600<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>2/
I import values on it :<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>rrdtool
update test.rrd --template TotalAccesses 1154077202:15543824 <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154077502:15559245 1154077802:15574243 1154078105:15591902 \
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154078403:15609148 1154078702:15627641 \
1154079002:15645008<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>rrdtool
update test.rrd --template TotalAccesses 1154079304:15661930 <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154079602:15679992 1154079904:15697662 1154080202:15717262 \
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154080502:15736468 1154080801:15756017 \
1154081101:15774657<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>As you
can see, values are every 300 seconds approximately (i.e. 5mn).<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>3/
I try to fetch values&nbsp; from the beginning :<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>/usr/local/rrdtool/bin/rrdtool fetch test.rrd AVERAGE -r <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>300
--start=1154077200 --end=1154081101<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>And
I get that :<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154077500: 5.1403333333e+01<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154077800: 5.0002733333e+01<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154078100: nan<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154078400: 5.7872483221e+01<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154078700: 6.1809728177e+01<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154079000: 5.7916396656e+01<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154079300: nan<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154079600: 6.0610738255e+01<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154079900: nan<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154080200: 6.5771812081e+01<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154080500: 6.4031678747e+01<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154080800: 6.5372195764e+01<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154081100: 6.2144159792e+01<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'>1154081400: nan<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>I
think these nan (&quot;Not A Number&quot; I guess) means there are no values
for <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>that
timestamp.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>I
want a &quot;clean graph&quot;, with no interruptions in data. I have one value
in <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>the
.rrd for every 5 minutes, so I can't see why I dont get what I \
want.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>Maybe
this is because some updates are 5mn+5sec after the previous values, \
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>and
not 5mn after exactly.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>How
can I get a graph without any interruptions in my data ?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>I
hope I have explained my problem as clearly as possible.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>Thank
you in advance for any help<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier \
New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>-- \
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>Olivier
<o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>



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

--===============0734562299==--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic