Hello,
This is my first post here and need help on a snmp regarded issue. What I want to is to request information using snmp about how many wideband and how many docsis 2 modems are online in a mac domain. I have been googling for an oid but so far without success. Any ideas how one could accomplish this on a cisco cmts?
I dont think there is a mib that lets you easily grab the number of wideband modems.
If it was me, I would use a perl script to telnet into the cmts, run a "show cable modem sum", and parse the output.
Thanks mbowe,
Ah ok, I was hoping there would be an easier way over snmp ... :(
Using a script I would need to find a way on how to feed the information to the monitoring system. That was the reason I wanted to use SNMP.
Anyway thanks again for your feedback.
If your monitoring app can only do SNMP, then you could write the perl script, and then put it on a linux box, edit the snmpd.conf putting your script in as as an "exec" command
Then you can snmp poll the linux box, which in turn runs the script to retrieve the values.
Another idea would be to snmpwalk CISCO-CABLE-WIDEBAND-MIB::ccwbWBCmWBIfindex (.1.3.6.1.4.1.9.9.479.1.7.1.2)
eg MRTG lets you poll such data by prepending the OID with "WaLK"
Although this method is probably going to be slower and more CPU intensive on the CMTS than scripting a "telnet -> show cable modem sum tot". So maybe not a great solution if you have a lot of modems....