Hello All,
Does anyone know the MIBs need to query all active modems on Arris C4 and E6K CMTS? A scrape can be done with expect and awk but would seeking a cleaner method using SNMP to roll into a larger script.
Any guidance would be appreciated.
Thanks.
This is my suggestion:
1) SNMP walk the CMTS to get the docsis_index and the MAC Address, using docsIfCmtsCmStatusMacAddress (.1.3.6.1.2.1.10.127.1.3.3.1.2)
docsis_index will be the last digit on the returned OID, modem mac will is the returned value;
2) SNMP walk the CMTS to get the docsis state, using docsIfCmtsCmStatusValue (.1.3.6.1.2.1.10.127.1.3.3.1.9)
docsis_index will be in the same place, docsis state is the value
Put both results into arrays, then use the docsis_index value to match modem mac X docsis state.
I built a test app that could be useful. Check it out at http://www.msarmento.com.br/cmts_monitor.php
(Some test on C4, never tested on E6000. Maybe a good opportunity).
Hope it helps,
MS
you should try:
1.3.6.1.4.1.4998.1.1.110.1.1.11.14.0
but it may be deprecated
This is a great script for viewing modems online and status. I use it with Cacti to graph all states.
https://sourceforge.net/projects/hes123/files/