newdevice: Added additional sensor support for Cisco ONS (#7096)

* newdevice: Added additional sensor support for Cisco ONS

* updated discovery yaml + added mibs
This commit is contained in:
Neil Lathwood
2017-08-13 20:21:55 +01:00
committed by GitHub
parent 262a3967ec
commit 806f5cce74
19 changed files with 66649 additions and 8 deletions

View File

@@ -0,0 +1,29 @@
mib: CERENT-ENVMON-MIB:ENTITY-MIB
modules:
sensors:
pre-cache:
data:
- oid:
- entPhysicalDescr
voltage:
data:
-
oid: cerentEnvMonVoltageStatsTable
num_oid: .1.3.6.1.4.1.3607.2.80.10.1.30.
value: cerentEnvMonVoltageStatsCurrentValue
index: 'cerentEnvMonVoltageStats.{{ $index }}'
descr: '{{ $entPhysicalDescr }} - {{ $cerentEnvMonVoltageStatsDescr }}'
divisor: 1000
warn_limit: cerentEnvMonVoltageStatsThresholdHigh
high_limit: cerentEnvMonVoltageStatsThresholdVeryHigh
low_warn_limit: cerentEnvMonVoltageStatsThresholdLow
low_limit: cerentEnvMonVoltageStatsThresholdVeryLow
temperature:
data:
-
oid: cerentEnvMonTemperatureStatsTable
num_oid: .1.3.6.1.4.1.3607.2.80.20.1.30.
value: cerentEnvMonTemperatureStatsCurrentValue
index: 'cerentEnvMonTemperatureStats.{{ $index }}'
descr: '{{ $entPhysicalDescr }} - {{ $cerentEnvMonTemperatureStatsDescr }}'
high_limit: cerentEnvMonTemperatureStatsThresholdHigh

View File

@@ -1077,6 +1077,7 @@ function discovery_process(&$valid, $device, $sensor_type, $pre_cache)
foreach ($device['dynamic_discovery']['modules']['sensors'][$sensor_type]['data'] as $data) { foreach ($device['dynamic_discovery']['modules']['sensors'][$sensor_type]['data'] as $data) {
$tmp_name = $data['oid']; $tmp_name = $data['oid'];
$raw_data = $pre_cache[$tmp_name]; $raw_data = $pre_cache[$tmp_name];
$cached_data = $pre_cache['__cached'] ?: array();
foreach ($raw_data as $index => $snmp_data) { foreach ($raw_data as $index => $snmp_data) {
$value = is_numeric($snmp_data[$data['value']]) ? $snmp_data[$data['value']] : (is_numeric($snmp_data[$data['oid']]) ? $snmp_data[$data['oid']]: false); $value = is_numeric($snmp_data[$data['value']]) ? $snmp_data[$data['value']] : (is_numeric($snmp_data[$data['oid']]) ? $snmp_data[$data['oid']]: false);
if (can_skip_sensor($value, $data, $sensor_options) === false && is_numeric($value)) { if (can_skip_sensor($value, $data, $sensor_options) === false && is_numeric($value)) {
@@ -1085,10 +1086,16 @@ function discovery_process(&$valid, $device, $sensor_type, $pre_cache)
$descr = $snmp_data[$data['descr']]; $descr = $snmp_data[$data['descr']];
} else { } else {
$descr = str_replace('{{ $index }}', $index, $data['descr']); $descr = str_replace('{{ $index }}', $index, $data['descr']);
preg_match('/(\{\{ \$)([a-zA-Z0-9]+)( \}\})/', $descr, $tmp_var); preg_match_all('/({{ [\$a-zA-Z0-9]+ }})/', $descr, $tmp_var, PREG_PATTERN_ORDER);
$tmp_var = $tmp_var[2]; $tmp_vars = $tmp_var[0];
if ($snmp_data[$tmp_var]) { foreach ($tmp_vars as $k => $tmp_var) {
$descr = str_replace("{{ \$$tmp_var }}", $snmp_data[$tmp_var], $descr); $tmp_var = preg_replace('/({{ | }}|\$)/', '', $tmp_var);
if ($snmp_data[$tmp_var]) {
$descr = str_replace("{{ \$$tmp_var }}", $snmp_data[$tmp_var], $descr);
}
if ($cached_data[$index][$tmp_var]) {
$descr = str_replace("{{ \$$tmp_var }}", $cached_data[$index][$tmp_var], $descr);
}
} }
} }
$divisor = $data['divisor'] ?: ($sensor_options['divisor'] ?: 1); $divisor = $data['divisor'] ?: ($sensor_options['divisor'] ?: 1);

View File

@@ -24,7 +24,12 @@ if (isset($device['dynamic_discovery']['modules']['sensors'])) {
$snmp_flag = '-OeQUs'; $snmp_flag = '-OeQUs';
} }
$snmp_flag .= ' -Ih'; $snmp_flag .= ' -Ih';
$pre_cache[$tmp_name] = snmpwalk_cache_oid($device, $oid, array(), $device['dynamic_discovery']['mib'], null, $snmp_flag); if ($key === 'pre-cache') {
$array_data = '__cached';
} else {
$array_data = $tmp_name;
}
$pre_cache[$array_data] = snmpwalk_cache_oid($device, $oid, $pre_cache[$array_data], $device['dynamic_discovery']['mib'], null, $snmp_flag);
} }
} }
} }

24419
mibs/cisco/CERENT-454-MIB Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,311 @@
-- **************************************************************
-- CERENT-ENVMON-MIB module
--
-- This module contains the environmental monitoring objects and
-- events for the Cisco ONS devices.
-- Copyright (c) 2004 by Cisco Systems, Inc.
-- All rights reserved.
--
-- **************************************************************
CERENT-ENVMON-MIB DEFINITIONS ::= BEGIN
IMPORTS
cerentModules,
cerentRequirements,
cerentGeneric
FROM CERENT-GLOBAL-REGISTRY
DisplayString
FROM SNMPv2-TC
OBJECT-GROUP,
MODULE-COMPLIANCE
FROM SNMPv2-CONF
MODULE-IDENTITY,
OBJECT-IDENTITY,
OBJECT-TYPE,
Gauge32,
Integer32
FROM SNMPv2-SMI;
cerentEnvMonMIB MODULE-IDENTITY
LAST-UPDATED "200401271451Z"
ORGANIZATION "Cisco Systems, Inc."
CONTACT-INFO
"Support@Cisco.com
Postal: 1435 North McDowell Blvd
Petaluma CA 94954
Tel: +1.877.323.7368"
DESCRIPTION
"This MIB module provides Environmental status information"
REVISION "200401271451Z"
DESCRIPTION
"First Version"
::= { cerentModules 120 }
cerentEnvMonMibConformance OBJECT-IDENTITY
STATUS current
DESCRIPTION
"This node is created for compliance. Has
objects as required by the RFCs"
::= { cerentRequirements 70 }
cerentEnvMonMibCompliance OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The compliance statements
for Cisco ONS devices."
::= { cerentEnvMonMibConformance 10 }
cerentEnvMonMibGroups OBJECT-IDENTITY
STATUS current
DESCRIPTION
"All the objects and events are
grouped under this for conformance"
::= { cerentEnvMonMibConformance 20 }
cerentEnvMonObjects OBJECT-IDENTITY
STATUS current
DESCRIPTION
""
::= { cerentGeneric 80 }
cerentEnvMonVoltageStatsTable OBJECT-TYPE
SYNTAX SEQUENCE OF CerentEnvMonVoltageStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table maintains the status info for all
EnvMon related voltages picked up by the
sensors in the device."
::= { cerentEnvMonObjects 10 }
cerentEnvMonVoltageStatsEntry OBJECT-TYPE
SYNTAX CerentEnvMonVoltageStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"There will as many rows as there are sensors
in the device."
INDEX {
cerentEnvMonVoltageStatsIndex }
::= { cerentEnvMonVoltageStatsTable 1 }
CerentEnvMonVoltageStatsEntry ::= SEQUENCE {
cerentEnvMonVoltageStatsIndex Integer32,
cerentEnvMonVoltageStatsDescr DisplayString,
cerentEnvMonVoltageStatsCurrentValue Integer32,
cerentEnvMonVoltageStatsThresholdVeryHigh Integer32,
cerentEnvMonVoltageStatsThresholdHigh Integer32,
cerentEnvMonVoltageStatsThresholdLow Integer32,
cerentEnvMonVoltageStatsThresholdVeryLow Integer32 }
cerentEnvMonVoltageStatsIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The value index uniquely indicates the voltage
sensor in the device. "
::= { cerentEnvMonVoltageStatsEntry 10 }
cerentEnvMonVoltageStatsDescr OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Unique Name/Description of the voltage
sensor."
::= { cerentEnvMonVoltageStatsEntry 20 }
cerentEnvMonVoltageStatsCurrentValue OBJECT-TYPE
SYNTAX Integer32
UNITS
"millivolts"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Current voltage measurement at this
voltage sensor."
::= { cerentEnvMonVoltageStatsEntry 30 }
cerentEnvMonVoltageStatsThresholdVeryHigh OBJECT-TYPE
SYNTAX Integer32
UNITS
"millivolts"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"If the current voltage value exceeds this
threshold value, an alarm event will be raised
by the device.
The severity of this event may be
provisionable."
::= { cerentEnvMonVoltageStatsEntry 40 }
cerentEnvMonVoltageStatsThresholdHigh OBJECT-TYPE
SYNTAX Integer32
UNITS
"millivolts"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"If the current voltage value exceeds this
threshold value, a warning event will be raised
by the device.
The severity of this event may be
provisionable."
::= { cerentEnvMonVoltageStatsEntry 50 }
cerentEnvMonVoltageStatsThresholdLow OBJECT-TYPE
SYNTAX Integer32
UNITS
"millivolts"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"If the current voltage value falls below this
threshold value, a warning event will be raised
by the device.
The severity of this event may be
provisionable."
::= { cerentEnvMonVoltageStatsEntry 60 }
cerentEnvMonVoltageStatsThresholdVeryLow OBJECT-TYPE
SYNTAX Integer32
UNITS
"millivolts"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"If the current voltage value falls below this
threshold value, an alarm event will be raised
by the device.
The severity of this event may be
provisionable."
::= { cerentEnvMonVoltageStatsEntry 70 }
cerentEnvMonTemperatureStatsTable OBJECT-TYPE
SYNTAX SEQUENCE OF CerentEnvMonTemperatureStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table provides ambient temperature
information as measured by the
temperature sensors."
::= { cerentEnvMonObjects 20 }
cerentEnvMonTemperatureStatsEntry OBJECT-TYPE
SYNTAX CerentEnvMonTemperatureStatsEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each temperature is represented by a row
in the table."
INDEX {
cerentEnvMonTemperatureStatsIndex }
::= { cerentEnvMonTemperatureStatsTable 1 }
CerentEnvMonTemperatureStatsEntry ::= SEQUENCE {
cerentEnvMonTemperatureStatsIndex Integer32,
cerentEnvMonTemperatureStatsDescr DisplayString,
cerentEnvMonTemperatureStatsCurrentValue Gauge32,
cerentEnvMonTemperatureStatsThresholdHigh Gauge32 }
cerentEnvMonTemperatureStatsIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The value index uniquely indicates the
temperature sensor in the device. "
::= { cerentEnvMonTemperatureStatsEntry 10 }
cerentEnvMonTemperatureStatsDescr OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Unique Name/Description of the
temperature sensor."
::= { cerentEnvMonTemperatureStatsEntry 20 }
cerentEnvMonTemperatureStatsCurrentValue OBJECT-TYPE
SYNTAX Gauge32
UNITS
"Degree Celsius"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Current Temperature measurement at this
temperature sensor."
::= { cerentEnvMonTemperatureStatsEntry 30 }
cerentEnvMonTemperatureStatsThresholdHigh OBJECT-TYPE
SYNTAX Gauge32
UNITS
"Degree Celsius"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"If the current temperature value exceeds this
threshold value, an alarm event will be
raised by the device.
The severity of this event may be
provisionable."
::= { cerentEnvMonTemperatureStatsEntry 40 }
cerentEnvMonMibObjectsGroup OBJECT-GROUP
OBJECTS {
cerentEnvMonVoltageStatsDescr,
cerentEnvMonVoltageStatsCurrentValue,
cerentEnvMonVoltageStatsThresholdVeryHigh,
cerentEnvMonVoltageStatsThresholdHigh,
cerentEnvMonVoltageStatsThresholdLow,
cerentEnvMonVoltageStatsThresholdVeryLow,
cerentEnvMonTemperatureStatsDescr,
cerentEnvMonTemperatureStatsCurrentValue,
cerentEnvMonTemperatureStatsThresholdHigh
}
STATUS current
DESCRIPTION
"All NMS accessible objects"
::= { cerentEnvMonMibGroups 10 }
cerentEnvMonMibBasicCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The basic implementation requirements
for all Cisco ONS network devices."
MODULE
MANDATORY-GROUPS { cerentEnvMonMibObjectsGroup }
::= { cerentEnvMonMibCompliance 10 }
END

