Re: Mib expression for ifutil (171 Views)
Reply
Frequent Advisor
tanish
Posts: 112
Registered: ‎12-08-2011
Message 1 of 9 (217 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 ?

Please use plain text.
Regular Advisor
Vishnu Babu V
Posts: 82
Registered: ‎09-23-2010
Message 2 of 9 (209 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.
Please use plain text.
Frequent Advisor
tanish
Posts: 112
Registered: ‎12-08-2011
Message 3 of 9 (203 Views)

Re: Mib expression for ifutil

Where can i get the max value ? 

Please use plain text.
Trusted Contributor
msharma
Posts: 126
Registered: ‎07-18-2011
Message 4 of 9 (182 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.
Please use plain text.
Trusted Contributor
msharma
Posts: 126
Registered: ‎07-18-2011
Message 5 of 9 (181 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.
Please use plain text.
Frequent Advisor
tanish
Posts: 112
Registered: ‎12-08-2011
Message 6 of 9 (171 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 )
Please use plain text.
Frequent Advisor
tanish
Posts: 112
Registered: ‎12-08-2011
Message 7 of 9 (167 Views)

Re: Mib expression for ifutil

some how i made this formula

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

 

:)

Please use plain text.
Frequent Advisor
tanish
Posts: 112
Registered: ‎12-08-2011
Message 8 of 9 (166 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 ? 

Please use plain text.
Trusted Contributor
msharma
Posts: 126
Registered: ‎07-18-2011
Message 9 of 9 (147 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.
Please use plain text.
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