[rrd-users] Re: problem with displaying metrics of different ranges

This is a discussion on [rrd-users] Re: problem with displaying metrics of different ranges within the RRD Users forums, part of the Networking and Network Related category; The problem with my data is that the number varies. Is there a way to get the MAX value out, ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-23-2005
Charles Li
 
Posts: n/a
Default [rrd-users] Re: problem with displaying metrics of different ranges

The problem with my data is that the number varies.
Is there a way to get the MAX value out, so I can use
in the CDEF.

For example, I can do this:
CDEF:aline4=line4,10,/
But, instead of a static value of 10, I need a dynamic
value that depends on the MAX value of the metric.

I was hoping to get that information from the info,
but all I got for the .max was a NaN:
[oracle@epic12 epic227]$ rrdtool info epic227.rrd
filename = "epic227.rrd"
rrd_version = "0001"
step = 60
last_update = 1109175738
ds[num_user].type = "GAUGE"
ds[num_user].minimal_heartbeat = 120
ds[num_user].min = 0.0000000000e+00
ds[num_user].max = NaN
ds[num_user].last_ds = "UNKN"
ds[num_user].value = 1.8000000000e+01
ds[num_user].unknown_sec = 0
rra[0].cf = "MAX"
rra[0].rows = 1440
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[0].cdp_prep[2].value = NaN
rra[0].cdp_prep[2].unknown_datapoints = 0

Any idea?


Thanks,
Charles Li

--- Serge Maandag <serge.maandag@staff.zeelandnet.nl>
wrote:

> > I have an RRD that contains several metrics. The
> > value of the metrics is very different in the

> range,
> > i.e., one range is between 1 and 200, and another

> is
> > between 5000 to 20000. When I plot these 2

> metrics on
> > the same graph, only one line is readable. How

> can I
> > plot it so that I can see both values, they do not
> > need to be on the same scales. Once way I was
> > thinking of doing is to scale them to below 10,

> but I
> > need to get the MAX, which I do not know how to

> get...
> > Can anyone suggest better methods?

>
> Not really,
>
> you can divide the biggest one by ten and add a
> comment to
> the legend saying you did so. GPRINT the MAX value
> of the
> original value to the legend and use the scaled
> version
> for your LINE.
>
> Something like:
>
> DEF:small=/var/....
> DEF:big=/var/....
> CDEF:scaled=big,10,/
> LINE1:scaled....
> LINE1:small....
> GPRINT:big....
>
>
> You can also use a logarithmic y-axis.
>
> Serge.
>
> -------------
> Op de inhoud van dit e-mailbericht en de daaraan
> gehechte bijlagen is de inhoud van de volgende
> disclaimer van toepassing:
> http://www.zeelandnet.nl/disclaimer.php
>





__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

--
Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi

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 02:48 AM.


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