newdevice: Added detection for Cisco EPC devices (#6690)

* newdevice: Added detection for Cisco EPC devices

* updated test file

* added dbm support

* added snr support
This commit is contained in:
Neil Lathwood
2017-05-23 16:28:45 +01:00
committed by Tony Murray
parent 407c0a4470
commit d48be5f507
24 changed files with 10952 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
<?php
$class = 'snr';
$unit = 'dB';
$unit_long = 'SNR (dB)';
require 'includes/graphs/device/sensor.inc.php';

View File

@@ -0,0 +1,23 @@
<?php
$scale_min = '0';
require 'includes/graphs/common.inc.php';
$rrd_options .= " COMMENT:' Min Last Max\\n'";
$sensor['sensor_descr_fixed'] = substr(str_pad($sensor['sensor_descr'], 18), 0, 18);
$rrd_options .= " DEF:sensor=$rrd_filename:sensor:AVERAGE";
$rrd_options .= " LINE1.5:sensor#cc0000:'".$sensor['sensor_descr_fixed']."'";
$rrd_options .= " GPRINT:sensor$current_id:MIN:%5.2lfdB";
$rrd_options .= ' GPRINT:sensor:LAST:%5.2lfdB';
$rrd_options .= ' GPRINT:sensor:MAX:%5.2lfdB\l';
if (is_numeric($sensor['sensor_limit'])) {
$rrd_options .= ' HRULE:'.$sensor['sensor_limit'].'#999999::dashes';
}
if (is_numeric($sensor['sensor_limit_low'])) {
$rrd_options .= ' HRULE:'.$sensor['sensor_limit_low'].'#999999::dashes';
}

View File

@@ -373,7 +373,7 @@ if ($menu_sensors) {
echo(' <li role="presentation" class="divider"></li>');
}
$icons = array('fanspeed'=>'tachometer','humidity'=>'tint','temperature'=>'thermometer-full','current'=>'bolt','frequency'=>'line-chart','power'=>'power-off','voltage'=>'bolt','charge'=>'battery-half','dbm'=>'sun-o', 'load'=>'percent', 'runtime' => 'hourglass-half', 'state'=>'bullseye','signal'=>'wifi');
$icons = array('fanspeed'=>'tachometer','humidity'=>'tint','temperature'=>'thermometer-full','current'=>'bolt','frequency'=>'line-chart','power'=>'power-off','voltage'=>'bolt','charge'=>'battery-half','dbm'=>'sun-o', 'load'=>'percent', 'runtime' => 'hourglass-half', 'state'=>'bullseye','signal'=>'wifi', 'snr'=>'signal');
foreach (array('fanspeed','humidity','temperature','signal') as $item) {
if (isset($menu_sensors[$item])) {
echo(' <li><a href="health/metric='.$item.'/"><i class="fa fa-'.$icons[$item].' fa-fw fa-lg" aria-hidden="true"></i> '.nicecase($item).'</a></li>');

View File

@@ -19,6 +19,7 @@ $states = dbFetchCell("select count(*) from sensors WHERE sensor_class='st
$load = dbFetchCell("select count(*) from sensors WHERE sensor_class='load' AND device_id = ?", array($device['device_id']));
$signal = dbFetchCell("select count(*) from sensors WHERE sensor_class='signal' AND device_id = ?", array($device['device_id']));
$airflow = dbFetchCell("select count(*) from sensors WHERE sensor_class='airflow' AND device_id = ?", array($device['device_id']));
$snr = dbFetchCell("select count(*) from sensors WHERE sensor_class='snr' AND device_id = ?", array($device['device_id']));
unset($datas);
$datas[] = 'overview';
@@ -94,6 +95,10 @@ if ($airflow) {
$datas[] = 'airflow';
}
if ($snr) {
$datas[] = 'snr';
}
$type_text['overview'] = 'Overview';
$type_text['charge'] = 'Battery Charge';
$type_text['temperature'] = 'Temperature';
@@ -113,6 +118,7 @@ $type_text['state'] = 'State';
$type_text['load'] = 'Load';
$type_text['signal'] = 'Signal';
$type_text['airflow'] = 'Airflow';
$type_text['snr'] = 'SNR';
$link_array = array(
'page' => 'device',

View File

@@ -0,0 +1,7 @@
<?php
$class = 'snr';
$unit = 'dB';
$graph_type = 'sensor_snr';
require 'sensors.inc.php';

View File

@@ -69,6 +69,7 @@ require 'overview/sensors/load.inc.php';
require 'overview/sensors/state.inc.php';
require 'overview/sensors/signal.inc.php';
require 'overview/sensors/airflow.inc.php';
require 'overview/sensors/snr.inc.php';
require 'overview/eventlog.inc.php';
require 'overview/services.inc.php';
require 'overview/syslog.inc.php';

View File

@@ -0,0 +1,8 @@
<?php
$graph_type = 'sensor_snr';
$sensor_class = 'snr';
$sensor_unit = 'dB';
$sensor_type = 'snr';
require 'pages/device/overview/generic/sensor.inc.php';

View File

@@ -40,6 +40,9 @@ if ($used_sensors['state']) {
if ($used_sensors['signal']) {
$datas[] = 'signal';
}
if ($used_sensors['snr']) {
$datas[] = 'snr';
}
// FIXME generalize -> static-config ?
$type_text['overview'] = "Overview";
@@ -61,6 +64,7 @@ $type_text['dbm'] = "dBm";
$type_text['load'] = "Load";
$type_text['state'] = "State";
$type_text['signal'] = "Signal";
$type_text['snr'] = "SNR";
if (!$vars['metric']) {
$vars['metric'] = "processor";

View File

@@ -0,0 +1,7 @@
<?php
$graph_type = 'sensor_snr';
$class = 'snr';
$unit = 'dB';
require 'pages/health/sensors.inc.php';

View File

@@ -0,0 +1,23 @@
os: ciscoepc
group: cisco
text: 'Cisco EPC'
type: network
icon: cisco
over:
- { graph: device_bits, text: 'Device Traffic' }
- { graph: device_storage, text: 'Storage Usage' }
poller_modules:
bgp-peers: 0
hr-mib: 0
ntp: 0
ospf: 0
ucd-diskio: 0
ucd-mib: 0
discovery_modules:
bgp-peers: 0
cisco-vrf-lite: 0
ntp: 0
ucd-diskio: 0
discovery:
- sysObjectId:
- .1.3.6.1.4.1.1429.3940.

View File

@@ -391,6 +391,8 @@ function sensor_low_limit($class, $current)
$limit = -80;
break;
case 'airflow':
case 'dbm':
case 'snr':
$limit = ($current * 0.95);
break;
}//end switch
@@ -445,6 +447,8 @@ function sensor_limit($class, $current)
$limit = 80;
break;
case 'airflow':
case 'dbm':
case 'snr':
$limit = ($current * 1.05);
break;
}//end switch

View File

@@ -52,6 +52,7 @@ $run_sensors = array(
'state',
'temperature',
'voltage',
'snr',
);
sensors($run_sensors, $device, $valid, $pre_cache);
unset(

View File

@@ -0,0 +1,34 @@
<?php
/**
* ciscoepc.inc.php
*
* LibreNMS dbm discovery module for Cisco EPC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2017 Neil Lathwood
* @author Neil Lathwood <neil@lathwood.co.uk>
*/
foreach ($pre_cache['ciscoepc_docsIfDownstreamChannelTable'] as $index => $data) {
if (is_numeric($data['docsIfDownChannelPower'])) {
$descr = "Channel {$data['docsIfDownChannelId']}";
$oid = '.1.3.6.1.2.1.10.127.1.1.1.1.6.' . $index;
$divisor = 10;
$value = $data['docsIfDownChannelPower'];
discover_sensor($valid['sensor'], 'dbm', $device, $oid, 'docsIfDownChannelPower.'.$index, 'ciscoepc', $descr, $divisor, '1', null, null, null, null, $value);
}
}

View File

@@ -0,0 +1,30 @@
<?php
/**
* ciscoepc.inc.php
*
* LibreNMS os sensor pre-cache module for Cisco EPC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2017 Neil Lathwood
* @author Neil Lathwood <neil@lathwood.co.uk>
*/
echo 'docsIfDownstreamChannelTable ';
$pre_cache['ciscoepc_docsIfDownstreamChannelTable'] = snmpwalk_cache_oid($device, 'docsIfDownstreamChannelTable', array(), 'DOCS-IF-MIB');
echo 'docsIfSignalQualityTable ';
$pre_cache['ciscoepc_docsIfSignalQualityTable'] = snmpwalk_cache_oid($device, 'docsIfSignalQualityTable', array(), 'DOCS-IF-MIB');

View File

@@ -0,0 +1,34 @@
<?php
/**
* ciscoepc.inc.php
*
* LibreNMS snr discovery module for Cisco EPC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2017 Neil Lathwood
* @author Neil Lathwood <neil@lathwood.co.uk>
*/
foreach ($pre_cache['ciscoepc_docsIfSignalQualityTable'] as $index => $data) {
if (is_numeric($data['docsIfSigQSignalNoise'])) {
$descr = "Channel {$pre_cache['ciscoepc_docsIfDownstreamChannelTable'][$index]['docsIfDownChannelId']}";
$oid = '.1.3.6.1.2.1.10.127.1.1.4.1.5.' . $index;
$divisor = 10;
$value = $data['docsIfSigQSignalNoise'];
discover_sensor($valid['sensor'], 'snr', $device, $oid, 'docsIfSigQSignalNoise.'.$index, 'ciscoepc', $descr, $divisor, '1', null, null, null, null, $value);
}
}

View File

@@ -140,6 +140,7 @@ function record_sensor_data($device, $all_sensors)
'state' => '#',
'signal' => 'dBm',
'airflow' => 'cfm',
'snr' => 'SNR',
);
foreach ($all_sensors as $sensor) {

View File

@@ -0,0 +1,29 @@
<?php
/**
* ciscoepc.inc.php
*
* LibreNMS os poller module for Cisco EPC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2017 Neil Lathwood
* @author Neil Lathwood <neil@lathwood.co.uk>
*/
$ciscoepc = snmp_get_multi_oid($device, 'saHwDescrModel.0 saHwDescrSerialNumber.0', '-OUQs', 'SA-HARDWARE-MIB');
$hardware = $ciscoepc['saHwDescrModel.0'];
$serial = $ciscoepc['saHwDescrSerialNumber.0'];

5291
mibs/cisco/DOCS-IF-MIB Normal file
View File

File diff suppressed because it is too large Load Diff

1540
mibs/cisco/SA-CM-MIB Normal file
View File

File diff suppressed because it is too large Load Diff

266
mibs/cisco/SA-CM-MTA-MIB Normal file
View File

@@ -0,0 +1,266 @@
--**************************************************************************
--
-- Copyright 2011 Cisco Systems, Inc.
-- All Rights Reserved
-- No portions of this material may be reproduced in any
-- form without the written permission of:
-- Cisco Systems Inc.
-- 170 West Tasman Dr.
-- San Jose, CA 95134
-- USA
--**************************************************************************
SA-CM-MTA-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
enterprises,
Integer32
FROM SNMPv2-SMI
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB
TruthValue
FROM SNMPv2-TC ;
sa OBJECT IDENTIFIER ::= { enterprises 1429 }
saVoip OBJECT IDENTIFIER ::= { sa 78 }
saCmMta MODULE-IDENTITY
LAST-UPDATED "201612230000Z"
ORGANIZATION "Cisco Systems, Inc."
CONTACT-INFO "http://support.cisco.com"
DESCRIPTION
"Controls the behavior of the Cable Modem
functional block in Embedded MTA devices.
This MIB is active only at the Cable Modem IP address"
-- History
REVISION "201612230000Z"
DESCRIPTION
"Initial release of reduced-set module for releases based on BFC 5.7.x."
::= { saVoip 1 }
saCmMtaDevice OBJECT-TYPE
SYNTAX INTEGER {
disable(0),
enable(1)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Control embedded MTA.
If disable(0), MTA will not send out DHCP DISCOVER message.
If DHCP option 122.1 is missing, MTA is disabled and MIB is set to disable(0).
Note: Equivalent of VSIF 54.
Note: This object can be set via the CM configuration file ONLY."
::= { saCmMta 1 }
saCmMtaIpFilters OBJECT-TYPE
SYNTAX INTEGER {
perSpec(0),
openMta(1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"DOCSIS config file filters (from RFC2669) are normally applied to the MTA and all
CPE interfaces per the eDOCSIS spec. This MIB controls if the filters are applied
to the MTA.
0: Follow e-docsis spec - apply filters to MTA, Ethernet and USB ports (default)
1: Do not apply any filters to the MTA - apply filters only to Ethernet and USB ports
Filters do NOT block traffic to/from the MTA.
Note: Equivalent of VSIF 77"
DEFVAL { 0 }
::= { saCmMta 3 }
saCmMtaSidCount OBJECT-TYPE
SYNTAX INTEGER (4|16)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of SIDs the MTA supports."
::= { saCmMta 5 }
saCmMtaProvisioningMode OBJECT-TYPE
SYNTAX INTEGER {
packetCable(0),
oneConfigFile(1),
twoConfigFilesDHCP(2),
twoConfigFilesSNMP(3),
twoConfigFilesDHCPmacAddress(4),
twoConfigFilesMacAddressOnly(5),
webPage(6)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object must only be set via the CM configuration
file during the provisioning process.
After CM is operational, this object can not be set
via SNMP.
MTA provisioning modes:
0: MTA follows the PacketCable provisioning specifications
and supports BASIC, HYBRID and SECURE flows.
1: MTA will provision using only the CM config file. VoIP
parameters MUST be included in the CM config file as
VSIFs. This option will become obsolete.
2: MTA will learn the MTA config file name and location
from the MTA DHCP OFFER.
If the filename or location is missing, MTA will switch
to mode 3.
3: MTA will learn the MTA config file name and location via
SNMP. The MTA will send an SNMP inform to the
provisioning server specified in DHCP option 122.3 or
177.3, depending on saCmMtaDhcpPktcOption (note: MTA
will not provision if saCmMtaDhcpPktcOption = requireNone(1)
and no option 122.3 or 177.3 is specified).
4: MTA will learn the MTA config file name and location and
the MTA host name from the MTA DHCP OFFER/ACK.
If the filename is missing in the DHCP OFFER/ACK, the MTA
will request a config file name based on the MTA mac
address (example: 000f21c4e145.bin).
If the MTA host name is missing in the DHCP OFFER/ACK the
MTA will use a host name of MAC_ADDR (example: 000f21c4e145).
5: MTA will request a config file name based on the MTA mac
address (example: 000f21c4e145.bin).
MTA will learn the MTA config file location via DHCP.
MTA will use a host name of MAC_ADDR (example: 000f21c4e145).
MTA will NOT use the file name and host name in the
DHCP ACK even if the parameters are present.
6: Web page provisioning. Parameters from a web page will be used
rather than from config file. All the web page parameters are
stored in non-vol. Base provisioning method is 2 above.
For modes other than 0, MTA DHCP options 122, 177 are not required.
Note: This object can be set via the CM configuration file ONLY."
DEFVAL { 0 }
::= { saCmMta 7 }
saCmMtaDhcpPktcOption OBJECT-TYPE
SYNTAX INTEGER {
require122(0),
requireNone(1),
require177(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object must only be set via the CM configuration file during the provisioning process.
After CM is operational, this object can not be set via SNMP.
0: CM and MTA will accept only PacketCable option 122. If option 122 is not included
in CM DHCP OFFER, MTA will not start.
1: CM and MTA will accept 122 or 177 or none. If DHCP OFFER contains 122 or 177, MTA
will process it.
2: CM and MTA will accept only PacketCable option 177. If option 177 is not included
in CM DHCP OFFER, MTA will not start.
This MIB is saved into modem's non-vol memory and the new value is active after
the modem registers and reboots again (DHCP comes before config file parsing).
Note: Equivalent of VSIF 64
Note: This object can be set via the CM configuration file ONLY."
DEFVAL { 0 }
::= { saCmMta 8 }
saCmMtaRequireTod OBJECT-TYPE
SYNTAX INTEGER {
false(0),
true(1)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object controls if the EMTA will continue the provisioning
process if a response from a Time of Day server is not available
at provisioning step CM-8. If set to true(1) the EMTA will require
a ToD response. If set to false(0) the EMTA will request ToD but
will not require the TOD server response.
Note: For PacketCable secure provisioning, if this object is
set to false(0), and ToD is not available, MTA will probably
be unable to verify that certificates are valid and will not provision.
Note: this object can be set in the CM config file only."
DEFVAL { 1 }
::= { saCmMta 10 }
saCmMtaDecryptMtaConfigFile OBJECT-TYPE
SYNTAX INTEGER {
disable(1),
RSA-CM-cert(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"To be written."
DEFVAL { 1 }
::= { saCmMta 13 }
saCmMtaSwUpgradeControlTimer OBJECT-TYPE
SYNTAX INTEGER (0..7200)
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to control the conditions for rebooting
the modem following a software download:
0: Docsis Default: Always download software and reboot
immediately after software download,
1: Do not download software if any phone endpoint is off hook
and return 13 to docsDevSwAdminStatus when set to
upgradgeFromMgt(1),
other: Download software immediately but delay the reboot
until all lines have been on-hook for the specified
time in seconds.
Note: docsDevSwOperStatus shows inProgess(1) even if the
download itself has finished and MTA is waiting for user
to hang up."
DEFVAL { 0 }
::= { saCmMta 14 }
saCmMtaDhcpOptionSixty OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Defines the string value for SIP EMTA DHCP DISCOVER option 60 text.
This mib is only writeable in the the CM config file. Default option
60 value is pktc1.0"
DEFVAL { "pktc1.0" }
::= { saCmMta 20 }
saCmMtaProvSnmpSetCommunityString OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value set in this object becomes the SNMPv2c community string that will be accepted
in the SNMPSET sent from the provisioning server during MTA registration.
Provisioning methods affected include:
- Pktc HYBRID.1 (MTA-19 only)
- Pktc HYBRID.2 (MTA-19 only)
Note: Pktc SECURE mode is NOT affected.
Note: This setting only affects provisioning-related SNMPSET, not SNMPSET sent by
the prov server to the MTA after it has completed registration.
Note: This object can be set via the CM configuration file ONLY."
DEFVAL { "public" }
::= { saCmMta 26 }
-- ===========
-- TELNET TREE
saCmMtaCliAccess OBJECT IDENTIFIER ::= { saCmMta 1001 }
saCmMtaCliAccessPasswordType OBJECT-TYPE
SYNTAX INTEGER {
plain(0),
md5(1),
pod(2)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Password type"
DEFVAL { 0 }
::= { saCmMtaCliAccess 5 }
-- END OF TELNET TREE
END

591
mibs/cisco/SA-HARDWARE-MIB Normal file
View File

@@ -0,0 +1,591 @@
--**************************************************************************
--
-- Copyright 2015 Cisco Systems, Inc.
-- All Rights Reserved
-- No portions of this material may be reproduced in any
-- form without the written permission of:
-- Cisco Systems Inc.
-- 170 West Tasman Dr.
-- San Jose, CA 95134
-- USA
--**************************************************************************
SA-HARDWARE-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
enterprises
FROM SNMPv2-SMI
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB;
sa OBJECT IDENTIFIER ::= { enterprises 1429 }
saVoip OBJECT IDENTIFIER ::= { sa 78 }
saHardware MODULE-IDENTITY
LAST-UPDATED "201505110000Z"
ORGANIZATION "Cisco Systems Inc."
CONTACT-INFO "http://support.cisco.com"
DESCRIPTION
"This tree can be read from any IP in a device."
REVISION "201505110000Z"
DESCRIPTION "Add europe-5-85 to saHwDescrDiplexer. More details added to the current available options"
REVISION "201504130000Z"
DESCRIPTION "Changed le9562 to le9652(13) in saHwDescrSlic
Corrected UTC dates that give compile warnings"
REVISION "201504030000Z"
DESCRIPTION "Added le9562 (13) to saHwDescrSlic
Added en2810 (8) to saHwDescrMocaType"
REVISION "201501140000Z"
DESCRIPTION "Updated MIB Copyright Banner"
REVISION "0112150000Z"
DESCRIPTION "Added clr240-cl2330 to saHwDescrWirelessChip
Added usb30wBCM to saHwDescrUsbType
Added moca20wBCM to saHwDescrMocaType
Added internalBCM to saHwDescrEthSwitch
Added bcm33843E(22),
bcm3385(23),
puma6-D(24),
puma6MG-D(25)
to saHwDescrMainProcessor"
REVISION "201411200000Z"
DESCRIPTION "Added two new fields (mxl265d (11) and mxl267d (12)) to saHwDescrTuner"
REVISION "201407310000Z"
DESCRIPTION "Added le9541d(12) to saHwDescrSlic"
REVISION "0406140000Z"
DESCRIPTION "Moving bcm43228hp-5ghz(22) to (32) and changing bcm43217-bcm4360hp(32) to (22)"
-- History
REVISION "1402110000Z"
DESCRIPTION
"Add bcm3384 to saHwDescrMainProcessor"
REVISION "201401130000Z"
DESCRIPTION
"Remove ath9880-ath9580 from saHwDescrWirelessChip as it is not being used and replace (32) with bcm43217-bcm4360hp"
REVISION "201401100000Z"
DESCRIPTION
"Changed 3 lines: north-america-85/108(5) to north-america-85-108(5)puma6_B2(19), to puma6-B2(19), puma6MG_B2(20) to puma6MG-B2(20)"
REVISION "1310170000Z"
DESCRIPTION
"Updated saHwDescrMainProcessor for B2 chipset from Intel; updated saHwDescrDiplexer to include high US split"
REVISION "1307040000Z"
DESCRIPTION
"Added bcm33843 to saHwDescrMainProcessor, Added bcm6803 and ad9965 to saHwDescrMocaType, Added ath9880-ath9580 to saHwDescrWirelessChip"
REVISION "1306070000Z"
DESCRIPTION
"Updated saHwDescrWirelessType to reflect dual wifi card combination, changed saHwDescrWirelessChip combo bcm4331sp-bcm4360sp(19) to bcm4331sp-bcm4360hp(19)"
REVISION "1305300000Z"
DESCRIPTION
"Updated for Puma6MG: saHwDescrMainProcessor, saHwDescrTuner, saHwDescrWirelessType, saHwDescrWirelessChip, saHwDescrUsbType"
REVISION "1302060000Z"
DESCRIPTION
"Updated saHwDescrWirelessChip due to compilation issues"
REVISION "1212050000Z"
DESCRIPTION
"Updated saHwDescrWirelessChip description and values"
REVISION "1211280000Z"
DESCRIPTION
"Updated saHwDescrTuner and saHwDescrMocaType for the USGv2 products"
REVISION "1211070000Z"
DESCRIPTION
"Updated saHwDescrWirelessChip for the 3383-based products"
REVISION "1208230000Z"
DESCRIPTION
" Updated saHwDescrWirelessChip (13) to ath9381 from ath9380 as instructed by HW team"
REVISION "1205080000Z"
DESCRIPTION
"Updated HW nonvols for USGv2 based products:
saHwDescrMainProcessor, saHwDescrTuner, saHwDescrSlic, saHwDescrWirelessChip
saHwDescrUsbType, saHwDescrEthSwitch"
REVISION "1204100000Z"
DESCRIPTION
"Updated HW nonvols for 3383 based products - CR 19170
bcm53125 was changed to 53124 and bcm43227 was changed to bcm43217"
REVISION "1109020000Z"
DESCRIPTION
"Updated le9531d for D2R2 SL products"
REVISION "1108190000Z"
DESCRIPTION
"Updated Ethernet switch type with bcm53101e and bcm53125s. Corrected ar8316 from ar3816."
REVISION "1106130000Z"
DESCRIPTION
"Updated MainProcessor Type, Wireless Chip Type, SlicType, MocaType and Ethernet switch type
for new products"
REVISION "1011160000Z"
DESCRIPTION
"Added le9520S for single line DPC2420"
REVISION "1010260000Z"
DESCRIPTION
"Added le9500s new slictype for DPC2203"
REVISION "1010180000Z"
DESCRIPTION
"Added bcm3382 to the MainProcessor object"
REVISION "1004270000Z"
DESCRIPTION
"Added usb203380G(5) value to saHwUsbType"
REVISION "1004070000Z"
DESCRIPTION
"Added tipuma5Tc4800 for saHwDescrMainProcessor"
REVISION "0911050000Z"
DESCRIPTION
"Added singleBand and dualBand names to
WirelessChip type"
REVISION "0910050000Z"
DESCRIPTION
"Added items for
Ethernet Switch type
Wireless chip type
diplexer type ( korea)
main processor ( 3380)
tuner type
modified usb type"
REVISION "0801170000Z"
DESCRIPTION
"Added items for DOCSIS3.0 products
Added DMS tree"
REVISION "0709200000Z"
DESCRIPTION
"Added le9520ddtc to saHwDescrSlic (1868)"
REVISION "0707160000Z"
DESCRIPTION
"Added saHwDescrDmsType (1637)
Added saHwDescrMocaType (1637)
Added saHwDescrEthSwitch (1637)"
REVISION "0609110000Z"
DESCRIPTION
"Added bcm3349ipbg to saHwDescrMainProcessor
Added bcm3420iml to saHwDescrTuner
Added bcm4318 to saHwDescrWirelessChip
Added saHwDescrFactoryId (928)"
REVISION "0608070000Z"
DESCRIPTION
"Added bcm3381A1 and bcm3381A2 to saHwDescrMainProcessor
Added bcm3420x3 to saHwDescrTuner
Added usb20w3381 to saHwDescrUsbType
Changed usb20 to usb20wPLX in saHwDescrUsbType"
REVISION "0512020000Z"
DESCRIPTION
"Initial release"
::= { saVoip 4 }
saHwDescr OBJECT IDENTIFIER ::= { saHardware 1 }
saHwDescrModel OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 1 }
saHwDescrHardwareVersion OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 2 }
saHwDescrSerialNumber OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 3 }
saHwDescrCmMacAddress OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 4 }
saHwDescrManufactureDate OBJECT-TYPE
SYNTAX SnmpAdminString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 5 }
saHwDescrPowerSupply OBJECT-TYPE
SYNTAX INTEGER
{
internal-switching(1),
external(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 6 }
saHwDescrDiplexer OBJECT-TYPE
SYNTAX INTEGER
{
none(0),
north-america-5-42(1),
europe-5-65(2),
japan(3),
korea(4),
north-america-85-108(5),
europe-5-85(6)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 7 }
saHwDescrMainProcessor OBJECT-TYPE
SYNTAX INTEGER
{
bcm3349(1),
bcm3349kfb(2),
bcm3368(3),
bcm3381A1(4),
bcm3381A2(5),
bcm3349ipbg(6),
tipuma5(7),
bcm3361(8),
bcm3378(9),
bcm3380(10),
tipuma5Tc4800(11),
bcm3382(12),
bcm3371(13),
bcm3379(14),
bcm3383(15),
puma6(16),
puma6MG(17),
bcm33843Z(18),
puma6-B2(19),
puma6MG-B2(20),
bcm3384(21),
bcm33843E(22),
bcm3385(23),
puma6-D(24),
puma6MG-D(25),
bcm3384ZU(26)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"tipuma5Tc4800(11) value will represent TI chips 4800zdw, 4800zdwg, 4800zdwgu.
and original tipuma5(7)value will represent TI chips 4830zdw, 4830zdwg and 4830zdwgu "
::= { saHwDescr 8 }
saHwDescrTuner OBJECT-TYPE
SYNTAX INTEGER
{
none(0),
bcm3419(1),
bcm3420(2),
bcm3420x3(3),
bcm3420iml(4),
mt2170(5),
bcm3421(6),
bcmInternal(7),
mxl265(8),
mxl265v2(9),
mxl267 (10),
mxl265d (11),
mxl267d (12)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 9 }
saHwDescrSlic OBJECT-TYPE
SYNTAX INTEGER
{
none(0),
le9500b(1),
le9500c(2),
le9500d(3),
le9520ddtc(4),
le88276(5),
le9530d(6),
le9500s(7),
le9520s(8),
le9540d(9),
le9531d(10),
zl88702(11),
le9541d(12),
le9652 (13)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 10 }
saHwDescrMemoryMain OBJECT-TYPE
SYNTAX INTEGER
UNITS "Megabytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 11 }
saHwDescrMemoryFlash OBJECT-TYPE
SYNTAX INTEGER
UNITS "Megabytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 12 }
saHwDescrWirelessType OBJECT-TYPE
SYNTAX INTEGER
{
none(0),
ieee80211b(1),
ieee80211g(2),
ieee80211n(3),
ieee80211ac(4),
ieee80211n-ieee80211ac(5)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 13 }
saHwDescrWirelessChip OBJECT-TYPE
SYNTAX INTEGER
{
none(0),
bcm4306(1),
bcm4318(2),
bcm4318E(3),
bcm4322(4),
bcm43224-dualBand(5),
bcm43225-singleBand(6),
bcm4313(7),
bcm43217(8),
bcm43228(9),
bcm43217sp-bcm43228sp(10),
ath9380(11),
ath9580(12),
ath9381sp-ath9580sp(13),
bcm43228sp-5ghz(14),
bcm4331sp(15),
bcm43217sp-bcm4331sp(16),
bcm4331sp-bcm4331sp(17),
bcm43217sp-bcm4360sp(18),
bcm4331sp-bcm4360hp(19),
bcm43217hp(20),
bcm43228hp(21),
bcm43217-bcm4360hp (22), -- moved bcm43228hp-5ghz to (32)
bcm43217hp-bcm4331sp(23),
bcm43217hp-bcm4360sp(24),
bcm4331hp-bcm43217sp(25),
bcm4331hp-bcm43228sp(26),
bcm4331hp-bcm4331sp(27),
bcm4331hp-bcm4331hp(28),
bcm4331hp-bcm4360sp(29),
bcm4331hp-bcm4360hp(30),
ath9381sp-qca9880(31),
bcm43228hp-5ghz(32), -- removed ath9880-ath9580(32) and replace with bcm43217-bcm4360hp, moved 43217+4360hp to (22)
clr240-cl2330(33)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Wireless chip hardware configuration.
SP stands for Standard Power
HP stands for High Power
For two-chip configurations, the chip on the left is 2.4GHz, the other is 5 GHz.
The following chips are dual-band capable: 4331, 43224, 43228.
The following chips are 5GHz capable: 4360.
The following chips support up to 3x3: 9380, 9580, 9381, 4331.
The following chips support up to 2x2: 43224, 43225, 43217, 43228."
::= { saHwDescr 14 }
saHwDescrDectType OBJECT-TYPE
SYNTAX INTEGER
{
none(0),
north-america(1),
europe(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 15 }
saHwDescrUsbType OBJECT-TYPE
SYNTAX INTEGER
{
none(0),
usb11(1),
usb20wPLX(2),
usb20w3381(3),
usb20wPuma5(4),
usb203380G(5),
usb20wPuma6(6),
usb20wPuma6MG(7),
usb30wBCM(8)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 16 }
saHwDescrFactoryId OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 17 }
saHwDescrDmsType OBJECT-TYPE
SYNTAX INTEGER {
none(0),
dms1(1)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 18 }
saHwDescrMocaType OBJECT-TYPE
SYNTAX INTEGER {
none(0),
en2210(1),
en2510(2),
en2710(3),
vxc1030(4),
bcm6803(5),
ad9965(6),
moca20wBCM(7),
en2810 (8)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 19 }
saHwDescrEthSwitch OBJECT-TYPE
SYNTAX INTEGER {
none(0),
bcm5325m(1),
marv6095f(2),
bcm5325e(3),
bcm53115s(4),
ar8316(5),
bcm53101e(6),
bcm53124s(7),
marv6172(8),
internalBCM(9)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescr 20 }
saHwDescrIntCount OBJECT IDENTIFIER ::= { saHwDescr 101 }
saHwDescrIntCountEthernet OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescrIntCount 1 }
saHwDescrIntCountUsb OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescrIntCount 2 }
saHwDescrIntCountPhoneLine OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescrIntCount 3 }
saHwDescrIntCountMaxBattery OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescrIntCount 4 }
saHwDescrIntCountWireless OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescrIntCount 5 }
saHwDescrIntCountDect OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { saHwDescrIntCount 6 }
END

144
mibs/cisco/SA-MTA-MIB Normal file
View File

@@ -0,0 +1,144 @@
--**************************************************************************
--
-- Copyright 2010 Scientific Atlanta, A Cisco Company
-- All Rights Reserved
-- No portions of this material may be reproduced in any
-- form without the written permission of:
-- Scientific Atlanta, A Cisco Company
-- 5030 Sugarloaf Pkwy
-- Lawrenceville, Georgia 30044
--
--**************************************************************************
SA-MTA-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
enterprises,
Integer32,
Unsigned32
FROM SNMPv2-SMI
ifIndex
FROM IF-MIB
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB
TruthValue,
DateAndTime
FROM SNMPv2-TC ;
sa OBJECT IDENTIFIER ::= { enterprises 1429 }
saVoip OBJECT IDENTIFIER ::= { sa 78 }
saMta MODULE-IDENTITY
LAST-UPDATED "201611100000Z"
ORGANIZATION "Cisco Inc."
CONTACT-INFO "vveeraga@cisco.com"
DESCRIPTION
"saMtaDevLCSSignalingSupport controls the LCS Signaling."
-- History
REVISION "201611100000Z"
DESCRIPTION
"Initial release of reduced-set module for releases based on BFC 5.7.x."
::= { saVoip 3 }
-- MTA Device
saMtaDevice OBJECT IDENTIFIER ::= { saMta 1 }
saMtaDevOffHookWarnTOBusy OBJECT-TYPE
SYNTAX INTEGER {
disabled(0),
enabled(1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object configures whether an endpoint should ring off-hook warning tone.
When this feature is disabled(0), Endpoint should ring off-hook warning tone.
When this feature is enabled(1), Endpoint should ring busy tone instead of off-hook warning tone.
The default value of this object is disabled(0)."
DEFVAL { 0 }
::= { saMtaDevice 61 }
-- ==========================
-- ENDPOINT TABLE STARTS HERE
-- ==========================
saMtaEndPointTable OBJECT-TYPE
SYNTAX SEQUENCE OF SaMtaEndPointEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table describes the MTA EndPoint
Volume configuration. "
::= { saMta 2 }
saMtaEndPointEntry OBJECT-TYPE
SYNTAX SaMtaEndPointEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" List of attributes for a single MTA endpoint interface."
INDEX { ifIndex }
::= { saMtaEndPointTable 1 }
SaMtaEndPointEntry ::= SEQUENCE {
saMtaEndPntHookFlashMinTime INTEGER,
saMtaEndPntHookFlashMaxTime INTEGER,
saMtaEndPntStatePhysical INTEGER,
saMtaEndPntStateLogical INTEGER
}
saMtaEndPntHookFlashMinTime OBJECT-TYPE
SYNTAX INTEGER (40..2000)
UNITS "milliseconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Shortest onhook time at which hook-flash event will be detected, in miliseconds.
Breaks in loop current with shorter duration are assumed to be noise and are ignored."
::= { saMtaEndPointEntry 1 }
saMtaEndPntHookFlashMaxTime OBJECT-TYPE
SYNTAX INTEGER (100..2000)
UNITS "milliseconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Longest onhook time at which hook-flash event will be detected,
in miliseconds. If onhook time is longer then saMtaHookFlashMaxTime,
hang up event will be detected."
::= { saMtaEndPointEntry 2 }
saMtaEndPntStatePhysical OBJECT-TYPE
SYNTAX INTEGER {
onHook(1),
offHook(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Returns the physical state of the end point.
1: No phones attached or one or more phones are attached and
on-hook
2: One or more phones are attached and off-hook"
::= { saMtaEndPointEntry 6 }
saMtaEndPntStateLogical OBJECT-TYPE
SYNTAX INTEGER {
connectedIdle(1),
disconnected(2),
inCallVoice(3),
inCallData(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Returns the logical state of the end point.
1: endpoint is connected to CMS and not in call
2: endpoint is not connected to CMS
3: endpoint is in voice mode call
4: endpoint is in data mode (fax/modem) call"
::= { saMtaEndPointEntry 7 }
END

2898
mibs/cisco/SA-RG-MIB Normal file
View File

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,2 @@
1.3.6.1.2.1.1.1.0|4|Cisco EPC3940L EuroDocsis 3.0 2-PORT Voice Gateway <<HW>>
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.1429.3940.3.2.1.1.0