Aggregate bandwidth monitor for switch interfaces
Hello,
I'm using OpManager 9101 and have successfully created a custom monitor that displays the throughput of a switch interface using some notes from an old forum post. The monitor OID looks like the following:
(.1.3.6.1.2.1.2.2.1.10+1.3.6.1.2.1.2.2.1.16)*8/($DELTA_TIME*1000*1000)
This returns a rounded integer value in Mbps. The monitor is a little quirky (when I edit the monitor through a device snapshot, the polling interval and units I originally configured it with - 15 minutes and Mbps, respectively - do not show up) but it works.
Currently, when I look at the graph for the monitor, it displays as many graphs, one per interface. However, I would like the monitor to combine these values and return a total throughput value for the switch. I do have a custom graph definition in opmanager_graphInfo that looks like this:
<CUSTOMGRAPH Name="TotalBandwidth">
<YAXISTEXT>Mbps</YAXISTEXT>
<DISPLAYNAME>Total Bandwidth Utilization</DISPLAYNAME>
<name>TotalBandwidth</name>
<oid>(.1.3.6.1.2.1.2.2.1.10+1.3.6.1.2.1.2.2.1.16)*8/($DELTA_TIME*1000*1000)</oid>
<type>multinode</type>
<vendor>NetSNMP</vendor>
<Monitor>Traffic</Monitor>
<Description>Monitors the total throughput of a switch</Description>
<interval>900</interval>
<Index>.1.3.6.1.2.1.2.2.1.1</Index>
<DisplayColumn>.1.3.6.1.2.1.2.2.1.2</DisplayColumn>
<THRESHOLDENABLED>false</THRESHOLDENABLED>
</CUSTOMGRAPH>
I made sure to name the monitor "TotalBandwidth" to match the graph definition and have tried using both types "node" and "multinode."
Any suggestions on what I can do to return a total value? Or is there an easier way to go about doing this?
Thank you.
New to ADSelfService Plus?