Hi Anupama,
Thanks for the note.
I am trying to calculate OptimizationRatio in the <snmp-device-variables>
section using the below formula. I then display the output in the
<snmp-device-display> section but the calculation doesn’t seem to be working.
Where am I going wrong? This is in a Riverbed map.
<snmp-device-variables>
-- MIB Variable -- --
OID -- -- TYPE --
-- LEGEND --
bwAggInWan,
1.3.6.1.4.1.17163.1.1.5.3.1.2.0, INTEGER, "BW In
WAN"
bwAggOutWan,
1.3.6.1.4.1.17163.1.1.5.3.1.4.0, INTEGER, "BW Out
WAN"
bwAggInLan,
1.3.6.1.4.1.17163.1.1.5.3.1.1.0, INTEGER, "BW In
LAN"
bwAggOutLan,
1.3.6.1.4.1.17163.1.1.5.3.1.3.0, INTEGER, "BW Out
LAN"
OptimizationRatio,
(${bwAggInWan}/${bwAggOutWan})/(${bwAggInLan}/${bwAggOutLan}), CALCULATION,
"Optimization Ratio"
</snmp-device-variables>
I took a look at the Riverbed MIBs, and I have a couple observations:
1) The four variables are defined as Counter32 in the MIB, but you've declared
them as "INTEGER" in the probe. This means that InterMapper will treat them as
the absolute value of the counter, which won't have any relationship to the
other values.
You can declare them instead as "DEFAULT". InterMapper recognizes that they are
counters, and automatically computes the rates of traffic.
2) I would add the four values - bwAggInWAan, bwAggOutWan, bwAggInLan,
bwAggOutLan - to the <snmp-device-display> section to prove that the values are
what you expect.
3) I'm not really sure what the Optimization Ratio would represent. If you
compute the expression from the four values by hand, do you get the value you
expect?
4) Finally, I used the MIB Viewer Probe Builder page at
http://bit.ly/InterMapperMIBViewer to create a MIB Viewer Probe for the
Steelhead MIB. This shows *all* the values of the Steelhead MIB. I've attached
it in a zip file. To use it:
- Unzip the file
- Import the RBT-MIB.txt file with File->Import->MIB..., then import the
STEELHEAD-MIB.txt MIB file, then import the probe
(com.dartware.viewer.steelhead-mib.txt) with File -> Import -> Probe... (the
order is important)
- Finally, create a device for your Steelhead box, and set its probe to MIB
Viewer/STEELHEAD-MIB Viewer
- Open the status window and you can see all the variables; click the "View the
xxxtable" link to open a table view.
Please get back to me if you have further questions.
Rich Brown
[email protected]<mailto:[email protected]>
Dartware, LLC http://www.intermapper.com
66-7 Benning Street Telephone: 603-643-9600
West Lebanon, NH 03784-3407 Fax: 603-643-2289
____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]