ifutil mib expression (373 Views)
Reply
Frequent Advisor
tanish
Posts: 119
Registered: ‎12-08-2011
Message 1 of 5 (373 Views)

ifutil mib expression

Hello Experts,

 

Can some one give a brief desciption on the mib expression if%util ?

 

(((((ifInOctets+ifOutOctets)*8)/ifSpeed)*100)/(sysUpTime*0.01))

Regular Advisor
Vishnu Babu V
Posts: 82
Registered: ‎09-23-2010
Message 2 of 5 (347 Views)

Re: ifutil mib expression

Hi Tanish

 

 

     hope the below link explains you the following mib expression..

 

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a008009496e.shtml

 

 

--
-Vishnu.
Valued Contributor
gope
Posts: 51
Registered: ‎09-05-2005
Message 3 of 5 (345 Views)

Re: ifutil mib expression

I was sometime back searching HP support site to understand how interface utilization is computed and this exactly what I got...


The If%util and IfHC%util expressions that are provided out of the box with NNMi uses the following formula:

If%util = ((((ifInOctets + ifOutOctets) * 8) / ifSpeed) * 100) / (sysUpTime * 0.01))

IfHC%util = ((((ifHCInOctets + ifHCOutOctets) * 8) / ifSpeed) * 100) / (sysUpTime * 0.01)

For the the Interface Utilization to be calculated using the max of interface utilization (in, out), the NNM iSPI Performance for Metrics is required.

Below is the way it works with this NNM iSPI Performance for Metrics:

1.NNMi is computing the Interface Utilization in each direction separately: ifInUtilizationPct and ifOutUtilizationPct. It uses the interface High Capacity (HC) counters or Low Capacity (LC) counters according to RFC 2233.
2.NNMi is then passing the information to the Network Performance Server (NPS)
3.The iSPI Performance for Metrics on the NPS server side takes the larger of In or Out. It is also able to compute an Average from a number of samples.
Best Regards,
Gopinath Manickam

To show your appreciation, click KUDOS !!!
Frequent Advisor
tanish
Posts: 119
Registered: ‎12-08-2011
Message 4 of 5 (321 Views)

Re: ifutil mib expression

 

 

why it is again dived by (sysUpTime * 0.01) ?

Regular Advisor
Vishnu Babu V
Posts: 82
Registered: ‎09-23-2010
Message 5 of 5 (313 Views)

Re: ifutil mib expression

[ Edited ]

Hi Tanish,

 

     In snmpwalk we get sysuptime in 1/100th second, So we multiply with 0.01 in denominator with sysuptime..

 

 

 

--
-Vishnu.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.