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: [EMAIL PROTECTED]

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



"Matt Ashfield" <[EMAIL PROTECTED]> on 02/09/2001 12:35:54 PM


To:   "Paul Pot" <[EMAIL PROTECTED]>, Chris
      Marlow/Burlington/Contr/[EMAIL PROTECTED]
cc:   <[email protected]>

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 <[EMAIL PROTECTED]>
To: Chris Marlow <[EMAIL PROTECTED]>
Cc: [email protected] <[email protected]>
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" <[EMAIL PROTECTED]> on 09-02-2001 14:59:14
>
>To:   [email protected]
>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: [EMAIL PROTECTED]
>
>
>--
>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
>




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