2364
mibs/cisco/CERENT-FC-MIB Normal file

File diff suppressed because it is too large Load Diff

25033
mibs/cisco/CERENT-GENERIC-MIB Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,560 @@
-- **************************************************************
-- CERENT-GENERIC-PM-MIB module
--
-- October 2004, Srikar B S
-- This module contains the objects for Thresholds and performance
-- monitoring for Electrical and Optical Cards on the
-- Cisco ONS devices
-- Copyright (c) 2004-2005 by Cisco Systems, Inc.
-- All rights reserved.
--
-- **************************************************************
-- This MIB complementes the CERENT-HC-RMON-MIB and contains the threshold
-- table and permforamance monitoring statistics tables for
-- Optical/Electrical modules
CERENT-GENERIC-PM-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Integer32,
Counter64
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
TruthValue FROM SNMPv2-TC
cerentModules,
cerentGeneric,
cerentRequirements
FROM CERENT-GLOBAL-REGISTRY
CerentAlarmThresholdMonitorType,
CerentMonitorType,
CerentLocation,
CerentPeriod
FROM CERENT-TC;
cerentGenericPmMIB MODULE-IDENTITY
LAST-UPDATED "200410130000Z"
ORGANIZATION "Cisco Systems, Inc."
CONTACT-INFO
" support@Cisco.com
Postal: Cisco Systems
1450 N. McDowell Blvd.
Petaluma, CA 94954
USA
Tel: +1-877-323-7368"
DESCRIPTION
"This module defines
objects for managing generic thresholds and
performance monitoring information"
REVISION "200410130000Z"
DESCRIPTION
"Inital version of the module"
::= { cerentModules 130 }
cerentGenericPmMIBObjects OBJECT IDENTIFIER
::= { cerentGeneric 90 }
-- All Cisco ONS 15454 Threshold definitions.
cerentGenericPmThresholdTable OBJECT-TYPE
SYNTAX SEQUENCE OF CerentGenericPmThresholdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains one row per performance monitoring
threshold."
::= { cerentGenericPmMIBObjects 10 }
cerentGenericPmThresholdEntry OBJECT-TYPE
SYNTAX CerentGenericPmThresholdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Row definition for cerentGenericPmThresholdTable"
INDEX {
cerentGenericPmThresholdIndex,
cerentGenericPmThresholdMonitorType,
cerentGenericPmThresholdLocation,
cerentGenericPmThresholdPeriod
}
::= { cerentGenericPmThresholdTable 1 }
CerentGenericPmThresholdEntry ::= SEQUENCE {
cerentGenericPmThresholdIndex Integer32,
cerentGenericPmThresholdMonitorType CerentMonitorType,
cerentGenericPmThresholdLocation CerentLocation,
cerentGenericPmThresholdPeriod CerentPeriod,
cerentGenericPmThresholdValue Integer32,
cerentGenericPmThresholdOverFlowValue Integer32,
cerentGenericPmThresholdHCValue Counter64
}
cerentGenericPmThresholdIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647) -- Same as IfIndex from IF-MIB
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Identifies each entry in Threshold table.
May not start with one and there will be some
missing numbers."
::= { cerentGenericPmThresholdEntry 10 }
cerentGenericPmThresholdMonitorType OBJECT-TYPE
SYNTAX CerentMonitorType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the type of metric monitored."
::= { cerentGenericPmThresholdEntry 20 }
cerentGenericPmThresholdLocation OBJECT-TYPE
SYNTAX CerentLocation
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This indicates if the threshold value represented by this row
is for near or far end"
::= { cerentGenericPmThresholdEntry 30 }
cerentGenericPmThresholdPeriod OBJECT-TYPE
SYNTAX CerentPeriod
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The sampling interval period is indicated here"
::= { cerentGenericPmThresholdEntry 40 }
cerentGenericPmThresholdValue OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The lower word value of the threshold that was
provisioned by the NMS"
::= { cerentGenericPmThresholdEntry 50 }
cerentGenericPmThresholdOverFlowValue OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The higher word value of the threshold that was
provisioned by the NMS"
::= { cerentGenericPmThresholdEntry 60 }
cerentGenericPmThresholdHCValue OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of this object will be the 64 bit threshold that was
provisioned by the NMS"
::= { cerentGenericPmThresholdEntry 70 }
cerentGenericPmStatsCurrentTable OBJECT-TYPE
SYNTAX SEQUENCE OF CerentGenericPmStatsCurrentEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table holds all the performance Monitoring
statistics for current sampling period."
::= { cerentGenericPmMIBObjects 20 }
cerentGenericPmStatsCurrentEntry OBJECT-TYPE
SYNTAX CerentGenericPmStatsCurrentEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Row definition for cerentGenericPmStatsCurrentTable"
INDEX {
cerentGenericPmStatsCurrentIndex,
cerentGenericPmStatsCurrentType,
cerentGenericPmStatsCurrentLocation,
cerentGenericPmStatsCurrentPeriod
}
::= { cerentGenericPmStatsCurrentTable 1 }
CerentGenericPmStatsCurrentEntry ::= SEQUENCE {
cerentGenericPmStatsCurrentIndex Integer32,
cerentGenericPmStatsCurrentType CerentMonitorType,
cerentGenericPmStatsCurrentLocation CerentLocation,
cerentGenericPmStatsCurrentPeriod CerentPeriod,
cerentGenericPmStatsCurrentValue Integer32,
cerentGenericPmStatsCurrentOverFlowValue Integer32,
cerentGenericPmStatsCurrentHCValue Counter64,
cerentGenericPmStatsCurrentValidData TruthValue,
cerentGenericPmStatsCurrentValidIntervals Integer32
}
cerentGenericPmStatsCurrentIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647) -- Same as IfIndex from IF-MIB
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Identifies each entry in performance monitor table.
May not start with one and there will be some
missing numbers."
::= { cerentGenericPmStatsCurrentEntry 10 }
cerentGenericPmStatsCurrentType OBJECT-TYPE
SYNTAX CerentMonitorType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the type of metric monitored."
::= { cerentGenericPmStatsCurrentEntry 20 }
cerentGenericPmStatsCurrentLocation OBJECT-TYPE
SYNTAX CerentLocation
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This indicates if the threshold value represented by this row
is for near or far end"
::= { cerentGenericPmStatsCurrentEntry 30 }
cerentGenericPmStatsCurrentPeriod OBJECT-TYPE
SYNTAX CerentPeriod
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The sampling interval period is indicated here"
::= { cerentGenericPmStatsCurrentEntry 40 }
cerentGenericPmStatsCurrentValue OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The counter associated with this monitor type for this
entity in the in the current interval of duration
defined by cerentGenericPmStatsPeriod"
::= { cerentGenericPmStatsCurrentEntry 50 }
cerentGenericPmStatsCurrentOverFlowValue OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The counter holds the higher ordered value associated with
this monitor type for this
entity in the in the current interval of duration
defined by cerentGenericPmStatsPeriod"
::= { cerentGenericPmStatsCurrentEntry 60 }
cerentGenericPmStatsCurrentHCValue OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The 64 bit counter associated with this monitor type for this
entity in the in the current interval of duration
defined by cerentGenericPmStatsCurrentPeriod"
::= { cerentGenericPmStatsCurrentEntry 70 }
cerentGenericPmStatsCurrentValidData OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This value indicates if the data for the current sampling period
is valid"
::= { cerentGenericPmStatsCurrentEntry 80 }
cerentGenericPmStatsCurrentValidIntervals OBJECT-TYPE
SYNTAX Integer32 (1..96)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This objects specifies the number of contiguous intervals
for which the valid values are available for this performance
monitoring type."
::= { cerentGenericPmStatsCurrentEntry 90 }
cerentGenericPmStatsIntervalTable OBJECT-TYPE
SYNTAX SEQUENCE OF CerentGenericPmStatsIntervalEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table holds all the performance Monitoring
statistics for completed intervals"
::= { cerentGenericPmMIBObjects 30 }
cerentGenericPmStatsIntervalEntry OBJECT-TYPE
SYNTAX CerentGenericPmStatsIntervalEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Row definition for cerentGenericPmStatsIntervalTable"
INDEX {
cerentGenericPmStatsIntervalIndex,
cerentGenericPmStatsIntervalType,
cerentGenericPmStatsIntervalLocation,
cerentGenericPmStatsIntervalPeriod,
cerentGenericPmStatsIntervalNumber
}
::= { cerentGenericPmStatsIntervalTable 1 }
CerentGenericPmStatsIntervalEntry ::= SEQUENCE {
cerentGenericPmStatsIntervalIndex Integer32,
cerentGenericPmStatsIntervalType CerentMonitorType,
cerentGenericPmStatsIntervalLocation CerentLocation,
cerentGenericPmStatsIntervalPeriod CerentPeriod,
cerentGenericPmStatsIntervalNumber Integer32,
cerentGenericPmStatsIntervalValue Integer32,
cerentGenericPmStatsIntervalOverFlowValue Integer32,
cerentGenericPmStatsIntervalHCValue Counter64,
cerentGenericPmStatsIntervalValidData TruthValue
}
cerentGenericPmStatsIntervalIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647) -- Same as IfIndex from IF-MIB
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Identifies each entry in performance monitor table.
May not start with one and there will be some
missing numbers."
::= { cerentGenericPmStatsIntervalEntry 10 }
cerentGenericPmStatsIntervalType OBJECT-TYPE
SYNTAX CerentMonitorType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the type of metric monitored."
::= { cerentGenericPmStatsIntervalEntry 20 }
cerentGenericPmStatsIntervalLocation OBJECT-TYPE
SYNTAX CerentLocation
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This indicates if the threshold value represented by this row
is for near or far end"
::= { cerentGenericPmStatsIntervalEntry 30 }
cerentGenericPmStatsIntervalPeriod OBJECT-TYPE
SYNTAX CerentPeriod
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The sampling interval period is indicated here"
::= { cerentGenericPmStatsIntervalEntry 40 }
cerentGenericPmStatsIntervalNumber OBJECT-TYPE
SYNTAX Integer32 (1..96)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A number between 1 and 96, which identifies the interval
for which the statistics is available.
The interval identified by 1 is the most recently completed interval
and the interval identified by N is the interval immediately
preceding the one identified by N-1."
::= { cerentGenericPmStatsIntervalEntry 50 }
cerentGenericPmStatsIntervalValue OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The counter associated with this monitor type for this
entity in the in a particular interval of duration
defined by cerentGenericPmStatsIntervalPeriod"
::= { cerentGenericPmStatsIntervalEntry 60 }
cerentGenericPmStatsIntervalOverFlowValue OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The higher order 32 bit value of the counter associated with this
monitor type for this
entity in the in a particular interval of duration
defined by cerentGenericPmStatsIntervalNumber"
::= { cerentGenericPmStatsIntervalEntry 70 }
cerentGenericPmStatsIntervalHCValue OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The 64-bit counter associated with this monitor type for this
entity in the in a particular interval of duration
defined by cerentGenericPmStatsIntervalPeriod"
::= { cerentGenericPmStatsIntervalEntry 80 }
cerentGenericPmStatsIntervalValidData OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This value indicates if the data for this interval is valid"
::= { cerentGenericPmStatsIntervalEntry 90 }
-- All Cisco ONS 15454 AlarmThreshold Definitions
cerentGenericPmAlarmThresholdTable OBJECT-TYPE
SYNTAX SEQUENCE OF CerentGenericPmAlarmThresholdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains one row per performance monitoring
AlarmThreshold."
::= { cerentGenericPmMIBObjects 40 }
CerentGenericPmAlarmThresholdEntry ::= SEQUENCE {
cerentGenericPmAlarmThresholdIndex Integer32,
cerentGenericPmAlarmThresholdMonitorType CerentAlarmThresholdMonitorType,
cerentGenericPmAlarmThresholdValue Integer32,
cerentGenericPmAlarmThresholdOverFlowValue Integer32,
cerentGenericPmAlarmThresholdHCValue Counter64
}
cerentGenericPmAlarmThresholdEntry OBJECT-TYPE
SYNTAX CerentGenericPmAlarmThresholdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Row definition for cerentGenericPmAlarmThresoldTable"
INDEX {
cerentGenericPmAlarmThresholdIndex,
cerentGenericPmAlarmThresholdMonitorType
}
::= { cerentGenericPmAlarmThresholdTable 1 }
cerentGenericPmAlarmThresholdIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647) -- Same as IfIndex from IF-MIB
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Identifies each entry in AlarmThreshold table.
May not start with one and there will be some
missing numbers."
::= { cerentGenericPmAlarmThresholdEntry 10 }
cerentGenericPmAlarmThresholdMonitorType OBJECT-TYPE
SYNTAX CerentAlarmThresholdMonitorType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the type of metric monitored."
::= { cerentGenericPmAlarmThresholdEntry 20 }
cerentGenericPmAlarmThresholdValue OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The lower word value of the AlarmThreshold that was
provisioned by the NMS"
::= { cerentGenericPmAlarmThresholdEntry 30 }
cerentGenericPmAlarmThresholdOverFlowValue OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The higher word value of the AlarmThreshold that was
provisioned by the NMS"
::= { cerentGenericPmAlarmThresholdEntry 40 }
cerentGenericPmAlarmThresholdHCValue OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of this object will be the 64 bit AlarmThreshold that was
provisioned by the NMS"
::= { cerentGenericPmAlarmThresholdEntry 50 }
cerentGenericPmMIBConformance OBJECT IDENTIFIER
::= { cerentRequirements 80 }
cerentGenericPmMIBCompliances OBJECT IDENTIFIER
::= { cerentGenericPmMIBConformance 1}
cerentGenericPmMIBGroups OBJECT IDENTIFIER
::= { cerentGenericPmMIBConformance 2}
cerentGenericPmMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"Describes the requirements for conformance to the
High Capacity Media Independent Group."
MODULE -- this module
MANDATORY-GROUPS { cerentGenericPmThresholdGroup,
cerentGenericPmStatsCurrentGroup,
cerentGenericPmStatsIntervalGroup }
::= { cerentGenericPmMIBCompliances 1 }
-- This group covers for threshold display and TCA trap
cerentGenericPmThresholdGroup OBJECT-GROUP
OBJECTS {
cerentGenericPmThresholdValue,
cerentGenericPmThresholdOverFlowValue,
cerentGenericPmThresholdHCValue
}
STATUS current
DESCRIPTION
"The objects for storing all the current alarm thresholds "
::= { cerentGenericPmMIBGroups 10 }
-- This group covers Performance Monitoring in current interval
cerentGenericPmStatsCurrentGroup OBJECT-GROUP
OBJECTS {
cerentGenericPmStatsCurrentValue,
cerentGenericPmStatsCurrentOverFlowValue,
cerentGenericPmStatsCurrentHCValue,
cerentGenericPmStatsCurrentValidData,
cerentGenericPmStatsCurrentValidIntervals
}
STATUS current
DESCRIPTION
"The objects for storing all the performance montitoring statistics"
::= { cerentGenericPmMIBGroups 20 }
-- This group covers Performance Monitoring in current interval
cerentGenericPmStatsIntervalGroup OBJECT-GROUP
OBJECTS {
cerentGenericPmStatsIntervalValue,
cerentGenericPmStatsIntervalOverFlowValue,
cerentGenericPmStatsIntervalHCValue,
cerentGenericPmStatsIntervalValidData
}
STATUS current
DESCRIPTION
"The objects for storing all the performance montitoring statistics"
::= { cerentGenericPmMIBGroups 30 }
--This group covers for Alarm displays and traps
cerentGenericPmAlarmThresholdGroup OBJECT-GROUP
OBJECTS {
cerentGenericPmAlarmThresholdValue,
cerentGenericPmAlarmThresholdOverFlowValue,
cerentGenericPmAlarmThresholdHCValue
}
STATUS current
DESCRIPTION
"The objects for storing all the current alarm thresholds "
::= { cerentGenericPmMIBGroups 40 }
END

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,152 @@
-- **************************************************************
-- CERENT-IF-EXT-MIB module
--
-- December 2005, Srikar B S
-- This module is an extension of the IF-MIB.
-- Copyright (c) 2005-2006 by Cisco Systems, Inc.
-- All rights reserved.
--
-- **************************************************************
-- This MIB is an extension of the IF-MIB and contains objects
-- to manage interfaces.
CERENT-IF-EXT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Integer32
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP FROM SNMPv2-CONF
TruthValue FROM SNMPv2-TC
ifIndex FROM IF-MIB
cerentModules,
cerentGeneric,
cerentRequirements
FROM CERENT-GLOBAL-REGISTRY;
cerentIfExtMIB MODULE-IDENTITY
LAST-UPDATED "200511140000Z"
ORGANIZATION "Cisco Systems, Inc."
CONTACT-INFO
" support@Cisco.com
Postal: Cisco Systems
1450 N. McDowell Blvd.
Petaluma, CA 94954
USA
Tel: +1-877-323-7368"
DESCRIPTION
"This module defines objects for managing interfaces."
REVISION "200511140000Z"
DESCRIPTION
"Inital version of the module"
::= { cerentModules 140 }
cerentIfExtMIBObjects OBJECT IDENTIFIER
::= { cerentGeneric 100 }
cerentIfExtTable OBJECT-TYPE
SYNTAX SEQUENCE OF CerentIfExtEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains one row per interface."
::= { cerentIfExtMIBObjects 10 }
cerentIfExtEntry OBJECT-TYPE
SYNTAX CerentIfExtEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Row definition for cerentIfExtTable"
INDEX { ifIndex }
::= { cerentIfExtTable 1 }
CerentIfExtEntry ::= SEQUENCE {
cerentIfExtPreServiceAlarmSuppression TruthValue,
cerentIfExtConfiguredSoakTime Integer32,
cerentIfExtCurrentSoakTime Integer32
}
cerentIfExtPreServiceAlarmSuppression OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object can be set through a management interface.
When the administrative state of this interface is 'down',
the value of this object does not have any impact.
When the administrative state of this interface is 'up',
if this object has a value of 'false', an alarm on this
interface will be reported. If the value of this object is 'true'
then all alarms on this interface will be suppressed.
If the interface has a good signal, the soak timer will be
started, if the port is faulted before the soak timer expires,
the soak timer will be reset to the provisioned maximum value.
If the soak timer expires then the value of this object is
automatically set to 'false'."
DEFVAL { false }
::= { cerentIfExtEntry 10 }
cerentIfExtConfiguredSoakTime OBJECT-TYPE
SYNTAX Integer32
UNITS "minutes"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This is the configured maximum value of the soak timer
for this interface."
DEFVAL { 480 }
::= { cerentIfExtEntry 20 }
cerentIfExtCurrentSoakTime OBJECT-TYPE
SYNTAX Integer32
UNITS "minutes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This is the current value of the soak timer
for this interface. The difference between
cerntIfExtConfiguredSoakTime and this object gives the
time duration for which this interface has had a good signal."
::= { cerentIfExtEntry 30 }
cerentIfExtMIBConformance OBJECT IDENTIFIER
::= { cerentRequirements 90 }
cerentIfExtMIBCompliances OBJECT IDENTIFIER
::= { cerentIfExtMIBConformance 1}
cerentIfExtMIBGroups OBJECT IDENTIFIER
::= { cerentIfExtMIBConformance 2}
cerentIfExtMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"Describes the requirements for conformance to the
High Capacity Media Independent Group."
MODULE -- this module
MANDATORY-GROUPS { cerentIfExtGroup }
::= { cerentIfExtMIBCompliances 1 }
cerentIfExtGroup OBJECT-GROUP
OBJECTS {
cerentIfExtPreServiceAlarmSuppression,
cerentIfExtConfiguredSoakTime,
cerentIfExtCurrentSoakTime
}
STATUS current
DESCRIPTION
"The objects for storing all the current alarm thresholds "
::= { cerentIfExtMIBGroups 10 }
END

