[rrd-users] Re: Percentages in RRDTool

Chris Marlow marlowc at us.ibm.com
Fri Feb 9 18:46:22 MET 2001


Matt -

The interfaces I monitor are all half-duplex.  I am now charting the
inbound and outbound separately, and will soon (Pending the script
working), have a tally underneath which calculates in+out / max available.

I'm not sure I understand your calculations for full-duplex though.  By
"max of the in and out" , do you mean that  you take the HIGHER of the in
or out, whichever it may be, and base the percentage on that?  Okay.  That
makes sence (Had to write it out before it looked right....)


-Chris


-----
Christopher S. Marlow
AIX Infrastructure / 24x7 Security
Burlington, VT
Phone: 802-769-3253
Tie line: 446-3253
e-mail: marlowc at us.ibm.com

---------------------- Forwarded by Chris Marlow/Burlington/Contr/IBM on
02/09/2001 12:39 PM ---------------------------



"Matt Ashfield" <mda at unb.ca> on 02/09/2001 12:35:54 PM


To:   "Paul Pot" <paul_pot at nl.sonymusic.com>, Chris
      Marlow/Burlington/Contr/IBM at IBMUS
cc:   <rrd-users at list.ee.ethz.ch>

Subject:  Re: [rrd-users] Re: Percentages in RRDTool




HI,

Hw do you handle whether the interface is Full Duplex or Half? In my
non-graph data, I do it this way:
Half-Duplex => Add the in+out for my total bits
Full-Duplex => Take the max of the in and out

Do you guys do it the same way ? Or do you differentiate?

Cheers

Matt

-----Original Message-----
From: Paul Pot <paul_pot at nl.sonymusic.com>
To: Chris Marlow <marlowc at us.ibm.com>
Cc: rrd-users at list.ee.ethz.ch <rrd-users at list.ee.ethz.ch>
Date: Friday, February 09, 2001 11:27 AM
Subject: [rrd-users] Re: Percentages in RRDTool


>
>Chris,
>
>$size is the bandwitdh
>
># get the value in octets
>        "DEF:inbytes=$RRD1:input:MAX",
>
># to get the bits on the graph, use
>      "CDEF:bitsin=inbytes,8,*",
>
># calculate percentage
>        "CDEF:totalpercent=bitsin,$size,/,100,*"
>
># print totalpercent
>        "GPRINT:totalpercent:MAX:%3.0lf %% "
>
>The manual on rrdtool.eu.org has excellent examples.
>
>hth
>
>paul
><* speaking for himself *>
>
>
>
>
>"Chris Marlow" <marlowc at us.ibm.com> on 09-02-2001 14:59:14
>
>To:   rrd-users at list.ee.ethz.ch
>cc:    (bcc: Paul Pot)
>
>Subject:  [rrd-users] Percentages in RRDTool
>
>
>
>
>Hello all -
>
>Does anyone have a quick and dirty way of getting the traffic PERCENTAGES
>into the graph?  I'm processing the data through a perl script, so even if
>it's not an option for the graphing, I could always add it in by hand with
>the script.  The trouble is, I don't know how to get the percentages.  Any
>help would be appreciated
>
>Thanks
>
>-Chris
>
>-----
>Christopher S. Marlow
>IBM
>AIX Infrastructure / 24x7 Security
>Burlington, VT
>Phone: 802-769-3253
>Tie line: 446-3253
>e-mail: marlowc at us.ibm.com
>
>
>--
>Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
>Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
>Archive     http://www.ee.ethz.ch/~slist/rrd-users
>WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
>
>
>
>
>
>
>--
>Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
>Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
>Archive     http://www.ee.ethz.ch/~slist/rrd-users
>WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
>




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



More information about the rrd-users mailing list