Network Management / (OpenView-NNM) Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Mib expression for ifutil

SOLVED
Go to Solution
Highlighted
Regular Advisor

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 ?

1 ACCEPTED SOLUTION
Trusted Contributor

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.
8 REPLIES
Regular Advisor Regular Advisor

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.
Regular Advisor

Re: Mib expression for ifutil

Where can i get the max value ? 

Trusted Contributor

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

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.
Regular Advisor

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 )
Regular Advisor

Re: Mib expression for ifutil

some how i made this formula

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

 

:)

Regular Advisor

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

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.