3509
mibs/cisco/CERENT-MSDWDM-MIB Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,700 @@
-- *****************************************************************
-- CERENT-OPTICAL-MONITOR-MIB.mib
--
-- Copyright (c) 2002 by Cisco Systems, Inc.
-- All rights reserved.
-- *****************************************************************
CERENT-OPTICAL-MONITOR-MIB DEFINITIONS ::= BEGIN
IMPORTS
Integer32,
MODULE-IDENTITY,
OBJECT-TYPE FROM SNMPv2-SMI
TEXTUAL-CONVENTION,
TruthValue FROM SNMPv2-TC
MODULE-COMPLIANCE,
OBJECT-GROUP FROM SNMPv2-CONF
ifIndex FROM IF-MIB
cerentModules,
cerentRequirements,
cerentGeneric FROM CERENT-GLOBAL-REGISTRY
CerentPeriod FROM CERENT-TC
;
cerentOpticalMonitorMIB MODULE-IDENTITY
LAST-UPDATED "0211110000Z" -- 2002/Nov/11
ORGANIZATION "Cisco Systems, Inc."
CONTACT-INFO "support@Cisco.com
Postal:
Cisco Systems
1450 N. McDowell Blvd.
Petaluma, CA 94954
Tel: +1-877-323-7368"
DESCRIPTION
"This MIB module defines objects to monitor optical
characteristics and set corresponding thresholds, on the
optical interfaces in a network element.
This module is an adaptation of CISCO-OPTICAL-MONITOR-MIB.
"
REVISION "0211110000Z" -- 2002/Nov/11
DESCRIPTION
"The initial revision of this MIB."
::={ cerentModules 70 }
-- Textual Conventions
OpticalParameterType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This value indicates the optical parameter that is
being monitored. Valid values are -
power (1) : Optical Power (AC + DC).
acPower (2) : Optical AC Power.
apdTemp (3) : Avalanche Photo Detector Temperature.
laserTemp (4) : Laser Temperature.
biasCurrent (5) : Laser bias current.
peltierCurrent (6) : Laser peltier current.
xcvrVoltage (7) : Transceiver voltage.
voa (8) : Variable Optical Attenuation Failure & Degrade Th.
gain (9) : Optical amplifier gain Failure & Degrade Th.
oscPower (10) : OSC Optical Power
addPower (11) : Add Optical Power
"
SYNTAX INTEGER {
power(1),
acPower(2),
apdTemp(3),
laserTemp(4),
biasCurrent(5),
peltierCurrent(6),
xcvrVoltage(7),
voa(8),
gain(9),
oscPower(10),
addPower(11)
}
OpticalParameterValue ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The value of the optical parameter that is being monitored.
The range of values varies depending on the type of optical
parameter being monitored, as identified by a corresponding
object with syntax OpticalParameterType.
when the optical parameter being monitored is 'power' or
'acpower', the supported range is from -1000 to 1000, in
1/10ths of dBm.
Example: Actual power of -40 dbm is represented as -400.
Actual power level of +30 dBm is represented as 300.
When the optical parameter being monitored is 'laserTemp' or
'apdTemp', the supported range is from -10000 to 30000, in
1/100ths of degrees centigrade.
Example: A value of 2355 represents a temperature reading of
23.55 degrees C.
When the optical parameter being monitored is 'biasCurrent',
the supported range is from 0 to 1000, in 1/10ths of
percentage (%).
Example: A value of 500 represents a bias current threshold
of 50.0 %.
When the optical parameter being monitored is 'peltierCurrent',
the supported range is from 0 to 10000, in milliamperes.
When the optical parameter being monitored is 'xcvrVoltage',
the supported range is from 0 to 100000, in 1/10ths of
millivolts.
Example: A Value of 115 represents a transceiver voltage
reading of 11.5 millivolts.
The distinguished value of '-1000000' indicates that the object
has not yet been initialized or does not apply.
"
SYNTAX Integer32 ( -1000000..1000000 )
OpticalIfDirection ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This value indicates the direction being monitored at
the optical interface.
"
SYNTAX INTEGER {
receive(1),
transmit(2),
notApplicable(3)
}
-- MIB Object Definitions
cerentOpticalMonitorMIBObjects OBJECT IDENTIFIER ::=
{cerentGeneric 30 }
-- groups in this MIB module
cerentOpticalMonGroup OBJECT IDENTIFIER ::=
{cerentOpticalMonitorMIBObjects 1 }
cerentOpticalPMGroup OBJECT IDENTIFIER ::=
{cerentOpticalMonitorMIBObjects 2 }
-- cOpticalMonTable
cOpticalMonTable OBJECT-TYPE
SYNTAX SEQUENCE OF COpticalMonEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table provides objects to monitor optical
parameters in a network element. It also provides
objects for setting high and low threshold levels, with
configurable severities, on these monitored parameters."
::={ cerentOpticalMonGroup 1 }
cOpticalMonEntry OBJECT-TYPE
SYNTAX COpticalMonEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the cOpticalMonTable provides objects to
monitor an optical parameter and set threshold levels
on that parameter, at an optical interface.
Note that the set of monitored optical parameters may vary
based on interface type and direction.
Examples of interfaces that can have an entry in this table
include optical transceivers optical amplifiers,
and optical attenuators."
INDEX { ifIndex, cOpticalMonDirection,
cOpticalMonParameterType }
::={ cOpticalMonTable 1 }
COpticalMonEntry ::= SEQUENCE {
cOpticalMonDirection OpticalIfDirection,
cOpticalMonParameterType OpticalParameterType,
cOpticalParameterValue OpticalParameterValue,
cOpticalParamHighAlarmThresh OpticalParameterValue,
cOpticalParamHighWarning15MinThresh OpticalParameterValue,
cOpticalParamHighWarning1DayThresh OpticalParameterValue,
cOpticalParamLowAlarmThresh OpticalParameterValue,
cOpticalParamLowWarning15MinThresh OpticalParameterValue,
cOpticalParamLowWarning1DayThresh OpticalParameterValue,
cOpticalParamLowDegradeThresh OpticalParameterValue,
cOpticalParamHighDegradeThresh OpticalParameterValue
}
cOpticalMonDirection OBJECT-TYPE
SYNTAX OpticalIfDirection
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is an index into the cOpticalMonTable
and indicates the direction monitored for the
optical interface, in this entry."
::={ cOpticalMonEntry 1 }
cOpticalMonParameterType OBJECT-TYPE
SYNTAX OpticalParameterType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is an index into the cOpticalMonTable
and specifies the optical parameter that is being monitored,
in this entry."
::={ cOpticalMonEntry 2 }
cOpticalParameterValue OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object gives the value measured for the particular
optical parameter specified by the cOpticalMonParameterType
object."
::={ cOpticalMonEntry 3 }
cOpticalParamHighAlarmThresh OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to set a high alarm threshold on the
optical parameter being monitored.
If the measured value of the parameter,is greater than the
value configured in this object, an alarm will be raised.
When the cOpticalMonParameterType object is set to 'power'
for the receive direction at a transceiver, this object
specifies the receiver saturation level."
::={ cOpticalMonEntry 4 }
cOpticalParamHighWarning15MinThresh OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to set a high warning 15 minute threshold
on the optical parameter being monitored.
If the measured value of the parameter,is greater than the
value configured in this object, an alarm may be raised."
::={ cOpticalMonEntry 5 }
cOpticalParamHighWarning1DayThresh OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to set a high warning 1 day threshold on
the optical parameter being monitored.
If the measured value of the parameter,is greater than the
value configured in this object, an alarm may be raised."
::={ cOpticalMonEntry 6 }
cOpticalParamLowAlarmThresh OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to set a low alarm threshold on the
optical parameter being monitored.
If the measured value of the parameter,goes lower than the
value configured in this object, an alarm will be raised.
When the cOpticalMonParameterType object is set to 'power'
for the receive direction and when the interface supports
alarms based on loss of light, this object specifies the
optical power threshold for declaring loss of light. Also,
when optical amplifiers are present in the network, in the
receive direction, this value may need to be configured,
since the noise floor may be higher than the minimum
sensitivity of the receiver."
::={ cOpticalMonEntry 7 }
cOpticalParamLowWarning15MinThresh OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to set a low warning 15 minute threshold
on the optical parameter being monitored.
If the measured value of the parameter,goes lower than the
value configured in this object, an alarm will be raised."
::={ cOpticalMonEntry 8 }
cOpticalParamLowWarning1DayThresh OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to set a low warning 1 day threshold
on the optical parameter being monitored.
If the measured value of the parameter,goes lower than the
value configured in this object, an alarm will be raised."
::={ cOpticalMonEntry 9 }
cOpticalParamLowDegradeThresh OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to set a low degrade threshold
on the optical parameter being monitored.
If the measured value of the parameter,goes lower than the
value configured in this object, a degrade alarm will be raised."
::={ cOpticalMonEntry 10 }
cOpticalParamHighDegradeThresh OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to set a high degrade threshold
on the optical parameter being monitored.
If the measured value of the parameter,goes lower than the
value configured in this object, a degrade alarm will be raised."
::={ cOpticalMonEntry 11 }
-- cOpticalPMCurrent Table
cOpticalPMCurrentTable OBJECT-TYPE
SYNTAX SEQUENCE OF COpticalPMCurrentEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table stores performance monitoring data for the
various optical parameters, collected over the current
interval."
::={ cerentOpticalPMGroup 1 }
cOpticalPMCurrentEntry OBJECT-TYPE
SYNTAX COpticalPMCurrentEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the cOpticalPMCurrentTable. It contains
performance monitoring data for an optical parameter,
collected over the current interval.
Note that the set of monitored optical parameters may vary
based on interface type and direction.
Examples of interfaces that can have an entry in this table
include optical transceivers, optical amplifiers, and optical
attenuators."
INDEX { ifIndex,
cOpticalPMCurrentDirection,
cOpticalPMCurrentParamType,
cOpticalPMCurrentPeriod}
::={ cOpticalPMCurrentTable 1 }
COpticalPMCurrentEntry ::= SEQUENCE {
cOpticalPMCurrentDirection OpticalIfDirection,
cOpticalPMCurrentParamType OpticalParameterType,
cOpticalPMCurrentPeriod CerentPeriod,
cOpticalPMCurrentMaxParam OpticalParameterValue,
cOpticalPMCurrentMinParam OpticalParameterValue,
cOpticalPMCurrentMeanParam OpticalParameterValue
}
cOpticalPMCurrentDirection OBJECT-TYPE
SYNTAX OpticalIfDirection
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is an index into the cOpticalPMCurrentTable
and indicates the direction monitored
for the optical interface, in this entry."
::={ cOpticalPMCurrentEntry 1 }
cOpticalPMCurrentParamType OBJECT-TYPE
SYNTAX OpticalParameterType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is an index into the
cOpticalPMCurrentTable and specifies the optical parameter
that is being monitored, in this entry."
::={ cOpticalPMCurrentEntry 2 }
cOpticalPMCurrentPeriod OBJECT-TYPE
SYNTAX CerentPeriod
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is an index into the
cOpticalPMCurrentTable and indicates whether the
optical parameter values given in this entry, are collected
over a period of 15 minutes or 24 hours."
::={ cOpticalPMCurrentEntry 3 }
cOpticalPMCurrentMaxParam OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object gives the maximum value measured for the optical
parameter, in the current 15 minute or 24 hour interval."
::={ cOpticalPMCurrentEntry 4 }
cOpticalPMCurrentMinParam OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object gives the minimum value measured for the optical
parameter, in the current 15 minute or 24 hour interval."
::={ cOpticalPMCurrentEntry 5 }
cOpticalPMCurrentMeanParam OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object gives the average value of the measured optical
parameter, in the current 15 minute or 24 hour interval."
::={ cOpticalPMCurrentEntry 6 }
-- cOpticalPMInterval Table
cOpticalPMIntervalTable OBJECT-TYPE
SYNTAX SEQUENCE OF COpticalPMIntervalEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table stores performance monitoring data for the
various optical parameters, collected over current and
previous intervals.
This table can have entries for up to 96 complete 15 minute
intervals."
::={ cerentOpticalPMGroup 2 }
cOpticalPMIntervalEntry OBJECT-TYPE
SYNTAX COpticalPMIntervalEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the cOpticalPMIntervalTable. It contains
performance monitoring data for an optical parameter,
collected over current and previous intervals.
Note that the set of monitored optical parameters may vary
based on interface type and direction.
Examples of interfaces that can have an entry in this table
include optical transceivers, optical amplifiers, and optical
attenuators."
INDEX { ifIndex,
cOpticalPMIntervalDirection,
cOpticalPMIntervalParamType,
cOpticalPMIntervalPeriod,
cOpticalPMIntervalNumber}
::={ cOpticalPMIntervalTable 1 }
COpticalPMIntervalEntry ::= SEQUENCE {
cOpticalPMIntervalDirection OpticalIfDirection,
cOpticalPMIntervalParamType OpticalParameterType,
cOpticalPMIntervalPeriod CerentPeriod,
cOpticalPMIntervalNumber Integer32,
cOpticalPMIntervalMaxParam OpticalParameterValue,
cOpticalPMIntervalMinParam OpticalParameterValue,
cOpticalPMIntervalMeanParam OpticalParameterValue,
cOpticalPMIntervalValidData TruthValue
}
cOpticalPMIntervalDirection OBJECT-TYPE
SYNTAX OpticalIfDirection
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is an index into the cOpticalPMIntervalTable
and indicates the direction monitored
for the optical interface, in this entry."
::={ cOpticalPMIntervalEntry 1 }
cOpticalPMIntervalParamType OBJECT-TYPE
SYNTAX OpticalParameterType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is an index into the
cOpticalPMIntervalTable and specifies the optical parameter
that is being monitored, in this entry."
::={ cOpticalPMIntervalEntry 2 }
cOpticalPMIntervalPeriod OBJECT-TYPE
SYNTAX CerentPeriod
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is an index into the
cOpticalPMIntervalTable and indicates whether the
optical parameter values given in this entry, are collected
over a period of 15 minutes or 24 hours."
::={ cOpticalPMIntervalEntry 3 }
cOpticalPMIntervalNumber OBJECT-TYPE
SYNTAX Integer32 (1..96)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object is an index into the cOpticalPMIntervalTable.
It is a number between 1 and 96, which identifies the
interval for which the set of optical parameter values is
available. The interval identified by 1 is the most recent
15 minute or 24 hour interval, and the interval
identified by N is the interval immediately preceding the one
identified by N-1."
::={ cOpticalPMIntervalEntry 4 }
cOpticalPMIntervalMaxParam OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object gives the maximum value measured for the optical
parameter, in a particular 15 minute or 24 hour interval."
::={ cOpticalPMIntervalEntry 5 }
cOpticalPMIntervalMinParam OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object gives the minimum value measured for the optical
parameter, in a particular 15 minute or 24 hour interval."
::={ cOpticalPMIntervalEntry 6 }
cOpticalPMIntervalMeanParam OBJECT-TYPE
SYNTAX OpticalParameterValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object gives the average value of the measured optical
parameter, in a particular 15 minute or 24 hour interval."
::={ cOpticalPMIntervalEntry 7 }
cOpticalPMIntervalValidData OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This variable indicates if the data for this
interval is valid."
::= { cOpticalPMIntervalEntry 8 }
-- MIB Conformance Statements
cerentOpticalMonitorMIBConformance OBJECT IDENTIFIER ::=
{ cerentRequirements 20 }
cerentOpticalMonitorMIBCompliances OBJECT IDENTIFIER ::=
{ cerentOpticalMonitorMIBConformance 1 }
cerentOpticalMonitorMIBGroups OBJECT IDENTIFIER ::=
{ cerentOpticalMonitorMIBConformance 2 }
cerentOpticalMonitorMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for network elements that
monitor optical characteristics and set thresholds on the
optical interfaces in a network element."
MODULE -- this module
MANDATORY-GROUPS { cerentOpticalMIBMonGroup }
GROUP cerentOpticalMIBThresholdGroup
DESCRIPTION
"This group is required for network elements that support
thresholds on optical parameters."
GROUP cerentOpticalMIBPMGroup
DESCRIPTION
"This group is required for network elements that
support collection of optical performance monitoring
data for 15 minute or 24 hour intervals."
OBJECT cOpticalParamHighAlarmThresh
MIN-ACCESS read-only
DESCRIPTION
"Write access is not required."
OBJECT cOpticalParamHighWarning15MinThresh
MIN-ACCESS read-only
DESCRIPTION
"Write access is not required."
OBJECT cOpticalParamHighWarning1DayThresh
MIN-ACCESS read-only
DESCRIPTION
"Write access is not required."
OBJECT cOpticalParamLowAlarmThresh
MIN-ACCESS read-only
DESCRIPTION
"Write access is not required."
OBJECT cOpticalParamLowWarning15MinThresh
MIN-ACCESS read-only
DESCRIPTION
"Write access is not required."
OBJECT cOpticalParamLowWarning1DayThresh
MIN-ACCESS read-only
DESCRIPTION
"Write access is not required."
::={ cerentOpticalMonitorMIBCompliances 1 }
-- Units of Conformance
cerentOpticalMIBMonGroup OBJECT-GROUP
OBJECTS {
cOpticalParameterValue
}
STATUS current
DESCRIPTION
"A mandatory object that provides monitoring of optical
characteristics."
::={ cerentOpticalMonitorMIBGroups 1 }
cerentOpticalMIBThresholdGroup OBJECT-GROUP
OBJECTS {
cOpticalParamHighAlarmThresh,
cOpticalParamHighWarning15MinThresh,
cOpticalParamHighWarning1DayThresh,
cOpticalParamLowAlarmThresh,
cOpticalParamLowWarning15MinThresh,
cOpticalParamLowWarning1DayThresh
}
STATUS current
DESCRIPTION
"A collection of objects that support thresholds on optical
parameters and provide status information when the thresholds
are exceeded or cleared."
::={ cerentOpticalMonitorMIBGroups 2 }
cerentOpticalMIBPMGroup OBJECT-GROUP
OBJECTS {
cOpticalPMCurrentMaxParam,
cOpticalPMCurrentMinParam,
cOpticalPMCurrentMeanParam,
cOpticalPMIntervalMaxParam,
cOpticalPMIntervalMinParam,
cOpticalPMIntervalMeanParam,
cOpticalPMIntervalValidData
}
STATUS current
DESCRIPTION
"A collection of objects that provide optical performance
monitoring data for 15 minute and 24 hour intervals."
::={ cerentOpticalMonitorMIBGroups 3 }
cerentOpticalDwdmNetworkMIBThresholdGroup OBJECT-GROUP
OBJECTS {
cOpticalParamHighAlarmThresh,
cOpticalParamHighWarning15MinThresh,
cOpticalParamHighWarning1DayThresh,
cOpticalParamLowAlarmThresh,
cOpticalParamLowWarning15MinThresh,
cOpticalParamLowWarning1DayThresh,
cOpticalParamLowDegradeThresh,
cOpticalParamHighDegradeThresh
}
STATUS current
DESCRIPTION
"A collection of objects that support thresholds on optical
DWDM Network parameters and provide status information when
the thresholds are exceeded or cleared."
::={ cerentOpticalMonitorMIBGroups 4 }
END

