I Think you will have to provide additional RRAs in your RRD, where you'd store 
the percentage values. It's up to you to calculate those valuas in your script 
which is collecting the datas or to use the bultin calculation possibilities 
with CDEF (see the tutorials).

Hope this helps??

Regards,

        Thorsten

-----Ursprungliche Nachricht-----
Von: Giorgos Georgiadis [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 22. Januar 2004 11:14
An: Thorsten Volkmer-Wolf
Cc: [email protected]
Betreff: Re: AW: [rrd-users] calculating percentage


the problem is this (for example):

if the maximum rate for a day for http protocol is x MB/s,
how can i divide x with the total maximum rate?

(how can i have a variable x with the maximum rate for http..?)

Thorsten Volkmer-Wolf wrote:
> 
> ??? How about this: take the bytes counted for a specific protocol and divide 
> it by the total amount of bytes. The result has to be multiplied with 100, 
> and there you are.
> 
> But i don't think this was is really answering the question you had, eh?
> 
> Regards,
> 
>         Thorsten
> 
> -----Ursprungliche Nachricht-----
> Von: Giorgos Georgiadis [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 22. Januar 2004 09:05
> An: [email protected]
> Betreff: [rrd-users] calculating percentage
> 
> hello all.
> 
> i use rrdtool to generate daily, weekly, monthly and yearly graphs for
> the traffic of my router. In the graph i provide numeric values about
> the maximum, average and current traffic (for some protocols). Is there
> a way to calculate percentages (xx%) for every protocol for every column
> (maximum-average-current) ?
> 
> any help will be appreciated
> 
> --
> Unsubscribe mailto:[EMAIL PROTECTED]
> Help        mailto:[EMAIL PROTECTED]
> Archive     http://www.ee.ethz.ch/~slist/rrd-users
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to