Re: [rrd-users] Question using VDEF

This is a discussion on Re: [rrd-users] Question using VDEF within the RRD Users forums, part of the Networking and Network Related category; --===============1408394417== Content-Type: multipart/alternative; boundary=Apple-Mail-1-833573454 --Apple-Mail-1-833573454 Content-Transfer-Encoding: 7bit Content-Type: ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-24-2007
Peter Mueller
 
Posts: n/a
Default Re: [rrd-users] Question using VDEF


--===============1408394417==
Content-Type: multipart/alternative; boundary=Apple-Mail-1-833573454


--Apple-Mail-1-833573454
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed

Hello Alex,

thanks for this hint. It worked as you suggested.

Regards,
Peter


Am 21.07.2007 um 01:00 schrieb Alex van den Bogaerdt:

> On Fri, Jul 20, 2007 at 11:29:44PM +0200, Peter Mueller wrote:
>
>> This does not work:
>> VDEF:value=mydist,LAST
>> VDEF:distpercent=221,value,-,100,*,121,/
>> GPRINT:distpercent:"%2.2lf"
>>
>> The problem is in the second line when I calculate distpercent.
>> How can I do this? Any other way?

>
> Try cdef distpercent, and then taking the last value using vdef.
>
> HTH
> --
> Alex van den Bogaerdt
> http://www.vandenbogaerdt.nl/rrdtool/
>
> _______________________________________________
> rrd-users mailing list
> rrd-users@lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


--
Peter Mueller
peter.o.mueller@gmx.de



--Apple-Mail-1-833573454
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><DIV>Hello Alex,</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>thanks for this hint. It =
worked as you suggested.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Regards,</DIV><DIV>Peter</DIV=
><DIV><BR class=3D"khtml-block-placeholder"></DIV><BR><DIV><DIV>Am =

21.07.2007 um 01:00 schrieb Alex van den Bogaerdt:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">On Fri, Jul 20, 2007 at 11:29:44PM +0200, Peter =
Mueller wrote:</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> =
<BLOCKQUOTE type=3D"cite"><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; ">This does not =
work:</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">VDEF:value=3Dmydist,LAST</DIV><DIV=
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">VDEF:distpercent=3D221,value,-,100,*,121,/</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">GPRINT:distpercent:"%2.2lf"</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The =
problem is in the second line when I calculate distpercent.</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">How can I do this? Any other way?</DIV> =
</BLOCKQUOTE><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Try cdef distpercent, and then taking the last value =
using vdef.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">HTH</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Alex van =
den Bogaerdt</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><A =
href=3D"http://www.vandenbogaerdt.nl/rrdtool/">http://www.vandenbogaerdt.n=
l/rrdtool/</A></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; =
">____________________________________________ ___</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">rrd-users mailing list</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A =
href=3D"mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</A><=
/DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: =
0px; margin-left: 0px; "><A =
href=3D"https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users">https://lists=
..oetiker.ch/cgi-bin/listinfo/rrd-users</A></DIV> =
</BLOCKQUOTE></DIV><BR><DIV> <SPAN class=3D"Apple-style-span" =
style=3D"border-collapse: separate; border-spacing: 0px 0px; color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; =
"><DIV>--</DIV><DIV>Peter Mueller</DIV><DIV><A =
href=3D"mailto:peter.o.mueller@gmx.de">peter.o.mue ller@gmx.de</A></DIV><BR=
class=3D"Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>=

--Apple-Mail-1-833573454--


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

--===============1408394417==--

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 01:56 AM.


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