Hi There,
I Tried searching in this forum but could make it to read the Download and upload speed that the modem is using.
Can anyone help me how to solve this issue.
Which way can i read it with oid from a linux server or with php .
What's the oid that i need to read for a cable modem and what's the one for downstream upstream and others.
And if there is a formula can someone please add it here or give me his e-mail or skype .
Please help me to solve this requirement.
You should read the MIB files for the devices you are using and that specific software version. MIB files are text files with a specific format and you should not have any problems reading that. Should be provided by the vendor.
For reading SNMP values you can use net-snmp stack under linux. The is also a PHP library to interact with net-snmp.
I cannot give you specific OIDs because this can vary from vendor to vendor, you will need to do you own research. If you have issues, let us know here.
It is probably not as easy as you think (assuming you are asking about provisioned speed rather than current instantaneous speed)
The cable modem doesn't have an overall particular speed like an ADSL modem
With cable you would have to look what service flows have been provisioned. You can extract this data from tree around DOCS-QOS3-MIB::docsQosParamSetMaxTrafficRate
Or if your CM config files have a structured naming system, you could cheat a bit by grabbing the filename (DOCS-CABLE-DEVICE-MIB::docsDevServerConfigFile.0), and then lookup what speed that file provides
Hi darkng,
something like that is very complicated for pre-docsis 3.0 cmts and modems. And you would be better off to use a managed provisioning system (see attached screenshot). For DOCSIS 3.0 and 3.1, I believe there is an interface on the CMTS that can be setup to automatically do this (for billing cycle reasons).
Regards
contact (at) embeddedcomputers (dot) net