Expression in /usr/OV/conf/mibExpr.conf (from my notebook...)
For lans, measure both send and receive, since data only flows in one
direction at a time (half-duplex):
LANIf%Util \
"% interface utilization from \
((ifInOctets + ifOutOctets) * 8 * 100) / ifSpeed" \
.1.3.6.1.2.1.2.2.1.10. \
.1.3.6.1.2.1.2.2.1.16. + \
8 * 100 * \
.1.3.6.1.2.1.2.2.1.5. /
For WANs, measure separately, since data flows both ways at once
(full-duplex):
WANIf%RecvUtil -
"% interface utilization from \
(ifInOctets * 8 * 100) / ifSpeed" \
.1.3.6.1.2.1.2.2.1.10. \
8 * 100 * \
.1.3.6.1.2.1.2.2.1.5. /
WANIf%SendUtil -
"% interface utilization from \
(ifOutOctets * 8 * 100) / ifSpeed" \
.1.3.6.1.2.1.2.2.1.16. \
8 * 100 * \
.1.3.6.1.2.1.2.2.1.5. /
My notes on what to use when for WANs:
A 56kb line can send 56kb and receive 56kb at the same time. So in one
sense its capacity is 112kb, but not really, since neither can use more
than 56kb. Two methods:
1) Take the highest: util = max(wansend,wanrecv)
This tells you how close you are to the limit, regardless of the
direction that is being a pig.
2) Take the average or double the speed:
util=8*(inoctets+outoctets)/(ifspeed*2)*100
This gives effective util of entire link, but is deceptive about how
close you are to capacity. Eg 99% send and 21% receive would show as
60% util, but you are really maxxed on the send side.
Cordially,
Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
(248) 552-4968 Voicemail, Fax, Pager
---------------------- Forwarded by Leslie Clark/Southfield/IBM on 03-23-99
12:38 AM ---------------------------
Frantsen Christian <cf@INTERNOC.SE> on 03-22-99 05:09:08 AM
Please respond to Discussion of IBM NetView and POLYCENTER Manager on
NetView <NV-L@UCSBVM.UCSB.EDU>
To: NV-L@UCSBVM.UCSB.EDU
cc: (bcc: Leslie Clark/Southfield/IBM)
Subject: Collecting Statistics
Hi!
Im about to start doing some utilization calcultions on several different
connections (2mbit Radio LAN, 10/100Mbit Ethernet, 100Mbit FDDI) and was
wondering if someone has made some good ones in mibExpr.conf they would
like
to share :)
I'm rather new at this SNMP-stuff so it would be nice to get a chance to
have a look at how ppl are doing this, it would help me understand it
better.
Thanx in advance.
-----------------------------------------
Christian Frantsen
Internoc Scandinavia AB
Tel: +46-36-194843
Fax: +46-36-194651
|