[rrd-users] how to fetch last values

This is a discussion on [rrd-users] how to fetch last values within the RRD Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============0424393392== Content-Class: urn:content-classes:message Content-Transfer-Encoding: 7bit ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-03-2007
Żlker Aktuna
 
Posts: n/a
Default [rrd-users] how to fetch last values

This is a multi-part message in MIME format.

--===============0424393392==
Content-Class: urn:content-classes:message
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C83587.7ACF69D8"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C83587.7ACF69D8
Content-Type: text/plain;
charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable

Hi,

=20

I want to fetch the last entries for all DS in the rrd table.

=20

To achieve this I use the following command:

rrdtool fetch /tmp/rrdbuild/ttkapasite.rrd LAST

=20

But all I get is "NaN" values like :

=20

1196596800: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN

1196611200: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN

1196625600: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN

1196640000: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN

1196654400: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN

1196668800: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN

1196683200: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN

=20

=20

Is there a better way to see if my last update command was successful ?

=20

Thanks,

ilker
__________________________________________________ _______________________=
__________________________________________________ __________________
Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. =
Eger bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir =
sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen =
e-posta mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini =
mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi =
bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. =
Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan =
taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma =
sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti =
etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu =
kabul etmez.=20
This message is intended solely for the use of the individual or entity =
to whom it is addressed , and may contain confidential information. If =
you are not the intended recipient of this message or you receive this =
mail in error, you should refrain from making any use of the contents =
and from opening any attachment. In that case, please notify the sender =
immediately and return the message to the sender, then, delete and =
destroy all copies. This e-mail message, can not be copied, published or =
sold for any reason. This e-mail message has been swept by anti-virus =
systems for the presence of computer viruses. In doing so, however, =
sender cannot warrant that virus or other forms of data corruption may =
not be present and do not take any responsibility in any occurrence.
__________________________________________________ _______________________=
__________________________________________________ __________________

------_=_NextPart_001_01C83587.7ACF69D8
Content-Type: text/html;
charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable

<HTML >
<HEAD>
<META http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Diso-8859-9">


<meta name=3DGenerator content=3D"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;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
..MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</HEAD>
<BODY lang=3DEN-US link=3Dblue vlink=3Dpurple>
<DIV>
<DIV>
<DIV>

<div class=3DSection1>

<p class=3DMsoNormal><span lang=3DTR>Hi,<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR>I want to fetch the last entries =
for all DS in
the rrd table.<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR>To achieve this I use the following =
command:<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR>rrdtool fetch =
/tmp/rrdbuild/ttkapasite.rrd
LAST<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR>But all I get is “NaN” =
values like
:<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR>1196596800: NaN NaN NaN NaN NaN NaN =
NaN NaN
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR>1196611200: NaN NaN NaN NaN NaN NaN =
NaN NaN
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR>1196625600: NaN NaN NaN NaN NaN NaN =
NaN NaN
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR>1196640000: NaN NaN NaN NaN NaN NaN =
NaN NaN
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR>1196654400: NaN NaN NaN NaN NaN NaN =
NaN NaN
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR>1196668800: NaN NaN NaN NaN NaN NaN =
NaN NaN
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR>1196683200: NaN NaN NaN NaN NaN NaN =
NaN NaN
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN
NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN =
NaN NaN<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR>Is there a better way to see if my =
last update
command was successful ?<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR>Thanks,<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DTR>ilker<o:p></o:p></span></p>

</div>

</DIV>
<DIV STYLE=3D"FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">
<DIV STYLE=3D"FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">
<DIV STYLE=3D"FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: =
verdana">_________________________________________ _______________________=
__________________________________________________ _______________________=
____</DIV>
<DIV STYLE=3D"FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">Bu =
e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger =
bu e-posta mesaji size yanlislikla ulasmissa,&nbsp; icerigini hic bir =
sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen =
e-posta mesajini kullaniciya hemen geri gonderiniz&nbsp; ve&nbsp; tum =
kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir =
sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para =
karsiligi satilamaz.&nbsp; Bu e-posta mesaji viruslere karsi anti-virus =
sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin =
- virus koruma sistemleri ile kontrol ediliyor olsa bile - virus =
icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak =
hicbir sorumlulugu kabul etmez. </DIV>
<DIV STYLE=3D"FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">This =
message is intended solely for the use of the individual or entity to =
whom it is addressed , and may contain confidential&nbsp; information. =
If you are not the intended recipient of this message or you receive =
this mail in error, you should refrain from making any use of the =
contents and from opening any attachment. In that case, please notify =
the sender immediately and return the message to the sender, then, =
delete and destroy all copies. This e-mail message, can not be copied, =
published or sold for any reason. This e-mail message has been swept by =
anti-virus systems for the presence of computer viruses. In doing so, =
however,&nbsp; sender&nbsp; cannot warrant that virus or other forms of =
data corruption may not be present and do not take any responsibility in =
any occurrence.</DIV>
<DIV STYLE=3D"FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: =
verdana">_________________________________________ _______________________=
__________________________________________________ _______________________=
____</DIV>
</DIV>
</DIV>
</DIV>
</DIV></BODY></HTML>

------_=_NextPart_001_01C83587.7ACF69D8--


--===============0424393392==
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

--===============0424393392==--

Reply With Quote
Reply


Thread Tools
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

vB 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:33 AM.


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