Re: Mib expression for ifutil (343 Views)
Reply
Frequent Advisor
tanish
Posts: 119
Registered: ‎12-08-2011
Message 1 of 9 (379 Views)
Accepted Solution

Mib expression for ifutil

hello experts

 

Do you have any idea on how to calculate interface utilization of full duplex interface ?

 

In NNMi help page for half duplex the formula given is 

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

 

Also i am finding myself in a diffficult position to insert operators. Any tips ?

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

Re: Mib expression for ifutil

Hi Tanish,,

 

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

http://www.webnms.com/webnms/tutorials/ges_tutorial/help/appendix/calculating_bandwidth_utilization....

 

for configuring the same in NNMi,

 

refer "Chapter 17: Extending NNMi Capabilities" in  "nnmi_Help_administrators_9.20 pdf"..

 

there you can search for

an animated demonstration of creating this MIB Expression

 

-

--
-Vishnu.
Frequent Advisor
tanish
Posts: 119
Registered: ‎12-08-2011
Message 3 of 9 (365 Views)

Re: Mib expression for ifutil

Where can i get the max value ? 

Trusted Contributor
msharma
Posts: 128
Registered: ‎07-18-2011
Message 4 of 9 (344 Views)

Re: Mib expression for ifutil

Tanish,

This is a reasonably well documented topic, you may consider the following links useful:

 

http://h30499.www3.hp.com/t5/Network-Node-Manager-Support/Graphs-in-Octets-or-Bytes-per-second/m-p/5...

 

http://h30499.www3.hp.com/t5/Network-Node-Manager-Support/Graphs-in-Octets-or-Bytes-per-second/m-p/5...

 

http://h30499.www3.hp.com/t5/Network-Node-Manager-Support/Graphs-in-Octets-or-Bytes-per-second/m-p/5...

 

http://h30499.www3.hp.com/t5/Network-Node-Manager-Support/Graphs-in-Octets-or-Bytes-per-second/m-p/5...

 

 

There are also existing open limitations on calculating utilization on full duplex interfaces:

http://support.openview.hp.com/selfsolve/document/FID/DOCUMENTUM_QCCR1B103653

 

One work-around is described here:

http://support.openview.hp.com/selfsolve/document/KM1058214

 

Hope this info helps.

 

Mohit Sharma,
HP Software Support

The views expressed in my contributions are my own and do not necessarily reflect the views and strategy of HP.

If you find this or any post resolves your issue, please be sure to mark it as an accepted solution.
Trusted Contributor
msharma
Posts: 128
Registered: ‎07-18-2011
Message 5 of 9 (343 Views)

Re: Mib expression for ifutil

If you are facing difficulties in creating your own MIB expression, this flash tutorial (in built, in the NNMi help) might help:

 

http://<<PUT-YOUR-NNMI-FQDN-HERE>>/nnmDocs_en/htmlHelp/nmHelp/Subsystems/nmAdminHelp/Content/nmAdminHelp/MIB_expression_editor_demo.htm

Mohit Sharma,
HP Software Support

The views expressed in my contributions are my own and do not necessarily reflect the views and strategy of HP.

If you find this or any post resolves your issue, please be sure to mark it as an accepted solution.
Frequent Advisor
tanish
Posts: 119
Registered: ‎12-08-2011
Message 6 of 9 (333 Views)

Re: Mib expression for ifutil

i am totally fed up by creating */*/. Not sure why hp made this too complex to create expressions.

 

The tutorial says aboout only the first part and i succed in that. but still unable to derive the full formula last part killed me.

 

(((In + Out) * 8 ) / ( 2 * Speed)) * 100)

full formula 

(((In + Out) * 8 ) / ( 2 * Speed)) * 100) / ( SysUpTime * 0.01 )
Frequent Advisor
tanish
Posts: 119
Registered: ‎12-08-2011
Message 7 of 9 (329 Views)

Re: Mib expression for ifutil

some how i made this formula

((((ifinOctets + ¡fOutOctets) * 8)/ ((240000 * 2) * 100))/ (sysUpTime * 0.01))

 

:)

Frequent Advisor
tanish
Posts: 119
Registered: ‎12-08-2011
Message 8 of 9 (328 Views)

Re: Mib expression for ifutil

Now my question here  is i have to manually give the ifspeed.

 

what is the unit of measurement for ifspeed in the if%util mib expression. 

 

say for example if i want utilization for 24Mbps do i need to replace ifSpeed with 24000000 ? 

Trusted Contributor
msharma
Posts: 128
Registered: ‎07-18-2011
Message 9 of 9 (309 Views)

Re: Mib expression for ifutil

The ifSpeed is in terms of bit per second. So yes.

Mohit Sharma,
HP Software Support

The views expressed in my contributions are my own and do not necessarily reflect the views and strategy of HP.

If you find this or any post resolves your issue, please be sure to mark it as an accepted solution.
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.