Re: [rrd-users] RPN Question

This is a discussion on Re: [rrd-users] RPN Question within the RRD Users forums, part of the Networking and Network Related category; Hi, Thanks for all answers. I have Fabien's sugestion running now, but this have the same result. I'm ...


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
Wesley PA4WDH
 
Posts: n/a
Default Re: [rrd-users] RPN Question

Hi,

Thanks for all answers.

I have Fabien's sugestion running now, but this have
the same result.
I'm on rrdtool 1.0.48 and can't really upgrade easy,
so i can't use Erik's VDEF method.



--- Sven Ulland <sveniu@opera.com> wrote:

> > if (value_of_ds != unknown)
> > return new_value+total_caluclated_so_far
> > else return total_calculated_so_far

>
> Yes. That is explained in the tutorial found here:
>

http://oss.oetiker.ch/rrdtool/tut/cdeftutorial.en.html

I have read the tutorial, but i couldn't get it going
:-(

> DEF:ds_one=rrdfile.rrd:foo:AVERAGE
> DEF:ds_two=rrdfile.rrd:bar:AVERAGE
> DEF:ds_three=other_rrdfile.rrd:baz:AVERAGE
>
> CDEF:total=\
> ds_one,UN,0,ds_one,IF,\
> ds_two,UN,0,ds_two,IF,+,\
> ds_three,UN,0,ds_three,IF,+
>
> Something like that would do the trick.


This uses a different approach as i use now, so it's
worth a try. But i have to say: I have about 200 DS's
now. Is there any limit in the number of elements in
an RPN expression ?

Best regards,
Wesley

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
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 03:21 PM.


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