On Fri, 4 Oct 2002, Kris McElroy wrote:
Is anyone using MRTG to Track the Modem Usage on a Total Control? I found some scripts that will do the box as a whole, but I need it to monitor usage by cards. For instance I have 9 Hiper Dsp's in a Box, 3 are for CityA, 6 for CityB the script that I use does the box as a whole not individually. Does anyone have anyway to track usage like this?
You can use the following OID to get the channel usage per dsp card. Note that the card slot base begins at 0 instead of 1 for this OID. 1.3.6.1.4.1.429.4.10.35.1.3.n You'll probably need to query the ARC from an SNMP script that spits out the sum in the form MRTG wants. Here's a sample code fragment from one of our scripts that sums up the counts in DSP slots 5 and 6: /usr/local/bin/snmpwalk archostname xyzabc .1.3.6.1.4.1.429.4.10.35.1.3 \ | awk -F' = ' '\ /\.[4-5] =/ { count += $2 } \ END {print count}'