nanog mailing list archives
Re: Cisco CMTS SNMP OID's
From: Robert Drake <rdrake () direcpath com>
Date: Mon, 25 Jan 2016 21:58:14 -0500
This is from some internal PHP thing that isn't very good (well, it's lovely actually.. the problem is that it uses a forking method to query everything and isn't that fast. I'm trying to rewrite it)
Throw any of these into google if you're confused about them. It should return the correct MIB (except for the Casa ones. I'm not sure how I found those but you can ignore them if you don't have any Casa CMTS)
'.1.3.6.1.2.1.10.127.1.3.3.1.2' => 'macs', '.1.3.6.1.2.1.10.127.1.3.3.1.3' => 'ips', '.1.3.6.1.2.1.10.127.1.3.3.1.6' => 'rxpwr', '.1.3.6.1.2.1.10.127.1.3.3.1.9' => 'status', // genericstatus 0-7 '.1.3.6.1.2.1.10.127.1.3.3.1.13' => 'snr','.1.3.6.1.2.1.10.127.1.3.3.1.5' => 'dwnchnl', // this is actually upchannel ifindex
'.1.3.6.1.2.1.31.1.1.1.1' => 'ifname', // this is probably for any Cisco Docsis3 CMTS if ($cmts['DeviceModel']['name'] == 'UBR7225VXR') {unset($oids['.1.3.6.1.2.1.10.127.1.3.3.1.5']); // remove dwnchnl, we'll get that from SNR
unset($oids['.1.3.6.1.2.1.10.127.1.3.3.1.13']); $oids['.1.3.6.1.4.1.4491.2.1.20.1.4.1.4'] = 'snr'; } switch ($cmts['DeviceType']['name']) { case 'cisco':'.1.3.6.1.4.1.9.9.116.1.3.2.1.1' => 'status2', // cisco specific status cdxCmtsCmStatusValue
'.1.3.6.1.4.1.9.9.114.1.1.5.1.18' => 'flapcount', '.1.3.6.1.4.1.9.9.114.1.1.5.1.10' => 'flaptime' break; case 'Casa':'.3.6.1.4.1.20858.10.22.2.1.1.1' => 'status3', // casa specific status (totally different values from cisco)
'.1.3.6.1.4.1.20858.10.11.1.2.1.10' => 'flaptime', '.1.3.6.1.4.1.20858.10.11.1.2.1.9' => 'flapcount' ---------------------------------------------------------------------------------------------------------------------- things you need to pull from each cable modem: system.sysUpTime.0 transmission.127.1.1.1.1.6.3 down_pwr transmission.127.1.2.2.1.3.2 up_pwr transmission.127.1.1.4.1.5.3 down_snr You can also pull the modems log via an OID but I don't have that one handy. On 1/25/2016 6:45 PM, Lorell Hathcock wrote:
Thanks all for your suggestions. I am now successfully graphing SNR for each upstream channel. -----Original Message----- From: Yang Yu [mailto:yang.yu.list () gmail com] Sent: Sunday, January 24, 2016 5:11 PM To: Lorell Hathcock <lorell () hathcock org> Cc: NANOG list <nanog () nanog org> Subject: Re: Cisco CMTS SNMP OID's On Sun, Jan 24, 2016 at 1:06 PM, Lorell Hathcock <lorell () hathcock org> wrote:Signal to Noise per upstream channelCISCO-CABLE-SPECTRUM-MIB::ccsUpSpecMgmtSNR http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=ccsUpSpecMgmtSNRCable Modem counts of all kinds connected / online ranging offlineNot there if there are OIDs for `show cable modem docsis version summary`
Current thread:
- Cisco CMTS SNMP OID's Lorell Hathcock (Jan 24)
- Re: Cisco CMTS SNMP OID's Jason Hellenthal (Jan 24)
- Re: Cisco CMTS SNMP OID's Stephen Satchell (Jan 24)
- Re: Cisco CMTS SNMP OID's Yang Yu (Jan 24)
- Re: Cisco CMTS SNMP OID's Sam H. Merritt, III (Jan 25)
- RE: Cisco CMTS SNMP OID's Lorell Hathcock (Jan 25)
- Re: Cisco CMTS SNMP OID's Robert Drake (Jan 25)
- Re: Cisco CMTS SNMP OID's Nikos Mouat (Jan 26)