887
mibs/cisco/CERENT-TC Normal file
View File

@@ -0,0 +1,887 @@
-- ************************************************************************
-- Cisco OTBU Textual Convention MIB module
--
-- This module contains the top-level TCs for Cisco OTBU products.
--
-- Copyright (c) 1998-1999 by Cerent Corporation, Inc. All rights reserved.
-- Copyright (c) 2000,2001,2002,2003, 2004 by Cisco Systems, Inc.
-- All rights reserved.
--
-- ************************************************************************
CERENT-TC DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE
FROM SNMPv2-SMI
OBJECT-GROUP
FROM SNMPv2-CONF
TEXTUAL-CONVENTION
FROM SNMPv2-TC
cerentModules,
cerentGenericDummyObjects
FROM CERENT-GLOBAL-REGISTRY;
cerentTextualConventions MODULE-IDENTITY
LAST-UPDATED "0307220000Z" -- 2003/Jul/22
ORGANIZATION "Cisco Systems"
CONTACT-INFO
" support@Cisco.com
Postal: Cisco Systems
1450 N. McDowell Blvd.
Petaluma, CA 94954
USA
Tel: +1-877-323-7368"
DESCRIPTION
"This module provides the global Textual Conventions for all
other Cisco OTBU MIB modules."
REVISION "0307220000Z" -- 2003/Jul/22
DESCRIPTION
"This file can be used with R4.6 release."
REVISION "0211110000Z" -- 2002/Nov/11
DESCRIPTION
"This file can be used with R4.0 release."
REVISION "0206070000Z" -- 2002/Jun/07
DESCRIPTION
"This file can be used with R3.4 release."
REVISION "0201170000Z" -- 2002/Jan/17
DESCRIPTION
"This file can be used with R3.3 release."
REVISION "0012220000Z" -- 2000/Dec/22
DESCRIPTION
"This file can be used with R3.0 Release.
Unused TCs are commented out now."
REVISION "0005170000Z" -- 2000/May/17
DESCRIPTION
"This file can be used with R2.2 "
REVISION "0002210000Z" -- 2000/Feb/21
DESCRIPTION
"This file can be used with R2.1.1."
REVISION "0002200000Z" -- 2000/Feb/20
DESCRIPTION
"This file can be used with R2.1.0."
REVISION "0001140000Z" -- 2000/Jan/14
DESCRIPTION
"This file can be used with R2.0.3."
REVISION "0001070000Z" -- 2000/Jan/07
DESCRIPTION
"This file can be used with R2.0.2.
REVISION 9907150000Z -- 1999/Jul/15
DESCRIPTION
This file can be used with R2.0.1.
REVISION 9904050000Z -- 1999/April/05
DESCRIPTION
Inital version of this module"
::= { cerentModules 30 }
CerentNotificationClass ::= TEXTUAL-CONVENTION
-- DISPLAY-HINT "1d"
STATUS current
DESCRIPTION
"This will indicate what is
the class of the notification being
sent out. That is,
notReported - condition not reported as trap
administrative - Informational trap (e.g., IETF trap)
notAlarmedNonServiceAffecting
- non-alarmable event & not service affecting
notAlarmedServiceAffecting
- non-alarmable event but service affecting
cleared - This alarm has been cleared.
minorNonServiceAffecting - minor & NSA
majorNonServiceAffecting - major & NSA
criticalNonServiceAffecting - critical & NSA
minorServiceAffecting - minor & SA
majorServiceAffecting - major & SA
criticalServiceAffecting - critical & SA
other - catch-all enumeration. Will come handy
if a new class should be supported
before the next release of MIB."
SYNTAX INTEGER
{ other (1),
notReported (10),
administrative (20),
notAlarmed (30), -- deprecated
notAlarmedNonServiceAffecting (31),
notAlarmedServiceAffecting (32),
cleared (40),
minorNonServiceAffecting (50),
majorNonServiceAffecting (60),
criticalNonServiceAffecting (70),
minorServiceAffecting (80),
majorServiceAffecting (90),
criticalServiceAffecting (100)
}
CerentAlarmSeverity ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This will indicate the severity
of the notification being
sent out."
SYNTAX INTEGER
{
notReported (10),
notAlarmed (20),
minor (30),
major (40),
critical (50)
}
CerentAlarmStatus ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This will indicate whether
the alarm is raised or
getting cleared"
SYNTAX INTEGER
{
raised (10),
cleared (20),
transient(30)
}
CerentAlarmServiceAffecting ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This will indicate whether
the alarm is Service affecting or
Non-Service affecting."
SYNTAX INTEGER
{
serviceAffecting (10),
nonServiceAffecting (20)
}
CerentMonitorType ::= TEXTUAL-CONVENTION
-- DISPLAY-HINT "1d"
STATUS current
DESCRIPTION
"These are all the metrics that are
monitoriable and for which there
are PM data collected over various
intervals. For instance 'eslp' stands
for 'ES Low Order Path'."
SYNTAX INTEGER
{
-- TCA start. Do not change or move this comment
unknown (1),
cvl (10),
cvp (20),
cvs (30),
cvv (40),
esl (50),
esp (60),
ess (70),
esv (80),
fcp (90),
fcl (100),
npjcPdet (110),
ppjcPdet (120),
psc (130),
pscR (140),
pscS (150),
pscW (160),
psd (170),
psdR (180),
psdS (190),
psdW (200),
sasp (210),
sefs (220),
sesl (230),
sesp (240),
sess (250),
sesv (260),
uasl (270),
uasp (280),
uasv (290),
bbers (300),
bbel (310),
bbehp (320),
bbelp (330),
aissp (340),
cvcpp (350),
escpp (360),
lossl (370),
sascpp (380),
sescpp (390),
uascpp (400),
npjcPgen (410),
ppjcPgen (420),
ebms (430),
ebrs (440),
ebhp (450),
eblp (460),
esms (470),
esrs (480),
eshp (490),
eslp (500),
sesms (510),
sesrs (520),
seshp (530),
seslp (540),
uasms (550),
uashp (560),
uaslp (570),
fcms (580),
fchp (590),
fclp (600),
cssp (620),
esap (630),
esbp (640),
sefsp (650),
ebp (660),
bbems (670),
bbep (680),
bbev (690),
pjcsPdet (700),
pjcsPgen (710),
pjcdiff (720),
css (730),
uass (740),
sessr (750),
bbesr (760),
uasrs (770),
ebl (780),
eslr (790),
seslr (800),
bbelr (810),
bbepr (820),
txPwrMin (830),
rxPwrMin (840),
laserBiasMin (850),
laserTempMin (860),
xcvaMin (870),
validPackets (880),
invalidPackets (890),
cgv (900),
idleOs (910),
nidleOs (920),
dgc (930),
bitEc (940),
byteEc (950),
bit0Ed (960),
bit1Ed (970),
uncWord (980),
rxTempMin (990),
voaMin (1000),
gainMin (1010),
txPwrMax (1020),
rxPwrMax (1030),
rxTempMax (1040),
laserBiasMax (1050),
laserTempMax (1060),
xcvaMax (1070),
voaMax (1080),
gainMax (1090),
bbeSm (1100),
bbePm (1110),
bbeTcm1 (1120),
bbeTcm2 (1130),
bberSm (1140),
bberPm (1150),
bberTcm1 (1160),
bberTcm2 (1170),
biec (1180),
ipc (1190),
byec (1200),
dcg (1210),
bbes (1220),
feCssP (1230),
opwrAvg (1250),
opwrMax (1260),
opwrMin (1270),
essr (1280),
esrp (1290),
sesrp (1300),
esrhp (1310),
sesrhp (1320),
bberhp (1330),
esrlp (1340),
sesrlp (1350),
bberlp (1360),
lossms (1370),
npjcPdethp (1380),
ppjcPdethp (1390),
npjcPgenhp (1400),
ppjcPgenhp (1410),
pjcsPdethp (1420),
pjcsPgenhp (1430),
pjcdiffhp (1440),
pscms (1450),
pscRms (1460),
pscSms (1470),
pscWms (1480),
psdms (1490),
psdRms (1500),
psdSms (1510),
psdWms (1520),
lbcn (1530),
oprn (1540),
optn (1550),
optnLwt (1560),
optnHwt (1570),
oprnLwt (1580),
oprnHwt (1590),
lbcnHwt (1600),
ifInOctets (1710),
ifInUcastPkts (1720),
ifInMulticastPkts (1730),
ifInBroadcastPkts (1740),
ifInDiscards (1750),
ifInErrors (1760),
ifOutOctets (1770),
ifOutUcastPkts (1780),
ifOutMulticastPkts (1790),
ifOutBroadcastPkts (1800),
ifOutDiscards (1810),
dot3StatsAlignmentErrors (1820),
dot3StatsFCSErrors (1830),
dot3StatsSingleCollisionFrames (1840),
dot3StatsMultipleCollisionFrames (1850),
dot3StatsDeferredTransmissions (1860),
dot3StatsLateCollisions (1870),
dot3StatsExcessiveCollisions (1880),
dot3StatsFrameTooLong (1890),
dot3StatsCarrierSenseErrors (1900),
dot3StatsSQETestErrors (1910),
etherStatsUndersizePkts (1920),
etherStatsFragments (1930),
etherStatsPkts64Octets (1940),
etherStatsPkts65to127Octets (1950),
etherStatsPkts128to255Octets (1960),
etherStatsPkts256to511Octets (1970),
etherStatsPkts512to1023Octets (1980),
etherStatsPkts1024to1518Octets (1990),
etherStatsBroadcastPkts (2000),
etherStatsMulticastPkts (2010),
etherStatsOversizePkts (2020),
etherStatsJabbers (2030),
etherStatsOctets (2040),
etherStatsCollisions (2050),
etherStatsCollisionFrames (2060),
etherStatsCRCAlignErrors (2070),
etherStatsDropEvents (2080),
rxPauseFrames (2090),
txPauseFrames (2100),
rxPktsDroppedInternalCongestion (2110),
txPktsDroppedInternalCongestion (2120),
txTotalPkts (2130),
rxTotalPkts (2140),
hdlcPktDrops (2150),
rxControlFrames (2160),
rxUnknownOpcodeFrames (2170),
ifInErrorBytePkts (2180),
ifInFramingErrorPkts (2190),
ifInJunkInterPkts (2200),
gfpStatsRxSBitErrors (2210),
gfpStatsRxMBitErrors (2220),
gfpStatsRxTypeInvalid (2230),
gfpStatsRxCRCErrors (2240),
gfpStatsRxCIDInvalid (2250),
gfpStatsLFDRaised (2260),
gfpStatsCSFRaised (2270),
gfpStatsRxFrame (2280),
gfpStatsTxFrame (2290),
gfpStatsRxOctets (2300),
gfpStatsTxOctets (2310),
gfpStatsRoundTripLatencyUSec (2320),
mediaIndStatsRxFramesTruncated (2330),
mediaIndStatsRxFramesTooLong (2340),
mediaIndStatsRxFramesBadCRC (2350),
mediaIndStatsTxFramesBadCRC (2360),
gfpStatsRxDistanceExtBuffers (2370),
gfpStatsTxDistanceExtBuffers (2380),
fcStatsLinkRecoveries (2390),
fcStatsRxCredits (2400),
fcStatsTxCredits (2410),
fcStatsZeroTxCredits (2420),
cmt8b10bInvalidOrderedSets (2430),
cmt8b10bStatsEncodingDispErrors (2440),
cmt8b10bIdleOrderedSets (2450),
esnp (2460),
sesnp (2470),
uasnp (2480),
esnpfe (2490),
sesnpfe (2500),
uasnpfe (2510),
cmt8b10bNonIdleOrderedSets (2520),
cmt8b10bDataOrderedSets (2530),
cmt8b10bLossOfSync (2540),
hdlcInOctets (2550),
hdlcRxAborts (2560),
hdlcOutOctets (2570),
mediaIndStatsRxShortPkts (2580),
mediaIndStatsOversizeDropped (2590),
fibreStatsRxFrames (2600),
fibreStatsTxFrames (2610),
etherStatsPkts (2620),
ifOutErrors (2630),
dot3StatsInternalMacTxErrors (2640),
dot3StatsInternalMacRxErrors (2650),
dot3StatsSymbolErrors (2660),
ifOutOversizePkts (2670),
gfpStatsRxSblkCRCErrors (2680),
mediaIndStatsTxFramesTooLong (2690),
lbcnLwt (2700),
ifOutPayloadCrcErrors (2710),
ifInPayloadCrcErrors (2720),
ofsrs (2740),
fcv (2750),
fcStatsRxRecvrReady (2760),
fcStatsTxRecvrReady (2770),
cmt8b10bInvalidOrderedSetsDispErrorsSum (2780),
gainAvg (3025),
pwrAvg (3030),
voaAvg (3035),
pwrMax (3090),
pwrMin (3095),
esPm (3100),
sesSm (3105),
uasSm (3110),
fcSm (3115),
esrSm (3120),
sesrSm (3125),
sesPm (3130),
uasPm (3135),
fcPm (3140),
esrPm (3145),
sesrPm (3150),
esTcm1 (3155),
sesTcm1 (3160),
uasTcm1 (3165),
fcTcm1 (3170),
esrTcm1 (3175),
sesrTcm1 (3180),
esTcm2 (3185),
sesTcm2 (3190),
uasTcm2 (3195),
fcTcm2 (3200),
esrTcm2 (3205),
sesrTcm2 (3210),
vpc (3215),
ios (3220),
latAvg (3225),
latMax (3230),
latMin (3235),
lbclAvg (3240),
lbclMax (3245),
lbclMin (3250),
nios (3255),
obed (3260),
oprAvg (3265),
oprMax (3270),
oprMin (3275),
optAvg (3280),
optMax (3285),
optMin (3290),
ucw (3295),
xcvrAvg (3300),
xcvrMax (3305),
xcvrMin (3310),
zbed (3315),
esSm (3320),
rprSpanStatsInUcastClassCFrames (3380),
rprSpanStatsInUcastClassCOctets (3385),
rprSpanStatsInMcastClassCFrames (3390),
rprSpanStatsInMcastClassCOctets (3395),
rprSpanStatsInUcastClassBEirFrames (3400),
rprSpanStatsInUcastClassBEirOctets (3405),
rprSpanStatsInMcastClassBEirFrames (3410),
rprSpanStatsInMcastClassBEirOctets (3415),
rprSpanStatsInUcastClassBCirFrames (3420),
rprSpanStatsInUcastClassBCirOctets (3425),
rprSpanStatsInMcastClassBCirFrames (3430),
rprSpanStatsInMcastClassBCirOctets (3435),
rprSpanStatsInUcastClassAFrames (3440),
rprSpanStatsInUcastClassAOctets (3445),
rprSpanStatsInMcastClassAFrames (3450),
rprSpanStatsInMcastClassAOctets (3455),
rprSpanStatsInCtrlFrames (3460),
rprSpanStatsInOamEchoFrames (3465),
rprSpanStatsInOamFlushFrames (3470),
rprSpanStatsInOamOrgFrames (3475),
rprSpanStatsInTopoAtdFrames (3480),
rprSpanStatsInTopoChkSumFrames (3485),
rprSpanStatsInTopoTpFrames (3490),
rprSpanStatsOutUcastClassCFrames (3495),
rprSpanStatsOutUcastClassCOctets (3500),
rprSpanStatsOutMcastClassCFrames (3505),
rprSpanStatsOutMcastClassCOctets (3510),
rprSpanStatsOutUcastClassBEirFrames (3515),
rprSpanStatsOutUcastClassBEirOctets (3520),
rprSpanStatsTMcastClassBEirFrames (3525),
rprSpanStatsOutMcastClassBEirOctets (3530),
rprSpanStatsOutUcastClassBCirFrames (3535),
rprSpanStatsOutUcastClassBCirOctets (3540),
rprSpanStatsTMcastClassBCirFrames (3545),
rprSpanStatsOutMcastClassBCirOctets (3550),
rprSpanStatsOutUcastClassAFrames (3555),
rprSpanStatsOutUcastClassAOctets (3560),
rprSpanStatsOutMcastClassAFrames (3565),
rprSpanStatsOutMcastClassAOctets (3570),
rprSpanStatsOutCtrlFrames (3575),
rprSpanStatsOutOamEchoFrames (3580),
rprSpanStatsOutOamFlushFrames (3585),
rprSpanStatsOutOamOrgFrames (3590),
rprSpanStatsOutTopoAtdFrames (3595),
rprSpanStatsOutTopoChkSumFrames (3600),
rprSpanStatsOutTopoTpFrames (3605),
rprClientStatsInUcastClassCFrames (3610),
rprClientStatsInUcastClassCOctets (3615),
rprClientStatsInMcastClassCFrames (3620),
rprClientStatsInMcastClassCOctets (3625),
rprClientStatsInUcastClassBEirFrames (3630),
rprClientStatsInUcastClassBEirOctets (3635),
rprClientStatsInMcastClassBEirFrames (3640),
rprClientStatsInMcastClassBEirOctets (3645),
rprClientStatsInUcastClassBCirFrames (3650),
rprClientStatsInUcastClassBCirOctets (3655),
rprClientStatsInMcastClassBCirFrames (3660),
rprClientStatsInMcastClassBCirOctets (3665),
rprClientStatsInUcastClassAFrames (3670),
rprClientStatsInUcastClassAOctets (3675),
rprClientStatsInMcastClassAFrames (3680),
rprClientStatsInMcastClassAOctets (3685),
rprClientStatsInBcastFrames (3690),
rprClientStatsOutUcastClassCFrames (3695),
rprClientStatsOutUcastClassCOctets (3700),
rprClientStatsOutMcastClassCFrames (3705),
rprClientStatsOutMcastClassCOctets (3710),
rprClientStatsOutUcastClassBEirFrames (3715),
rprClientStatsOutUcastClassBEirOctets (3720),
rprClientStatsOutMcastClassBEirFrames (3725),
rprClientStatsOutMcastClassBEirOctets (3730),
rprClientStatsOutUcastClassBCirFrames (3735),
rprClientStatsOutUcastClassBCirOctets (3740),
rprClientStatsOutMcastClassBCirFrames (3745),
rprClientStatsOutMcastClassBCirOctets (3750),
rprClientStatsOutUcastClassAFrames (3755),
rprClientStatsOutUcastClassAOctets (3760),
rprClientStatsOutMcastClassAFrames (3765),
rprClientStatsOutMcastClassAOctets (3770),
rprClientStatsOutBcastFrames (3775),
rprIfStatsInOctets (3780),
rprIfStatsInFrames (3785),
rprIfStatsOutOctets (3790),
rprIfStatsOutFrames (3795),
rprErrorStatsBadParityFrames (3800),
rprErrorStatsBadHecFrames (3805),
rprErrorStatsTtlExpFrames (3810),
rprErrorStatsTooLongFrames (3815),
rprErrorStatsTooShortFrames (3820),
rprErrorStatsBadFcsFrames (3825),
rprErrorStatsSelfSrcUcastFrames (3830),
rprErrorStatsPmdAbortFrames (3835),
rprErrorStatsBadAddrFrames (3840),
rprErrorStatsContainedFrames (3845),
rprErrorStatsScffErrors (3850),
rprPortCounterError (3870),
etherStatsPkts1519to1522Octets (3875),
dot3StatsControlInUnknownOpCodes (3880),
dot3StatsInPauseFrames (3885),
dot3StatsOutPauseFrames (3900),
rprErrorOversizeFrames (3905),
etherStatsTxFifoOverflowEvents (3910),
ifHCInOctets (3915),
ifHCInUcastPkts (3920),
ifHCInMulticastPkts (3925),
ifHCInBroadcastPkts (3930),
ifHCOutOctets (3935),
ifHCOutMulticastPkts (3940),
ifHCOutBroadcastPkts (3945),
etherStatsHighCapacityPkts (3950),
etherStatsHighCapacityOctets (3955),
etherStatsHighCapacityPkts64Octets (3960),
etherStatsHighCapacityPkts65to127Octets (3965),
etherStatsHighCapacityPkts128to255Octets (3970),
etherStatsHighCapacityPkts256to511Octets (3975),
etherStatsHighCapacityPkts512to1023Octets (3980),
etherStatsHighCapacityPkts1024to1518Octets (3985),
cisRxReports (3990),
cisRxLeaves (3995),
cisTxReports (4000),
cisTxLeaves (4005),
cisTxGeneralQueries (4010),
cisTxGroupSpecificQueries (4015),
cisRxGeneralQueries (4020),
cisRxGroupSpecificQueries (4025),
cisRxValidPackets (4030),
cisRxInvalidPackets (4035),
dot3adAggPortStatsLACPDUsRx (4036),
dot3adAggPortStatsLACPDUsTx (4037),
crepHflRxPdus (4038),
crepHflTxPdus (4039),
crepLslRxPdus (4040),
crepLslTxPdus (4041),
mediaIndStatsTxFramesTruncated (4045),
oscPwrMin (4050),
gfpRxCmfFrame (4051),
oscPwrMax (4055),
gfpTxCmfFrame (4056),
oscPwrAvg (4060),
osnrMin (4065),
osnrMax (4070),
osnrAvg (4075),
pmdMin (4080),
pmdMax (4085),
pmdAvg (4090),
chromDisp (4095),
etherStatsPkts1519toMaxOctets (9992),
mediaIndStatsTxShortPkts (9993),
mediaIndStatsRxLcvErrors (9994),
mediaIndStatsTxLcvErrors (9995),
dot3StatsLcvErrors (9996),
dot3StatsLayer1Errors (9997),
gfpStatsCHecRxMBitErrors (9998),
gfpStatsTHecRxMBitErrors (9999),
rx8b10bWords (10000),
tx8b10bWords (10001),
cdpmMin (4100),
cdpmMax (4105),
cdpmAvg (4110),
sopmdmin (4115),
sopmdmax (4120),
sopmdavg (4125),
pcrmin (4130),
pcrmax (4135),
pcravg (4140),
pdlmin (4145),
pdlmax (4150),
pdlavg (4155)
-- TCA end. Do not change or move this comment and please do not add comma to the last element
}
CerentLocation ::= TEXTUAL-CONVENTION
-- DISPLAY-HINT "1d"
STATUS current
DESCRIPTION
"This will indicate if the
value is local or remote."
SYNTAX INTEGER
{ unknown (1),
farEnd (10),
nearEnd (20)
}
CerentPeriod ::= TEXTUAL-CONVENTION
-- DISPLAY-HINT "1d"
STATUS current
DESCRIPTION
"This will indicate the sampling period."
SYNTAX INTEGER
{ unknown (1),
minutes1 (5),
minutes15 (10),
hour1 (20),
day1 (30)
}
CerentPortNumber ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This indicates the affected port number."
SYNTAX INTEGER
{ unknown (1),
port0 (5),
port1 (10),
port2 (20),
port3 (30),
port4 (40),
port5 (50),
port6 (60),
port7 (70),
port8 (80),
port9 (90),
port10 (100),
port11 (110),
port12 (120),
port13 (130),
port14 (140),
port15 (150),
port16 (160),
port17 (170),
port18 (180),
port19 (190),
port20 (200),
port21 (210),
port22 (220),
port23 (230),
port24 (240),
port25 (250),
port26 (260),
port27 (270),
port28 (280),
port29 (290),
port30 (300),
port31 (310),
port32 (320),
port33 (330),
port34 (340),
port35 (350),
port36 (360),
port37 (370),
port38 (380),
port39 (390),
port40 (400),
port41 (410),
port42 (420),
port43 (430),
port44 (440),
port45 (450),
port46 (460),
port47 (470),
port48 (480),
port49 (490),
port50 (500),
port51 (510),
port52 (520),
port53 (530),
port54 (540),
port55 (550),
port56 (560),
port57 (570),
port58 (580),
port59 (590),
port60 (600),
port61 (610),
port62 (620),
port63 (630),
port64 (640),
portAll (10240)
}
CerentAlarmThresholdMonitorType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"These are the AlarmThresholds that are
monitorable and for which PM data are
collected for non-dwdm cards. For example 'lbcn' stands for
'Laser Bias Current Maximum'"
SYNTAX INTEGER
{
unknown (1),
lbcnMax (10),
lbcnMin (20),
optnMax (30),
optnMin (40),
oprnMax (50),
oprnMin (60)
}
-- The following objects are implemented to facilitate mosy-compatible
-- mib compilers to generate necessary code for the NMS platforms.
-- The objects do not map to any functionality in any of the ONS devices
-- and hence will never be instantiated.
cerentTcDummyGroup OBJECT-GROUP
OBJECTS {
cerentTcDummyMonType,
cerentTcDummyLoc,
cerentTcDummyPeriod,
cerentTcDummyPortNumber,
cerentTcDummyNotifClass,
cerentTcDummyAlarmThresholdMonType,
cerentTcDummyAlarmSeverity,
cerentTcDummyAlarmStatus,
cerentTcDummyAlarmServiceAffecting
}
STATUS current
DESCRIPTION
"Group defn to gather all dummy objects."
::= { cerentGenericDummyObjects 1 }
cerentTcDummyMonType OBJECT-TYPE
SYNTAX CerentMonitorType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { cerentGenericDummyObjects 2 }
cerentTcDummyLoc OBJECT-TYPE
SYNTAX CerentLocation
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { cerentGenericDummyObjects 3 }
cerentTcDummyPeriod OBJECT-TYPE
SYNTAX CerentPeriod
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { cerentGenericDummyObjects 4 }
cerentTcDummyPortNumber OBJECT-TYPE
SYNTAX CerentPortNumber
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { cerentGenericDummyObjects 5 }
cerentTcDummyNotifClass OBJECT-TYPE
SYNTAX CerentNotificationClass
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { cerentGenericDummyObjects 6 }
cerentTcDummyAlarmThresholdMonType OBJECT-TYPE
SYNTAX CerentAlarmThresholdMonitorType
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { cerentGenericDummyObjects 7 }
cerentTcDummyAlarmSeverity OBJECT-TYPE
SYNTAX CerentAlarmSeverity
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { cerentGenericDummyObjects 8 }
cerentTcDummyAlarmStatus OBJECT-TYPE
SYNTAX CerentAlarmStatus
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { cerentGenericDummyObjects 9 }
cerentTcDummyAlarmServiceAffecting OBJECT-TYPE
SYNTAX CerentAlarmServiceAffecting
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { cerentGenericDummyObjects 10 }
END

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,587 @@
-- *****************************************************************
-- CISCO-OPTICAL-PATCH-MIB.my: Cisco optical patch MIB file
--
-- March 2002, Suresh Basavarajappa, Mickey Spiegel and Sameer Merchant
--
-- Copyright (c) 2001-2002, 2004 by cisco Systems, Inc.
-- All rights reserved.
--
-- *****************************************************************
CISCO-OPTICAL-PATCH-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Integer32,
NOTIFICATION-TYPE FROM SNMPv2-SMI
RowStatus, TimeStamp, TruthValue FROM SNMPv2-TC
NOTIFICATION-GROUP, MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
ciscoExperiment FROM CISCO-SMI
InterfaceIndex, ifIndex FROM IF-MIB;
ciscoOpticalPatchMIB MODULE-IDENTITY
LAST-UPDATED "200203180000Z" -- 03/18/2002
ORGANIZATION "Cisco Systems, Inc."
CONTACT-INFO "Cisco Systems
Customer Service
Postal: 170 W Tasman Drive
San Jose, CA 95134
Tel: +1 800 553-NETS
E-mail: cs-dwdm@cisco.com"
DESCRIPTION
"This MIB module is used to configure and monitor the network
element view of optical patches between two ports or
fibers on the same network element.
It is up to the user to keep the provisioned information that
is reflected in this MIB module in sync with the actual patches
present between ports or fibers on the network element.
Provisioning of a patch does not cause a patch to be inserted;
it only informs the network element that a patch has been, or
is soon to be, added or removed."
REVISION "200203180000Z" -- 03/18/2002
DESCRIPTION
"This revision adds support for patching one interface to two
different interfaces in the receive and transmit directions.
This revision deprecates the cOPatchInterfaceTable and
replaces it with the new cOPatchIntfTable. This new table
includes the cOPatchIntfDirection object along with ifIndex
as part of the table index. The cOPatchIntfDirection object
identifies whether this interface is patched to another
interface within a network element in the receive, transmit
or both directions.
A new object cOPatchDirOnLowIf is added to the cOPatchTable
in order to identify the patch direction relative to the
interface with low ifIndex."
REVISION "200109050000Z"
DESCRIPTION
"Initial version of this MIB module."
::= { ciscoExperiment 67 }
cOPatchMIBObjects OBJECT IDENTIFIER ::= { ciscoOpticalPatchMIB 1 }
-- MIB Object Definitions
-- Patch Interface Group
cOPatchInterfaceTable OBJECT-TYPE
SYNTAX SEQUENCE OF COPatchInterfaceEntry
MAX-ACCESS not-accessible
STATUS deprecated
DESCRIPTION
"This table lists all interfaces that are provisioned to
indicate that they are patched to other interfaces on the same
network element. The table is used to find patches that
include a particular interface.
This table is deprecated since it only includes bidirectional
patches. The new cOPatchIntfTable includes both unidirectional
patches (in the transmit or receive direction) and
bidirectional patches."
::= { cOPatchMIBObjects 1 }
cOPatchInterfaceEntry OBJECT-TYPE
SYNTAX COPatchInterfaceEntry
MAX-ACCESS not-accessible
STATUS deprecated
DESCRIPTION
"An entry is created only when an interface is provisioned
to indicate that it is patched to another interface on the same
network element (i.e. when the associated entry in the
cOPatchTable has been created).
An entry is deleted when the interface is removed from a patch,
or when the patch is deleted from the cOPatchTable."
INDEX { ifIndex }
::= { cOPatchInterfaceTable 1 }
COPatchInterfaceEntry ::=
SEQUENCE {
cOPatchIdentifier Integer32
}
cOPatchIdentifier OBJECT-TYPE
SYNTAX Integer32 (1..2147483547)
MAX-ACCESS read-only
STATUS deprecated
DESCRIPTION
"The value of cOPatchIndex used in the cOPatchTable to identify
a patch that includes this interface. The other interface
included in that patch has an entry in this table with the same
value of this object, in addition to the entry in the
cOPatchTable with this value of cOPatchIndex."
::= { cOPatchInterfaceEntry 1 }
-- Patch Group
cOPatchIndexNext OBJECT-TYPE
SYNTAX Integer32 (0..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object contains an appropriate value to be used for
cOPatchIndex when creating entries in the cOPatchTable. The
value 0 indicates that no unassigned entries are available.
To obtain the cOPatchIndex value for a new entry, the manager
issues a management protocol retrieval operation to obtain the
current value of this object.
The agent will modify the value to the next unassigned index,
when a new row is created in cOPatchTable with the current
value of this object. After deletion of a row in cOPatchTable
the agent will determine through its local policy when its
index value will be made available for reuse."
::= { cOPatchMIBObjects 2 }
cOPatchLastChange OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of sysUpTime at the time of the last
creation, deletion or modification of an entry
in the cOPatchTable. If the cOPatchTable entries has been
unchanged since the last re-initialization of the local
network management subsystem, then this object contains a
zero value."
::= { cOPatchMIBObjects 3 }
cOPatchEventType OBJECT-TYPE
SYNTAX INTEGER {
create(1),
delete(2),
modify(3)
}
MAX-ACCESS accessible-for-notify
-- MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The event type of the patch. The use is as follows:
create(1)
The value of this object when cOPatchEvent is generated
upon creation of a patch.
delete(2)
The value of this object when cOPatchEvent is generated
upon deletion of a patch.
modify(3)
The value of this object when cOPatchEvent is generated
upon modification of a patch."
::= { cOPatchMIBObjects 4 }
cOPatchTable OBJECT-TYPE
SYNTAX SEQUENCE OF COPatchEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains the network element view of optical patches
between two interfaces on the same network element.
It is up to the user to keep the provisioned information that
is reflected in this table in sync with the actual patches
present between interfaces on the network element.
Provisioning of a patch in this table does not cause a patch to
be inserted; it only informs the network element that a patch
has been, or is soon to be, added or removed.
Each entry in the table models a unidirectional or
bidirectional patch between two interfaces on the same
network element. When one interface is patched to two
different interfaces, one in the receive direction and
the other in the transmit direction, the interface will
appear in two different entries in the table.
The terms low and high are chosen to represent numerical
ordering of the two interfaces associated with a patch. That
is, the interface with the lower value of ifIndex is termed
'low', while the other interface associated with the patch is
termed 'high'."
::= { cOPatchMIBObjects 5 }
cOPatchEntry OBJECT-TYPE
SYNTAX COPatchEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This entry is used to model a unidirectional or
bidirectional patch between two interfaces on the same
network element.
An entry is created when the network element is provisioned to
indicate that two interfaces on the network element have been
patched together using an optical patch cord.
Prior to creating an entry in the table, the manager should
obtain a unique value of cOPatchIndex by reading the
cOPatchIndexNext object. When an entry in the table is
created, the cOPatchIntfPatchId values in the corresponding
cOPatchIntfTable rows are filled in by the agent."
INDEX { cOPatchIndex }
::= { cOPatchTable 1 }
COPatchEntry ::=
SEQUENCE {
cOPatchIndex Integer32,
cOPatchLowIfIndex InterfaceIndex,
cOPatchHighIfIndex InterfaceIndex,
cOPatchType INTEGER,
cOPatchStatus INTEGER,
cOPatchCreationTime TimeStamp,
cOPatchRowStatus RowStatus,
cOPatchDirOnLowIf INTEGER
}
cOPatchIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A unique value used to identify this patch. For each
interface associated with this patch, the agent reports this
patch index value in the cOPatchIntfPatchId object of the
corresponding cOPatchIntfTable entries.
When the value of this index is equal to the current value
of cOPatchIndexNext, the agent will modify the value of
cOPatchIndexNext to the next unassigned index."
::= { cOPatchEntry 1 }
cOPatchLowIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The value of this object is equal to MIB II's ifIndex value of
the interface for this patch. The term low implies that this
interface has the numerically lower ifIndex value than the
other interface identified in the same cOPatchEntry.
The value of this object is specified during row creation,
and can never be changed."
::= { cOPatchEntry 2 }
cOPatchHighIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The value of this object is equal to MIB II's ifIndex value of
the interface for this patch. The term high implies that this
interface has the numerically higher ifIndex value than the
other interface identified in the same cOPatchEntry.
The value of this object is specified during row creation,
and can never be changed."
::= { cOPatchEntry 3 }
cOPatchType OBJECT-TYPE
SYNTAX INTEGER {
provisioned(1),
automatic(2),
other(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The creation type of the patch. The use is as follows:
provisioned(1)
Provisioned by the user or by a management system
using the Command Line Interface, SNMP, or other
means of management access to the network element.
automatic(2)
Created automatically by the network element, without
user or management intervention. In particular, this
is used to represent fixed patches due to the presence
of entities such as optical backplanes."
::= { cOPatchEntry 4 }
cOPatchStatus OBJECT-TYPE
SYNTAX INTEGER {
noError(1),
otherError(2),
interfaceError(3),
interfaceChannelError(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the error status of the patch.
The use is as follows:
noError(1)
This value indicates a patch with no error.
otherError(2)
This value indicates an unknown patch error.
interfaceError(3)
This value indicates one or both interfaces are of
the wrong type for a patch or the two interfaces
are not supposed to be patched together.
interfaceChannelError(4)
This value indicates the frequency channel of the
two interfaces in this patch entry do not match."
::= { cOPatchEntry 5 }
cOPatchCreationTime OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of MIB II's sysUpTime object at the time this
patch was created. If the current state was
entered prior to the last re-initialization of the agent then
this object contains a zero value."
::= { cOPatchEntry 6 }
cOPatchRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The status of this entry in the cOPatchTable. This object is
used to create an entry indicating that two interfaces on the
network element have been patched together, or to modify or
delete an existing entry."
::= { cOPatchEntry 7 }
cOPatchDirOnLowIf OBJECT-TYPE
SYNTAX INTEGER {
lowIfDirReceive(1),
lowIfDirTransmit(2),
lowIfDirBoth(3)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"In case of an optical interface where the transmitted
and received signals travel on two different strands of
fiber, it is possible that each fiber is patched to a
different interface. This object identifies the patch
direction for this entry relative to the interface with
low ifIndex.
The direction in which the interface with high ifIndex
is patched can be deduced based on this object value.
If the interface with low ifIndex is patched in the
receive direction, the associated high interface has to
be patched in the transmit direction and vice versa. If
the low interface is patched in both directions, the
same should hold true on the interface with high
ifIndex.
"
DEFVAL { lowIfDirBoth }
::= { cOPatchEntry 8 }
cOPatchEventEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Notifications that a patch between two interfaces is
created, modified or deleted are enabled if this value
is set to 'true'."
DEFVAL { false }
::= { cOPatchMIBObjects 6 }
-- End of cOPatchTable
-- New Patch Interface Group
cOPatchIntfTable OBJECT-TYPE
SYNTAX SEQUENCE OF COPatchIntfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table lists all interfaces that are provisioned to
indicate that they are patched to other interfaces on the same
network element. The table is used to find patches that
include a particular interface.
An interface can be patched to another interface in the
receive direction, the transmit direction or both
directions. The cOPatchIntfDirection object identifies
the direction."
::= { cOPatchMIBObjects 7 }
cOPatchIntfEntry OBJECT-TYPE
SYNTAX COPatchIntfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry is created only when an interface is provisioned
to indicate that it is patched to another interface on the same
network element (i.e. when the associated entry in the
cOPatchTable has been created).
An entry is deleted when the interface is removed from a patch,
or when the patch is deleted from the cOPatchTable."
INDEX { ifIndex, cOPatchIntfDirection }
::= { cOPatchIntfTable 1 }
COPatchIntfEntry ::=
SEQUENCE {
cOPatchIntfDirection INTEGER,
cOPatchIntfPatchId Integer32
}
cOPatchIntfDirection OBJECT-TYPE
SYNTAX INTEGER { receive(1),
transmit(2),
both(3)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"In case of an optical interface where the transmitted
and received signals travel on two different strands of
fiber, it is possible that each fiber is patched to a
different interface. For example, the transmit and
receive fibers of this interface may have unidirectional
connections to different optical amplifiers.
This object indicates whether this entry describes a
patch in the receive direction, the transmit direction
or both directions. If both the transmit and receive
fibers of this interface are patched to the same
interface, then this object is set to 'both'. Individual
entries for 'transmit' and 'receive' should not be
created in this case."
::= { cOPatchIntfEntry 1 }
cOPatchIntfPatchId OBJECT-TYPE
SYNTAX Integer32 (1..2147483547)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of cOPatchIndex used in the cOPatchTable to identify
a patch that includes this interface. The other interface
included in that patch has an entry in this table with the same
value of this object, in addition to the entry in the
cOPatchTable with this value of cOPatchIndex."
::= { cOPatchIntfEntry 2 }
-- End of New Patch Interface Group
-- Notifications
cOPatchMIBNotifications OBJECT IDENTIFIER ::= { ciscoOpticalPatchMIB 2 }
cOPatchEvent NOTIFICATION-TYPE
OBJECTS { cOPatchLowIfIndex,
cOPatchHighIfIndex,
cOPatchType,
cOPatchStatus,
cOPatchEventType }
STATUS current
DESCRIPTION
"This notification is generated when ever a patch
is created, modified or deleted."
::= { cOPatchMIBNotifications 1 }
-- End of notifications
-- Conformance
cOPatchMIBConformance OBJECT IDENTIFIER ::= { ciscoOpticalPatchMIB 3 }
cOPatchMIBCompliances OBJECT IDENTIFIER ::= { cOPatchMIBConformance 1 }
cOPatchMIBGroups OBJECT IDENTIFIER ::= { cOPatchMIBConformance 2 }
-- Compliance
cOPatchMIBCompliance MODULE-COMPLIANCE
STATUS deprecated
DESCRIPTION
"The compliance statement for entities which implement
the Cisco Patch MIB"
MODULE -- this module
MANDATORY-GROUPS { cOPatchInterfaceGroup,
cOPatchGroup,
cOPatchNotifyGroup }
::= { cOPatchMIBCompliances 1 }
cOPatchMIBCompliance1 MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement
the Cisco Patch MIB"
MODULE -- this module
MANDATORY-GROUPS { cOPatchIntfGroup,
cOPatchGroup1,
cOPatchNotifyGroup }
::= { cOPatchMIBCompliances 2 }
-- Units of Conformance
cOPatchInterfaceGroup OBJECT-GROUP
OBJECTS { cOPatchIdentifier
}
STATUS deprecated
DESCRIPTION
"Object needed to implement Interfaces with
Patches."
::= { cOPatchMIBGroups 1 }
cOPatchGroup OBJECT-GROUP
OBJECTS { cOPatchIndexNext,
cOPatchLastChange,
cOPatchEventType,
cOPatchEventEnabled,
cOPatchLowIfIndex,
cOPatchHighIfIndex,
cOPatchType,
cOPatchStatus,
cOPatchCreationTime,
cOPatchRowStatus
}
STATUS deprecated
DESCRIPTION
"Collection of objects needed to implement
Patches."
::= { cOPatchMIBGroups 2 }
cOPatchNotifyGroup NOTIFICATION-GROUP
NOTIFICATIONS { cOPatchEvent }
STATUS current
DESCRIPTION
"Patch error notifications."
::= { cOPatchMIBGroups 3 }
cOPatchIntfGroup OBJECT-GROUP
OBJECTS { cOPatchIntfPatchId
}
STATUS current
DESCRIPTION
"Object needed to implement Interfaces with
Patches."
::= { cOPatchMIBGroups 4 }
cOPatchGroup1 OBJECT-GROUP
OBJECTS { cOPatchIndexNext,
cOPatchLastChange,
cOPatchEventType,
cOPatchEventEnabled,
cOPatchLowIfIndex,
cOPatchHighIfIndex,
cOPatchType,
cOPatchStatus,
cOPatchCreationTime,
cOPatchRowStatus,
cOPatchDirOnLowIf
}
STATUS current
DESCRIPTION
"Collection of objects needed to implement
Patches in transmit, receive or both directions."
::= { cOPatchMIBGroups 5 }
-- End of CISCO-PATCH-MIB
END

240
mibs/cisco/CISCO-VOA-MIB Normal file
View File

@@ -0,0 +1,240 @@
-- *****************************************************************
-- CISCO-VOA-MIB.my
--
-- May 2002, Sonal Maheshwari, Mickey Spiegel
--
-- Copyright (c) 2002 by cisco Systems, Inc.
-- All rights reserved.
-- *****************************************************************
CISCO-VOA-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Integer32 FROM SNMPv2-SMI
TEXTUAL-CONVENTION,
TimeStamp FROM SNMPv2-TC
MODULE-COMPLIANCE,
OBJECT-GROUP FROM SNMPv2-CONF
ifIndex FROM IF-MIB
OpticalIfDirection FROM CISCO-OPTICAL-MONITOR-MIB
ciscoMgmt FROM CISCO-SMI
;
ciscoVoaMIB MODULE-IDENTITY
LAST-UPDATED "200205070000Z"
ORGANIZATION "Cisco Systems, Inc."
CONTACT-INFO "Cisco Systems
Customer Service
Postal: 170 W Tasman Drive
San Jose, CA 95134
Tel: +1 800 553-NETS
E-mail: cs-dwdm@cisco.com"
DESCRIPTION
"This MIB module defines objects to configure and manage the
Variable Optical Attenuator (VOA) modules.
VOA modules are typically used to attenuate channels added
by a network element, in order to equalize the input power of
each wavelength before the multiplexed signal consisting of
all wavelengths is sent through an EDFA. There may be
a separate VOA per channel, one VOA per band of wavelengths,
or one VOA for the pass through wavelengths.
VOA modules are also often used before terminating optical
wavelengths at optical receivers, in order to avoid receiver
saturation.
The VOAs may be present on various modules within the network
element, for example, on an Optical Add/Drop Multiplexer
(OADM) module, on the same module as an optical transceiver,
or on a separate module of its own.
"
REVISION "200205070000Z"
DESCRIPTION
"The initial revision of this MIB."
::= { ciscoMgmt 262 }
-- Textual Conventions
OpticalPowerInDbm ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"An integer value that gives the optical power level in 1/10ths
of dBm.
Example: The value -300 represents a power level of -30.0 dBm.
The distinguished value of '-1000' indicates that the object
has not yet been initialized.
"
SYNTAX Integer32 ( -400..250 | -1000 )
OpticalAttenInDb ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"An integer value that gives the attenuation level in
1/10ths of dB.
Example: The value 80 represents an attenuation
level of 8.0 dB.
"
SYNTAX Integer32 (0..400)
-- MIB Object Definitions
cVoaMIBObjects OBJECT IDENTIFIER ::= { ciscoVoaMIB 1 }
-- groups in this MIB module
cVoaBaseGroup OBJECT IDENTIFIER ::= { cVoaMIBObjects 1 }
-- VOA basic objects
cVoaTable OBJECT-TYPE
SYNTAX SEQUENCE OF CVoaEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table provides objects to configure and control the
attenuation on VOAs."
::={ cVoaBaseGroup 1 }
cVoaEntry OBJECT-TYPE
SYNTAX CVoaEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the cVoaTable provides objects to configure and
control the attenuation level of a VOA at an interface, for
a given direction."
INDEX { ifIndex, cVoaDirection }
::={ cVoaTable 1 }
CVoaEntry ::= SEQUENCE {
cVoaDirection OpticalIfDirection,
cVoaAttenuationControlMode INTEGER,
cVoaAttenuation OpticalAttenInDb,
cVoaAttenuationLastChange TimeStamp,
cVoaDesiredPower OpticalPowerInDbm
}
cVoaDirection OBJECT-TYPE
SYNTAX OpticalIfDirection
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This is the second index into the cVoaTable and indicates
the direction for which the attenuation level at this
interface is being controlled, in this entry."
::={ cVoaEntry 1 }
cVoaAttenuationControlMode OBJECT-TYPE
SYNTAX INTEGER {
manual(1),
automatic(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object is used to set the mode of controlling the
attenuation level of a VOA at an interface.
When the mode is set to 'manual', the attenuation level is
configured manually, by setting the desired attenuation
level in the cVoaAttenuation object. The cVoaDesiredPower
object does not apply in this case.
When the mode is set to 'automatic', the attenuation level
is continuously adjusted to maintain a desired power level,
after attenuation. The desired optical power level after
attenuation is configured using the cVoaDesiredPower object.
The cVoaAttenuation object cannot be configured in this case,
but it indicates the attenuation level derived from the
desired power level.
The automatic mode of controlling attenuation should not be
used when the monitored power level includes multiple
wavelengths, since the power level monitor cannot distinguish
between a decrease in power across all wavelengths, versus a
loss of power of some but not all wavelengths. If some but not
all wavelengths go down, this would cause the attenuation level
to be automatically decreased, leading to an increase in the
power level of the remaining wavelengths."
::={ cVoaEntry 2 }
cVoaAttenuation OBJECT-TYPE
SYNTAX OpticalAttenInDb
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the attenuation level applied at the
interface.
When the cVoaAttenuationControlMode object is set to 'manual',
the attenuation level may be specified by setting this object."
::={ cVoaEntry 3 }
cVoaAttenuationLastChange OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the value of sysUpTime at the last
time the attenuation level was adjusted at this interface,
in the given direction."
::={ cVoaEntry 4 }
cVoaDesiredPower OBJECT-TYPE
SYNTAX OpticalPowerInDbm
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object indicates the desired optical power level,
after attenuation, at the interface.
This object applies only when the cVoaAttenuationControlMode
object is set to 'automatic'. In this mode, the attenuation
level is continuously adjusted to maintain the desired
power level, after attenuation, as specified by this object."
::={ cVoaEntry 5 }
-- MIB Conformance Statements
cVoaMIBConformance OBJECT IDENTIFIER ::= { ciscoVoaMIB 3 }
cVoaMIBCompliances OBJECT IDENTIFIER ::= { cVoaMIBConformance 1 }
cVoaMIBGroups OBJECT IDENTIFIER ::= { cVoaMIBConformance 2 }
cVoaMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for platforms that provide
configuration and control of VOA modules."
MODULE -- this module
MANDATORY-GROUPS { cVoaMIBBaseGroup }
::={ cVoaMIBCompliances 1 }
-- Units of Conformance
cVoaMIBBaseGroup OBJECT-GROUP
OBJECTS {
cVoaAttenuationControlMode,
cVoaAttenuation,
cVoaAttenuationLastChange,
cVoaDesiredPower
}
STATUS current
DESCRIPTION
"A collection of mandatory managed objects that provide basic
configuration and control of the VOA modules."
::={ cVoaMIBGroups 1 }
END

View File

@@ -63,11 +63,14 @@ class YamlTest extends \PHPUnit_Framework_TestCase
} }
foreach ($data['modules'] as $module => $sub_modules) { foreach ($data['modules'] as $module => $sub_modules) {
foreach ($sub_modules as $sub_module) { foreach ($sub_modules as $type => $sub_module) {
foreach ($sub_module['data'] as $sensor) { foreach ($sub_module['data'] as $sensor) {
$this->assertArrayHasKey('oid', $sensor, $file); $this->assertArrayHasKey('oid', $sensor, $file);
$this->assertArrayHasKey('num_oid', $sensor, $file); if ($type !== 'pre-cache') {
$this->assertArrayHasKey('descr', $sensor, $file); $this->assertArrayHasKey('oid', $sensor, $file);
$this->assertArrayHasKey('num_oid', $sensor, $file);
$this->assertArrayHasKey('descr', $sensor, $file);
}
} }
} }
} }