Smartoptics dcp m 40 zr (#13634)

* Initial commit of DCP-M

* Match on system name DCP

* Fix matching regex

* Add pre-cache and dbm discovery

* Show dbm graph

* Adding snmpsim data

* Fix styleCI issue

* Detect dcp-m mib

* DCP-M Progress

* Fix CI issue

* Removing pre-cache and dbm files
This commit is contained in:
Arnoud Vermeer
2022-01-10 01:55:02 +01:00
committed by GitHub
parent ca86a17a12
commit e2b32c0ca2
13 changed files with 31289 additions and 1 deletions

View File

@@ -0,0 +1,59 @@
mib: DCP-INTERFACE-MIB:DCP-LINKVIEW-MIB
modules:
os:
sysDescr_regex: '/Smartoptics, (?<hardware>DCP-M[\d]{1,2}-PAM4(-[\w\+]+)?)/'
sensors:
state:
data:
-
oid: dcpInterfaceTable
num_oid: '.1.3.6.1.4.1.30826.2.2.2.1.1.1.5.{{ $index }}'
value: dcpInterfaceStatus
descr: '{{ $dcpInterfaceChannelId }}'
index: 'dcpInterfaceStatus.{{ $index }}'
state_name: InterfaceStatus
states:
- { value: 1, generic: 0, graph: 1, descr: idle }
- { value: 2, generic: 2, graph: 1, descr: down }
- { value: 3, generic: 0, graph: 1, descr: up }
-
oid: dcpLinkviewTable
num_oid: '.1.3.6.1.4.1.30826.2.2.2.1.1.1.5.{{ $index }}'
value: dcpLinkviewLocalStatus
descr: '{{ $dcpLinkviewLocalName }} - {{ $dcpLinkviewRemoteName }}'
index: 'dcpLinkviewLocalStatus.{{ $index }}'
state_name: InterfaceStatus
states:
- { value: 1, generic: 0, graph: 1, descr: idle }
- { value: 2, generic: 2, graph: 1, descr: down }
- { value: 3, generic: 0, graph: 1, descr: up }
dbm:
data:
-
oid: dcpInterfaceTable
num_oid: '.1.3.6.1.4.1.30826.2.2.2.1.1.1.3.{{ $index }}'
value: dcpInterfaceRxPower
divisor: 10
descr: '{{ $dcpInterfaceChannelId }} - RX'
index: 'dcpInterfaceRxPower.{{ $index }}'
-
oid: dcpInterfaceTable
num_oid: '.1.3.6.1.4.1.30826.2.2.2.1.1.1.4.{{ $index }}'
divisor: 10
value: dcpInterfaceTxPower
descr: '{{ $dcpInterfaceChannelId }} - TX'
index: 'dcpInterfaceTxPower.{{ $index }}'
-
oid: dcpLinkviewTable
num_oid: '.1.3.6.1.4.1.30826.2.2.3.1.1.1.14.{{ $index }}'
divisor: 10
value: dcpLinkviewRemotePower
descr: '{{ $dcpLinkviewLocalName }} - {{ $dcpLinkviewRemoteName }} - Remote Power'
index: 'dcpLinkviewRemotePower.{{ $index }}'
-
oid: dcpLinkviewTable
num_oid: '.1.3.6.1.4.1.30826.2.2.3.1.1.1.5.{{ $index }}'
divisor: 10
value: dcpLinkviewLocalPower
descr: '{{ $dcpLinkviewLocalName }} - {{ $dcpLinkviewRemoteName }} - Local Power'
index: 'dcpLinkviewLocalPower.{{ $index }}'

View File

@@ -0,0 +1,12 @@
os: smartos-dcp-m
text: 'SmartOptics DCP-M Series'
type: network
icon: smartoptics
group: smartoptics
mib_dir: smartoptics
over:
- { graph: device_dbm, text: dbm }
discovery:
-
sysObjectID:
- .1.3.6.1.4.1.30826.2

View File

@@ -3,6 +3,7 @@ text: 'SmartOptics T-Series'
type: network
icon: smartoptics
group: smartoptics
mib_dir: smartoptics
over:
- { graph: device_bits, text: 'Device Traffic' }
- { graph: device_processor, text: 'CPU Usage' }

View File

@@ -3,6 +3,7 @@ text: 'SmartOptics M-Series'
type: network
icon: smartoptics
group: smartoptics
mib_dir: smartoptics
over:
- { graph: device_bits, text: 'Device Traffic' }
- { graph: device_processor, text: 'CPU Usage' }
@@ -10,4 +11,4 @@ over:
discovery:
-
sysObjectID:
- .1.3.6.1.4.1.30826
- .1.3.6.1.4.1.30826.1

View File

@@ -0,0 +1,583 @@
--
-- DCP-ALARM-MIB.mib
-- Smartoptics DCP Alarm Enterprise Specific MIB.
--
-- Copyright (c) 2018, Smartoptics
-- All rights reserved
--
DCP-ALARM-MIB DEFINITIONS ::= BEGIN
IMPORTS
dcpGeneric
FROM DCP-MIB
ItuPerceivedSeverity
FROM SO-TC-MIB
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF
Unsigned32, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE
FROM SNMPv2-SMI
DisplayString, DateAndTime, TEXTUAL-CONVENTION
FROM SNMPv2-TC;
-- September 11, 2018 at 21:26 GMT
-- 1.3.6.1.4.1.30826.2.2.2
dcpAlarm MODULE-IDENTITY
LAST-UPDATED "202006240800Z"
ORGANIZATION "Smartoptics."
CONTACT-INFO "http://www.smartoptics.com"
DESCRIPTION "This is the enterprise specific DCP ALARM MIB for Smartoptics"
REVISION "202006240800Z" -- June 24.
DESCRIPTION "Addition of interfaceDescription attribute in alarmActive."
REVISION "201810081444Z"
DESCRIPTION "The initial revision"
::= { dcpGeneric 2 }
-- Textual conventions
--
-- definitions of the textual convetions
--
DcpAlarmIndex ::= TEXTUAL-CONVENTION
DISPLAY-HINT
"d"
STATUS current
DESCRIPTION
"Unique alarm index."
SYNTAX Unsigned32 (0..29999)
-- Node definitions
--
-- 1.3.6.1.4.1.30826.2.2.2.1
dcpAlarmGeneral OBJECT IDENTIFIER ::= { dcpAlarm 1 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1
dcpAlarmGeneralList OBJECT IDENTIFIER ::= { dcpAlarmGeneral 1 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.1
dcpAlarmGeneralHighestSeverity OBJECT-TYPE
SYNTAX ItuPerceivedSeverity
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The highest severity of the active alarms in the system."
::= { dcpAlarmGeneralList 1 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.2
dcpAlarmGeneralActiveCritical OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of active critical alarms in the system."
::= { dcpAlarmGeneralList 2 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.3
dcpAlarmGeneralActiveMajor OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of active major alarms in the system."
::= { dcpAlarmGeneralList 3 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.4
dcpAlarmGeneralActiveMinor OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of active minor alarms in the system."
::= { dcpAlarmGeneralList 4 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.5
dcpAlarmGeneralActiveWarning OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of active warning alarms in the system."
::= { dcpAlarmGeneralList 5 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.6
dcpAlarmGeneralNumberActiveList OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of active alarms in the system. This is also the
number of alarms in the dcpAlarmActiveLTable"
::= { dcpAlarmGeneralList 6 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.7
dcpAlarmGeneralNumberLogList OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of alarms(active and deactivated) there is in the
system. This number matches the number of rows in the
dcpAlarmLogTable."
::= { dcpAlarmGeneralList 7 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.8
dcpAlarmGeneralLastTrapSeqNumber OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The sequece number used when the last Enterprise trap was sent."
::= { dcpAlarmGeneralList 8 }
-- 1.3.6.1.4.1.30826.2.2.2.2
dcpAlarmObjects OBJECT IDENTIFIER ::= { dcpAlarm 2 }
-- 1.3.6.1.4.1.30826.2.2.2.2.1
dcpAlarmActiveListTable OBJECT-TYPE
SYNTAX SEQUENCE OF DcpAlarmActiveListEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Keeps a list of the current active alarms in the system."
::= { dcpAlarmObjects 1 }
-- 1.3.6.1.4.1.30826.2.2.2.2.1.1
dcpAlarmActiveListEntry OBJECT-TYPE
SYNTAX DcpAlarmActiveListEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Description."
INDEX { dcpAlarmActiveListIndex }
::= { dcpAlarmActiveListTable 1 }
DcpAlarmActiveListEntry ::=
SEQUENCE {
dcpAlarmActiveListIndex
DcpAlarmIndex,
dcpAlarmActiveListLocation
DisplayString,
dcpAlarmActiveListInterfaceName
DisplayString,
dcpAlarmActiveListText
DisplayString,
dcpAlarmActiveListSeverity
ItuPerceivedSeverity,
dcpAlarmActiveListStartTime
DateAndTime,
dcpAlarmActiveListSeqNumber
Unsigned32,
dcpAlarmActiveListInterfaceDescription
DisplayString
}
-- 1.3.6.1.4.1.30826.2.2.2.2.1.1.1
dcpAlarmActiveListIndex OBJECT-TYPE
SYNTAX DcpAlarmIndex
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Unique index assigned to each alarm."
::= { dcpAlarmActiveListEntry 1 }
-- 1.3.6.1.4.1.30826.2.2.2.2.1.1.2
dcpAlarmActiveListLocation OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The location from where the alarm originated.
chassis, slot 1, slot 2, psu-1/1, psu-1/2 or fan-1/1"
::= { dcpAlarmActiveListEntry 2 }
-- 1.3.6.1.4.1.30826.2.2.2.2.1.1.3
dcpAlarmActiveListInterfaceName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The interface name from where the alarm originated. If no
interface this value is empty.
if-c/s/i where c = chassis, s = slot, i = interface
or
if-c/channelid where c = chassis."
::= { dcpAlarmActiveListEntry 3 }
-- 1.3.6.1.4.1.30826.2.2.2.2.1.1.4
dcpAlarmActiveListText OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The text for the alarm."
::= { dcpAlarmActiveListEntry 4 }
-- 1.3.6.1.4.1.30826.2.2.2.2.1.1.5
dcpAlarmActiveListSeverity OBJECT-TYPE
SYNTAX ItuPerceivedSeverity
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The severity of the alarm as defined in ITU-T X.733."
::= { dcpAlarmActiveListEntry 5 }
-- 1.3.6.1.4.1.30826.2.2.2.2.1.1.6
dcpAlarmActiveListStartTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time when the alarm was activated."
::= { dcpAlarmActiveListEntry 6 }
-- 1.3.6.1.4.1.30826.2.2.2.2.1.1.7
dcpAlarmActiveListSeqNumber OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This OID currently always returns 0."
::= { dcpAlarmActiveListEntry 7 }
-- 1.3.6.1.4.1.30826.2.2.2.2.1.1.8
dcpAlarmActiveListInterfaceDescription OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..128))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The interface description field from where the alarm originated."
::= { dcpAlarmActiveListEntry 8 }
-- 1.3.6.1.4.1.30826.2.2.2.2.2
dcpAlarmLogTable OBJECT-TYPE
SYNTAX SEQUENCE OF DcpAlarmLogEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Keeps a list of the current active and deactivated alarms in
the system."
::= { dcpAlarmObjects 2 }
-- 1.3.6.1.4.1.30826.2.2.2.2.2.1
dcpAlarmLogEntry OBJECT-TYPE
SYNTAX DcpAlarmLogEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Description."
INDEX { dcpAlarmLogListIndex }
::= { dcpAlarmLogTable 1 }
DcpAlarmLogEntry ::=
SEQUENCE {
dcpAlarmLogListIndex
DcpAlarmIndex,
dcpAlarmLogListLocation
DisplayString,
dcpAlarmLogListInterfaceName
DisplayString,
dcpAlarmLogListText
DisplayString,
dcpAlarmLogListSeverity
ItuPerceivedSeverity,
dcpAlarmLogListStartTime
DateAndTime,
dcpAlarmLogListEndTime
DateAndTime,
dcpAlarmLogListSeqNumber
Unsigned32,
dcpAlarmLogListInterfaceDescription
DisplayString
}
-- 1.3.6.1.4.1.30826.2.2.2.2.2.1.1
dcpAlarmLogListIndex OBJECT-TYPE
SYNTAX DcpAlarmIndex
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Unique index assigned to each alarm."
::= { dcpAlarmLogEntry 1 }
-- 1.3.6.1.4.1.30826.2.2.2.2.2.1.2
dcpAlarmLogListLocation OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The location from where the alarm originated.
chassis, slot 1, slot 2, psu-1/1, psu-1/2 or fan-1/1"
::= { dcpAlarmLogEntry 2 }
-- 1.3.6.1.4.1.30826.2.2.2.2.2.1.3
dcpAlarmLogListInterfaceName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The interface name from where the alarm originated. If no
interface this value is empty.
if-c/s/i where c = chassis, s = slot and i = interface number."
::= { dcpAlarmLogEntry 3 }
-- 1.3.6.1.4.1.30826.2.2.2.2.2.1.4
dcpAlarmLogListText OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The alarm text for the alarm."
::= { dcpAlarmLogEntry 4 }
-- 1.3.6.1.4.1.30826.2.2.2.2.2.1.5
dcpAlarmLogListSeverity OBJECT-TYPE
SYNTAX ItuPerceivedSeverity
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The severity of the alarm as defined in ITU-T X.733."
::= { dcpAlarmLogEntry 5 }
-- 1.3.6.1.4.1.30826.2.2.2.2.2.1.6
dcpAlarmLogListStartTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time when the alarm was activated."
::= { dcpAlarmLogEntry 6 }
-- 1.3.6.1.4.1.30826.2.2.2.2.2.1.7
dcpAlarmLogListEndTime OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time when the alarm was deactivated."
::= { dcpAlarmLogEntry 7 }
-- 1.3.6.1.4.1.30826.2.2.2.2.2.1.8
dcpAlarmLogListSeqNumber OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This OID currently always returns 0."
::= { dcpAlarmLogEntry 8 }
-- 1.3.6.1.4.1.30826.2.2.2.2.2.1.9
dcpAlarmLogListInterfaceDescription OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..128))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The interface description field from where the alarm originated."
::= { dcpAlarmLogEntry 9 }
-- 1.3.6.1.4.1.30826.2.2.2.3
dcpAlarmMIBNotifications OBJECT IDENTIFIER ::= { dcpAlarm 3 }
-- 1.3.6.1.4.1.30826.2.2.2.3.0
dcpAlarmNotification OBJECT IDENTIFIER ::= { dcpAlarmMIBNotifications 0 }
-- 1.3.6.1.4.1.30826.2.2.2.3.0.1
dcpAlarmNotificationCleared NOTIFICATION-TYPE
OBJECTS { dcpAlarmLogListIndex, dcpAlarmLogListLocation, dcpAlarmLogListInterfaceName, dcpAlarmLogListText, dcpAlarmLogListSeverity,
dcpAlarmLogListStartTime, dcpAlarmLogListEndTime, dcpAlarmLogListSeqNumber, dcpAlarmLogListInterfaceDescription }
STATUS current
DESCRIPTION
"Sent when an alarm is deactivated."
::= { dcpAlarmNotification 1 }
-- 1.3.6.1.4.1.30826.2.2.2.3.0.2
dcpAlarmNotificationCritical NOTIFICATION-TYPE
OBJECTS { dcpAlarmLogListIndex, dcpAlarmLogListLocation, dcpAlarmLogListInterfaceName, dcpAlarmLogListText, dcpAlarmLogListSeverity,
dcpAlarmLogListStartTime, dcpAlarmLogListSeqNumber, dcpAlarmLogListInterfaceDescription }
STATUS current
DESCRIPTION
"Sent when an alarm of severity critical is activated."
::= { dcpAlarmNotification 2 }
-- 1.3.6.1.4.1.30826.2.2.2.3.0.3
dcpAlarmNotificationMajor NOTIFICATION-TYPE
OBJECTS { dcpAlarmLogListIndex, dcpAlarmLogListLocation, dcpAlarmLogListInterfaceName, dcpAlarmLogListText, dcpAlarmLogListSeverity,
dcpAlarmLogListStartTime, dcpAlarmLogListSeqNumber, dcpAlarmLogListInterfaceDescription }
STATUS current
DESCRIPTION
"Sent when an alarm of severity major is activated."
::= { dcpAlarmNotification 3 }
-- 1.3.6.1.4.1.30826.2.2.2.3.0.4
dcpAlarmNotificationMinor NOTIFICATION-TYPE
OBJECTS { dcpAlarmLogListIndex, dcpAlarmLogListLocation, dcpAlarmLogListInterfaceName, dcpAlarmLogListText, dcpAlarmLogListSeverity,
dcpAlarmLogListStartTime, dcpAlarmLogListSeqNumber, dcpAlarmLogListInterfaceDescription }
STATUS current
DESCRIPTION
"Sent when an alarm of severity minor is activated."
::= { dcpAlarmNotification 4 }
-- 1.3.6.1.4.1.30826.2.2.2.3.0.5
dcpAlarmNotificationWarning NOTIFICATION-TYPE
OBJECTS { dcpAlarmLogListIndex, dcpAlarmLogListLocation, dcpAlarmLogListInterfaceName, dcpAlarmLogListText, dcpAlarmLogListSeverity,
dcpAlarmLogListStartTime, dcpAlarmLogListSeqNumber, dcpAlarmLogListInterfaceDescription }
STATUS current
DESCRIPTION
"Sent when an alarm of severity warning is activated."
::= { dcpAlarmNotification 5 }
-- ----------------------------------------------------
-- Conformance
-- ----------------------------------------------------
-- 1.3.6.1.4.1.30826.2.2.2.4
dcpAlarmMIBCompliance OBJECT IDENTIFIER ::= { dcpAlarm 4 }
-- ----------------------------------------------------
-- Groups
-- ----------------------------------------------------
-- 1.3.6.1.4.1.30826.2.2.2.4.1
dcpAlarmMIBGroups OBJECT IDENTIFIER ::= { dcpAlarmMIBCompliance 1 }
-- ----------------------------------------------------
-- 1.3.6.1.4.1.30826.2.2.2.4.1.1
dcpAlarmGeneralGroupV1 OBJECT-GROUP
OBJECTS { dcpAlarmGeneralHighestSeverity, dcpAlarmGeneralActiveCritical, dcpAlarmGeneralActiveMajor, dcpAlarmGeneralActiveMinor,
dcpAlarmGeneralActiveWarning, dcpAlarmGeneralNumberActiveList, dcpAlarmGeneralNumberLogList, dcpAlarmGeneralLastTrapSeqNumber }
STATUS current
DESCRIPTION
"The general alarm objects V1."
::= { dcpAlarmMIBGroups 1 }
-- 1.3.6.1.4.1.30826.2.2.2.4.1.2
dcpAlarmNotificationGroupV1 NOTIFICATION-GROUP
NOTIFICATIONS { dcpAlarmNotificationCleared, dcpAlarmNotificationCritical, dcpAlarmNotificationMajor, dcpAlarmNotificationMinor, dcpAlarmNotificationWarning
}
STATUS current
DESCRIPTION
"The alarm notifications V1."
::= { dcpAlarmMIBGroups 2 }
-- 1.3.6.1.4.1.30826.2.2.2.4.1.3
dcpAlarmActiveListGroupV1 OBJECT-GROUP
OBJECTS { dcpAlarmActiveListIndex, dcpAlarmActiveListLocation, dcpAlarmActiveListInterfaceName,
dcpAlarmActiveListText, dcpAlarmActiveListSeverity, dcpAlarmActiveListStartTime, dcpAlarmActiveListSeqNumber }
STATUS deprecated
DESCRIPTION
"The active alarm list objects V1."
::= { dcpAlarmMIBGroups 3 }
-- 1.3.6.1.4.1.30826.2.2.2.4.1.4
dcpAlarmLogListGroupV1 OBJECT-GROUP
OBJECTS { dcpAlarmLogListIndex, dcpAlarmLogListLocation, dcpAlarmLogListInterfaceName,
dcpAlarmLogListText, dcpAlarmLogListSeverity, dcpAlarmLogListStartTime, dcpAlarmLogListEndTime, dcpAlarmLogListSeqNumber }
STATUS deprecated
DESCRIPTION
"The alarm log list objects V1."
::= { dcpAlarmMIBGroups 4 }
-- 1.3.6.1.4.1.30826.2.2.2.4.1.5
dcpAlarmLogListGroupV2 OBJECT-GROUP
OBJECTS { dcpAlarmLogListIndex, dcpAlarmLogListLocation, dcpAlarmLogListInterfaceName, dcpAlarmLogListInterfaceDescription,
dcpAlarmLogListText, dcpAlarmLogListSeverity, dcpAlarmLogListStartTime, dcpAlarmLogListEndTime, dcpAlarmLogListSeqNumber, dcpAlarmLogListInterfaceDescription }
STATUS current
DESCRIPTION
"The alarm log list objects V2."
::= { dcpAlarmMIBGroups 5 }
-- 1.3.6.1.4.1.30826.2.2.2.4.1.6
dcpAlarmActiveListGroupV2 OBJECT-GROUP
OBJECTS { dcpAlarmActiveListIndex, dcpAlarmActiveListLocation, dcpAlarmActiveListInterfaceName,
dcpAlarmActiveListText, dcpAlarmActiveListSeverity, dcpAlarmActiveListStartTime, dcpAlarmActiveListSeqNumber, dcpAlarmActiveListInterfaceDescription }
STATUS current
DESCRIPTION
"The active alarm list objects V2."
::= { dcpAlarmMIBGroups 6 }
-- 1.3.6.1.4.1.30826.2.2.2.4.2
dcpAlarmMIBCompliances OBJECT IDENTIFIER ::= { dcpAlarmMIBCompliance 2 }
-- 1.3.6.1.4.1.30826.2.2.2.4.2.1
dcpAlarmBasicComplV1 MODULE-COMPLIANCE
STATUS deprecated
DESCRIPTION
"Basic implementation requirements for the DCP-ALARM-MIB V1."
MODULE
MANDATORY-GROUPS {
dcpAlarmGeneralGroupV1,
dcpAlarmNotificationGroupV1,
dcpAlarmActiveListGroupV1,
dcpAlarmLogListGroupV1}
::= { dcpAlarmMIBCompliances 1 }
-- 1.3.6.1.4.1.30826.2.2.2.4.2.2
dcpAlarmBasicComplV2 MODULE-COMPLIANCE
STATUS deprecated
DESCRIPTION
"Basic requirements for the DCP-ALARM-MIB Compliance V2."
MODULE
MANDATORY-GROUPS {
dcpAlarmGeneralGroupV1,
dcpAlarmNotificationGroupV1,
dcpAlarmActiveListGroupV1,
dcpAlarmLogListGroupV2}
::= { dcpAlarmMIBCompliances 2}
-- 1.3.6.1.4.1.30826.2.2.2.4.2.3
dcpAlarmBasicComplV3 MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"Basic requirements for the DCP-ALARM-MIB Compliance V3."
MODULE
MANDATORY-GROUPS {
dcpAlarmGeneralGroupV1,
dcpAlarmNotificationGroupV1,
dcpAlarmActiveListGroupV2,
dcpAlarmLogListGroupV2}
::= { dcpAlarmMIBCompliances 3}
END
--
-- DCP-ALARM-MIB.mib
--

View File

@@ -0,0 +1,263 @@
--
-- DCP-INTERFACE-MIB.mib
-- Smartoptics DCP Interface Enterprise Specific MIB.
--
-- Copyright (c) 2018, Smartoptics
-- All rights reserved
--
DCP-INTERFACE-MIB DEFINITIONS ::= BEGIN
IMPORTS
dcpGeneric
FROM DCP-MIB
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
Unsigned32, OBJECT-TYPE, MODULE-IDENTITY
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC
OpticalPower1Decimal, ItuPerceivedSeverity, InterfaceStatus
FROM SO-TC-MIB;
-- 1.3.6.1.4.1.30826.2.2.2
dcpInterface MODULE-IDENTITY
LAST-UPDATED "202102251200Z"
ORGANIZATION "Smartoptics."
CONTACT-INFO "http://www.smartoptics.com"
DESCRIPTION "This is the enterprise specific DCP INTERFACE MIB for Smartoptics"
REVISION "202102251200Z" -- February 25.
DESCRIPTION "Update description for dcpInterfaceRxPower and dcpInterfaceTxPower."
REVISION "201910291500Z" -- October 29.
DESCRIPTION "Addition of dcpInterfaceDescription attribute."
REVISION "201810081444Z"
DESCRIPTION "The initial revision"
::= { dcpGeneric 1 }
-- Node definitions
--
-- 1.3.6.1.4.1.30826.2.2.2.1
dcpInterfaceObjects OBJECT IDENTIFIER ::= { dcpInterface 1 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1
dcpInterfaceTable OBJECT-TYPE
SYNTAX SEQUENCE OF DcpInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table with all optical interfaces of the system."
::= { dcpInterfaceObjects 1 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.1
dcpInterfaceEntry OBJECT-TYPE
SYNTAX DcpInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Description."
INDEX { dcpInterfaceIndex }
::= { dcpInterfaceTable 1 }
DcpInterfaceEntry ::=
SEQUENCE {
dcpInterfaceIndex
Unsigned32,
dcpInterfaceName
DisplayString,
dcpInterfaceRxPower
OpticalPower1Decimal,
dcpInterfaceTxPower
OpticalPower1Decimal,
dcpInterfaceStatus
InterfaceStatus,
dcpInterfaceAlarm
ItuPerceivedSeverity,
dcpInterfaceFormat
DisplayString,
dcpInterfaceWavelength
DisplayString,
dcpInterfaceChannelId
DisplayString,
dcpInterfaceDescription
DisplayString
}
-- 1.3.6.1.4.1.30826.2.2.2.1.1.1.1
dcpInterfaceIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..1000000)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Interface Index in the following format:
csiixy where
c: chassis.
s: slot number.
ii: Interface number.
x: 1 = line, 2 = client.
y: 0 = tx+rx port, 1 = tx port, 2 = rx port.
For DCP-M products Slot is always 0.
Same Index is used in the IF-MIB."
::= { dcpInterfaceEntry 1 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.1.2
dcpInterfaceName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The interface name. If no interface this value is empty.
if-c/s/i where c = chassis, s = slot, i = interface
or
if-c/channelid where c = chassis."
::= { dcpInterfaceEntry 2 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.1.3
dcpInterfaceRxPower OBJECT-TYPE
SYNTAX OpticalPower1Decimal
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The optical power received at the Rx port in units of 0.1 dBm."
::= { dcpInterfaceEntry 3 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.1.4
dcpInterfaceTxPower OBJECT-TYPE
SYNTAX OpticalPower1Decimal
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The optical power transmitted at the Tx port in units of 0.1 dBm."
::= { dcpInterfaceEntry 4 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.1.5
dcpInterfaceStatus OBJECT-TYPE
SYNTAX InterfaceStatus
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The operational state for a port.
idle - The port is not activated.
down - The port traffic is lost.
up - There is traffic on the port."
::= { dcpInterfaceEntry 5 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.1.6
dcpInterfaceAlarm OBJECT-TYPE
SYNTAX ItuPerceivedSeverity
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The highest alarm severity of the interface."
::= { dcpInterfaceEntry 6 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.1.7
dcpInterfaceFormat OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The traffic format of the interface."
::= { dcpInterfaceEntry 7 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.1.8
dcpInterfaceWavelength OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The ITU channel wavelength."
::= { dcpInterfaceEntry 8 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.1.9
dcpInterfaceChannelId OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"DWDM or CWDM channel identification."
::= { dcpInterfaceEntry 9 }
-- 1.3.6.1.4.1.30826.2.2.2.1.1.1.10
dcpInterfaceDescription OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..128))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"User configurable description string for the interface."
::= { dcpInterfaceEntry 10 }
-- 1.3.6.1.4.1.30826.2.2.2.2
dcpInterfaceMIBCompliance OBJECT IDENTIFIER ::= { dcpInterface 2 }
-- 1.3.6.1.4.1.30826.2.2.2.2.1
dcpInterfaceMIBGroups OBJECT IDENTIFIER ::= { dcpInterfaceMIBCompliance 1 }
-- 1.3.6.1.4.1.30826.2.2.2.2.1.1
dcpInterfaceTableGroupV1 OBJECT-GROUP
OBJECTS { dcpInterfaceName, dcpInterfaceRxPower, dcpInterfaceTxPower, dcpInterfaceStatus,
dcpInterfaceAlarm, dcpInterfaceFormat, dcpInterfaceChannelId, dcpInterfaceWavelength }
STATUS deprecated
DESCRIPTION
"The interface table objects V1."
::= { dcpInterfaceMIBGroups 1 }
-- 1.3.6.1.4.1.30826.2.2.2.2.1.2
dcpInterfaceTableGroupV2 OBJECT-GROUP
OBJECTS { dcpInterfaceName, dcpInterfaceRxPower, dcpInterfaceTxPower, dcpInterfaceStatus,
dcpInterfaceAlarm, dcpInterfaceFormat, dcpInterfaceChannelId, dcpInterfaceWavelength, dcpInterfaceDescription }
STATUS current
DESCRIPTION
"The interface table objects V2."
::= { dcpInterfaceMIBGroups 2 }
-- 1.3.6.1.4.1.30826.2.2.2.2.2
dcpInterfaceMIBCompliances OBJECT IDENTIFIER ::= { dcpInterfaceMIBCompliance 2 }
-- 1.3.6.1.4.1.30826.2.2.2.2.2.1
dcpInterfaceBasicComplV1 MODULE-COMPLIANCE
STATUS deprecated
DESCRIPTION
"Basic implementation requirements for the DCP-INTERFACE-MIB V1."
MODULE
MANDATORY-GROUPS {
dcpInterfaceTableGroupV1 }
::= { dcpInterfaceMIBCompliances 1 }
-- 1.3.6.1.4.1.30826.2.2.2.2.2.2
dcpInterfaceBasicComplV2 MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"Basic implementation requirements for the DCP-INTERFACE-MIB V2."
MODULE
MANDATORY-GROUPS {
dcpInterfaceTableGroupV2 }
::= { dcpInterfaceMIBCompliances 2 }
END
--
-- DCP-INTERFACE-MIB.mib
--

View File

@@ -0,0 +1,344 @@
--
-- DCP-LINKVIEW-MIB.mib
-- Smartoptics DCP Linkview Enterprise Specific MIB.
--
-- Copyright (c) 2018, Smartoptics
-- All rights reserved
--
DCP-LINKVIEW-MIB DEFINITIONS ::= BEGIN
IMPORTS
dcpGeneric
FROM DCP-MIB
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
Unsigned32, Integer32, Gauge32, OBJECT-TYPE, MODULE-IDENTITY
FROM SNMPv2-SMI
DisplayString, TEXTUAL-CONVENTION
FROM SNMPv2-TC
OpticalPower1Decimal, InterfaceStatus
FROM SO-TC-MIB;
-- 1.3.6.1.4.1.30826.2.2.3
dcpLinkview MODULE-IDENTITY
LAST-UPDATED "202102251200Z"
ORGANIZATION "Smartoptics."
CONTACT-INFO "http://www.smartoptics.com"
DESCRIPTION "This is the enterprise specific DCP LINKVIEW MIB for Smartoptics"
REVISION "202102251200Z" -- February 25.
DESCRIPTION "Update description for dcpLinkviewLocalPower"
REVISION "201810081444Z"
DESCRIPTION "The initial revision"
::= { dcpGeneric 3 }
DcpFiberLoss ::= TEXTUAL-CONVENTION
DISPLAY-HINT
"d-1"
STATUS current
DESCRIPTION
"The fiber loss in dB with 1 decimal."
SYNTAX Unsigned32 (0..1000)
DcpFiberAttenuation ::= TEXTUAL-CONVENTION
DISPLAY-HINT
"d-2"
STATUS current
DESCRIPTION
"The fiber attenuation per km with 2 decimals."
SYNTAX Unsigned32 (0..10)
DcpFiberLength ::= TEXTUAL-CONVENTION
DISPLAY-HINT
"d-1"
STATUS current
DESCRIPTION
"The fiber length in km with 1 decimal."
SYNTAX Unsigned32 (0..500)
-- Node definitions
--
-- 1.3.6.1.4.1.30826.2.2.3.1
dcpLinkviewObjects OBJECT IDENTIFIER ::= { dcpLinkview 1 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1
dcpLinkviewTable OBJECT-TYPE
SYNTAX SEQUENCE OF DcpLinkviewEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Description."
::= { dcpLinkviewObjects 1 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1
dcpLinkviewEntry OBJECT-TYPE
SYNTAX DcpLinkviewEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Description."
INDEX { dcpLinkviewIndex }
::= { dcpLinkviewTable 1 }
DcpLinkviewEntry ::=
SEQUENCE {
dcpLinkviewIndex
Unsigned32,
dcpLinkviewLocalHostname
DisplayString,
dcpLinkviewLocalName
DisplayString,
dcpLinkviewLocalStatus
InterfaceStatus,
dcpLinkviewLocalPower
OpticalPower1Decimal,
dcpLinkviewFiberLoss
DcpFiberLoss,
dcpLinkviewFiberAttenuation
DcpFiberAttenuation,
dcpLinkviewFiberLength
DcpFiberLength,
dcpLinkviewFiberDispersion
Unsigned32,
dcpLinkviewFiberType
DisplayString,
dcpLinkviewFiberDispComp
Integer32,
dcpLinkviewFiberDispFinal
Integer32,
dcpLinkviewFiberUtilization
Gauge32,
dcpLinkviewRemotePower
OpticalPower1Decimal,
dcpLinkviewRemoteName
DisplayString,
dcpLinkviewRemoteHostname
DisplayString
}
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.1
dcpLinkviewIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..1000000)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Interface Index in the following format:
csiixy where
c: chassis.
s: slot number.
ii: Interface number.
x: 1 = line, 2 = client.
y: 0 = tx+rx port, 1 = tx port, 2 = rx port.
For DCP-M products Slot is always 0.
Same Index is used in the IF-MIB."
::= { dcpLinkviewEntry 1 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.2
dcpLinkviewLocalHostname OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The hostname of the local system."
::= { dcpLinkviewEntry 2 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.3
dcpLinkviewLocalName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The local interface name. If no interface this value is empty.
if-c/channelid-direction where c = chassis and direction = rx or tx."
::= { dcpLinkviewEntry 3 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.4
dcpLinkviewLocalStatus OBJECT-TYPE
SYNTAX InterfaceStatus
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The operational state of the local port.
idle - The port is not activated.
down - The port traffic is lost.
up - There is traffic on the port."
::= { dcpLinkviewEntry 4 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.5
dcpLinkviewLocalPower OBJECT-TYPE
SYNTAX OpticalPower1Decimal
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The optical power present at the line interface, all wavelengths combined in units of 0.1 dBm."
::= { dcpLinkviewEntry 5 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.6
dcpLinkviewFiberLoss OBJECT-TYPE
SYNTAX DcpFiberLoss
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The fiber loss in units of 0.1 dB."
::= { dcpLinkviewEntry 6 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.7
dcpLinkviewFiberAttenuation OBJECT-TYPE
SYNTAX DcpFiberAttenuation
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The fiber attenuation in units of 0.01 dB/km."
::= { dcpLinkviewEntry 7 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.8
dcpLinkviewFiberLength OBJECT-TYPE
SYNTAX DcpFiberLength
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The fiber length in units of 0.1 km."
::= { dcpLinkviewEntry 8 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.9
dcpLinkviewFiberDispersion OBJECT-TYPE
SYNTAX Unsigned32 (0..10000)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The calculated dispersion based on the measured fiber length in units of 1 ps/nm."
::= { dcpLinkviewEntry 9 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.10
dcpLinkviewFiberType OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The fiber type configured, currently only G.652 is supported."
::= { dcpLinkviewEntry 10 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.11
dcpLinkviewFiberDispComp OBJECT-TYPE
SYNTAX Integer32 (-10000..10000)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The compensated dispersion value by the system in units of 1 ps/nm."
::= { dcpLinkviewEntry 11 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.12
dcpLinkviewFiberDispFinal OBJECT-TYPE
SYNTAX Integer32 (-10000..10000)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Residiual(remaning) dispersion in units of 1 ps/nm."
::= { dcpLinkviewEntry 12 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.13
dcpLinkviewFiberUtilization OBJECT-TYPE
SYNTAX Gauge32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Wavelength utilization of the system in units of %."
::= { dcpLinkviewEntry 13 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.14
dcpLinkviewRemotePower OBJECT-TYPE
SYNTAX OpticalPower1Decimal
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The optical power of the remote interface in units of 0.1 dBm."
::= { dcpLinkviewEntry 14 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.15
dcpLinkviewRemoteName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The remote interface name. If no interface this value is empty.
if-c/channelid-direction where c = chassis and direction = rx or tx."
::= { dcpLinkviewEntry 15 }
-- 1.3.6.1.4.1.30826.2.2.3.1.1.1.16
dcpLinkviewRemoteHostname OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The hostname of the remote system."
::= { dcpLinkviewEntry 16 }
-- 1.3.6.1.4.1.30826.2.2.3.2
dcpLinkviewMIBCompliance OBJECT IDENTIFIER ::= { dcpLinkview 2 }
-- 1.3.6.1.4.1.30826.2.2.3.2.1
dcpLinkviewMIBGroups OBJECT IDENTIFIER ::= { dcpLinkviewMIBCompliance 1 }
-- 1.3.6.1.4.1.30826.2.2.3.2.1.1
dcpLinkviewTableGroupV1 OBJECT-GROUP
OBJECTS { dcpLinkviewLocalHostname, dcpLinkviewLocalName, dcpLinkviewLocalStatus,
dcpLinkviewLocalPower, dcpLinkviewFiberLoss, dcpLinkviewFiberAttenuation,
dcpLinkviewFiberLength, dcpLinkviewFiberDispersion, dcpLinkviewFiberType, dcpLinkviewFiberDispComp,
dcpLinkviewFiberDispFinal, dcpLinkviewFiberUtilization, dcpLinkviewRemotePower,
dcpLinkviewRemoteName, dcpLinkviewRemoteHostname }
STATUS current
DESCRIPTION
"The interface table objects V1."
::= { dcpLinkviewMIBGroups 1 }
-- 1.3.6.1.4.1.30826.2.2.3.2.2
dcpLinkviewMIBCompliances OBJECT IDENTIFIER ::= { dcpLinkviewMIBCompliance 2 }
-- 1.3.6.1.4.1.30826.2.2.3.2.2.1
dcpLinkviewBasicComplV1 MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"Basic implementation requirements for the DCP-INTERFACE-MIB V1."
MODULE
MANDATORY-GROUPS {
dcpLinkviewTableGroupV1 }
::= { dcpLinkviewMIBCompliances 1 }
END
--
-- DCP-LINKVIEW-MIB.mib
--

98
mibs/smartoptics/DCP-MIB Normal file
View File

@@ -0,0 +1,98 @@
--
-- DCP-MIB.mib
-- Smartoptics DCP Enterprise Specific MIB.
--
-- Copyright (c) 2018, Smartoptics
-- All rights reserved
--
DCP-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-IDENTITY
FROM SNMPv2-SMI
smartoptics
FROM SO-MIB;
-- 1.3.6.1.4.1.1.2.1.1.1
dcpGlobalModule MODULE-IDENTITY
LAST-UPDATED "201810081444Z"
ORGANIZATION "Smartoptics."
CONTACT-INFO "http://www.smartoptics.com"
DESCRIPTION "This is the enterprise specific DCP MIB for Smartoptics"
REVISION "201810081444Z"
DESCRIPTION "The initial revision"
::= { dcpModules 1 }
--
-- Node definitions
--
-- 1.3.6.1.4.1.1.2
dcp OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The root OID for the DCP platform."
::= { smartoptics 2 }
-- 1.3.6.1.4.1.1.2.1
dcpReg OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Sub-tree for registrations"
::= { dcp 1 }
-- 1.3.6.1.4.1.1.2.1.1
dcpModules OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Sub-tree to register the values assigned to modules with the MODULE-IDENTITY construct"
::= { dcpReg 1 }
-- 1.3.6.1.4.1.1.2.2
dcpGeneric OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Sub-tree for common object and event definitions"
::= { dcp 2 }
-- 1.3.6.1.4.1.1.2.3
dcpProducts OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Sub-tree for specific object and event definitions"
::= { dcp 3 }
-- 1.3.6.1.4.1.1.2.4
dcpCaps OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Sub-tree for agent profiles"
::= { dcp 4 }
-- 1.3.6.1.4.1.1.2.5
dcpReqs OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Sub-tree for management application requirements"
::= { dcp 5 }
-- 1.3.6.1.4.1.1.2.6
dcpExpr OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Sub-tree for experimental definitions"
::= { dcp 6 }
END
--
-- DCP-MIB.mib
--

View File

@@ -0,0 +1,391 @@
--
-- DCP-OCH-MIB.mib
-- Smartoptics DCP Interface Enterprise Specific MIB.
--
-- Copyright (c) 2021, Smartoptics
-- All rights reserved
--
DCP-OCH-MIB DEFINITIONS ::= BEGIN
IMPORTS
dcpGeneric
FROM DCP-MIB
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
Unsigned32, Gauge32, OBJECT-TYPE, MODULE-IDENTITY
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC
OpticalPower1Decimal, ItuPerceivedSeverity, InterfaceStatus, DcpTenths, DcpHundreds, OchPortMode
FROM SO-TC-MIB;
-- 1.3.6.1.4.1.30826.2.2.4
dcpOch MODULE-IDENTITY
LAST-UPDATED "202103181449Z"
ORGANIZATION "Smartoptics."
CONTACT-INFO "http://www.smartoptics.com"
DESCRIPTION "This is the enterprise specific DCP OCH MIB for Smartoptics"
REVISION "202103181449Z"
DESCRIPTION "The initial revision"
::= { dcpGeneric 4 }
-- Node definitions
--
-- 1.3.6.1.4.1.30826.2.2.4.1
dcpOchGeneral OBJECT IDENTIFIER ::= { dcpOch 1 }
-- 1.3.6.1.4.1.30826.2.2.4.1.1
dcpOchGeneralTable OBJECT-TYPE
SYNTAX SEQUENCE OF OchGeneralEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table with general information about the och port."
::= { dcpOchGeneral 1 }
-- 1.3.6.1.4.1.30826.2.2.4.1.1.1
dcpOchGeneralEntry OBJECT-TYPE
SYNTAX OchGeneralEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Description."
INDEX { dcpOchGeneralIndex }
::= { dcpOchGeneralTable 1 }
OchGeneralEntry ::=
SEQUENCE {
dcpOchGeneralIndex
Unsigned32,
dcpOchGeneralPortName
DisplayString,
dcpOchGeneralSpacing
DcpHundreds,
dcpOchGeneralMaxChannels
Unsigned32,
dcpOchGeneralActiveChannels
Unsigned32,
dcpOchGeneralUtilization
Gauge32,
dcpOchGeneralConfiguredChannels
Unsigned32
}
-- 1.3.6.1.4.1.30826.2.2.4.1.1.1.1
dcpOchGeneralIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..1000000)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Port Index in the following format:
ccspp where
cc: chassis.
s: slot number.
pp: port number."
::= { dcpOchGeneralEntry 1 }
-- 1.3.6.1.4.1.30826.2.2.4.1.1.1.2
dcpOchGeneralPortName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The port name in the following format:
och-c/s/port where c = chassis, s = slot, port = port name
or
ocm-c/s where c = chassis, s = slot"
::= { dcpOchGeneralEntry 2 }
-- 1.3.6.1.4.1.30826.2.2.4.1.1.1.3
dcpOchGeneralSpacing OBJECT-TYPE
SYNTAX DcpHundreds
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The channel spacing used in units of 0.01 GHz."
::= { dcpOchGeneralEntry 3 }
-- 1.3.6.1.4.1.30826.2.2.4.1.1.1.4
dcpOchGeneralMaxChannels OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of channels that is used for the optical power channel plan for the EDFA."
::= { dcpOchGeneralEntry 4 }
-- 1.3.6.1.4.1.30826.2.2.4.1.1.1.5
dcpOchGeneralActiveChannels OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of active channels currently in regulation."
::= { dcpOchGeneralEntry 5 }
-- 1.3.6.1.4.1.30826.2.2.4.1.1.1.6
dcpOchGeneralUtilization OBJECT-TYPE
SYNTAX Gauge32 (0..100)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of channels used in the system in units of %."
::= { dcpOchGeneralEntry 6 }
-- 1.3.6.1.4.1.30826.2.2.4.1.1.1.7
dcpOchGeneralConfiguredChannels OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of channels that are enabled."
::= { dcpOchGeneralEntry 7 }
-- Node definitions
--
-- 1.3.6.1.4.1.30826.2.2.4.2
dcpOchObjects OBJECT IDENTIFIER ::= { dcpOch 2 }
-- 1.3.6.1.4.1.30826.2.2.4.2.1
dcpOchTable OBJECT-TYPE
SYNTAX SEQUENCE OF OchInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table with all optical channels of the system."
::= { dcpOchObjects 1 }
-- 1.3.6.1.4.1.30826.2.2.4.2.1.1
dcpOchEntry OBJECT-TYPE
SYNTAX OchInterfaceEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Description."
INDEX { dcpOchIndex }
::= { dcpOchTable 1 }
OchInterfaceEntry ::=
SEQUENCE {
dcpOchIndex
Unsigned32,
dcpOchChannelId
DisplayString,
dcpOchRxPower
DcpTenths,
dcpOchTxPower
DcpTenths,
dcpOchWssAttenuation
DcpTenths,
dcpOchWssInsertionLoss
DcpTenths,
dcpOchWantedOutputPower
DcpTenths,
dcpOchPortMode
OchPortMode,
dcpOchStatus
InterfaceStatus,
dcpOchDescription
DisplayString,
dcpOchAlarm
ItuPerceivedSeverity
}
-- 1.3.6.1.4.1.30826.2.2.4.2.1.1.1
dcpOchIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..1000000)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Och Index in the following format:
cspoooy where
c: chassis.
s: slot number.
p: port number.
ooo: Och number.
y: 0 = tx+rx port, 1 = tx port, 2 = rx port.
Same Index is used in the IF-MIB."
::= { dcpOchEntry 1 }
-- 1.3.6.1.4.1.30826.2.2.4.2.1.1.2
dcpOchChannelId OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The optical channel id name in the following format:
och-c/s/p/och where
c = chassis.
s = slot number.
port = edfa or eq.
och = optical channel."
::= { dcpOchEntry 2 }
-- 1.3.6.1.4.1.30826.2.2.4.2.1.1.3
dcpOchRxPower OBJECT-TYPE
SYNTAX DcpTenths
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The optical input power for the optical channel in units of 0.1 dBm."
::= { dcpOchEntry 3 }
-- 1.3.6.1.4.1.30826.2.2.4.2.1.1.4
dcpOchTxPower OBJECT-TYPE
SYNTAX DcpTenths
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The optical output power for the optical channel in units of 0.1 dBm."
::= { dcpOchEntry 4 }
-- 1.3.6.1.4.1.30826.2.2.4.2.1.1.5
dcpOchWssAttenuation OBJECT-TYPE
SYNTAX DcpTenths
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The WSS attenuation for the optical channel in units of 0.1 dB."
::= { dcpOchEntry 5 }
-- 1.3.6.1.4.1.30826.2.2.4.2.1.1.6
dcpOchWssInsertionLoss OBJECT-TYPE
SYNTAX DcpTenths
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The calibration value of WSS insertion loss in units of 0.1 dBm."
::= { dcpOchEntry 6 }
-- 1.3.6.1.4.1.30826.2.2.4.2.1.1.7
dcpOchWantedOutputPower OBJECT-TYPE
SYNTAX DcpTenths
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The wanted optical output power for the optical channel in units of 0.1 dBm."
::= { dcpOchEntry 7 }
-- 1.3.6.1.4.1.30826.2.2.4.2.1.1.8
dcpOchPortMode OBJECT-TYPE
SYNTAX OchPortMode
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The port mode for the channel. Port mode can be on or off.
off - The channel is disabled.
on - The channel is enabled.
edfa - The channel is enabled and connected to the edfa port.
express - The channel is enabled and connected to the express port."
::= { dcpOchEntry 8 }
-- 1.3.6.1.4.1.30826.2.2.4.2.1.1.9
dcpOchStatus OBJECT-TYPE
SYNTAX InterfaceStatus
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The operational state for a channel.
idle - The optical channel is not activated.
down - The optical channel traffic is lost.
up - There is traffic on the optical channel."
::= { dcpOchEntry 9 }
-- 1.3.6.1.4.1.30826.2.2.4.2.1.1.10
dcpOchDescription OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..128))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"User configurable description string for the optical channel."
::= { dcpOchEntry 10 }
-- 1.3.6.1.4.1.30826.2.2.4.2.1.1.11
dcpOchAlarm OBJECT-TYPE
SYNTAX ItuPerceivedSeverity
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The highest alarm severity of the optical channel."
::= { dcpOchEntry 11 }
-- 1.3.6.1.4.1.30826.2.2.4.3
dcpOchMIBCompliance OBJECT IDENTIFIER ::= { dcpOch 3 }
-- 1.3.6.1.4.1.30826.2.2.4.3.1
dcpOchMIBGroups OBJECT IDENTIFIER ::= { dcpOchMIBCompliance 1 }
-- 1.3.6.1.4.1.30826.2.2.4.3.1.1
dcpOchGeneralTableGroupV1 OBJECT-GROUP
OBJECTS { dcpOchGeneralPortName, dcpOchGeneralSpacing, dcpOchGeneralMaxChannels, dcpOchGeneralActiveChannels,
dcpOchGeneralUtilization, dcpOchGeneralConfiguredChannels}
STATUS current
DESCRIPTION
"The och general table objects V1."
::= { dcpOchMIBGroups 1 }
-- 1.3.6.1.4.1.30826.2.2.4.3.1.2
dcpOchTableGroupV1 OBJECT-GROUP
OBJECTS { dcpOchChannelId, dcpOchRxPower, dcpOchTxPower, dcpOchWssAttenuation, dcpOchWssInsertionLoss,
dcpOchWantedOutputPower, dcpOchPortMode, dcpOchStatus, dcpOchDescription, dcpOchAlarm}
STATUS current
DESCRIPTION
"The och table objects V1."
::= { dcpOchMIBGroups 2 }
-- 1.3.6.1.4.1.30826.2.2.4.3.2
dcpOchMIBCompliances OBJECT IDENTIFIER ::= { dcpOchMIBCompliance 2 }
-- 1.3.6.1.4.1.30826.2.2.4.3.2.1
dcpOchBasicComplV1 MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"Basic implementation requirements for the DCP-OCH-MIB V1."
MODULE
MANDATORY-GROUPS {
dcpOchGeneralTableGroupV1,
dcpOchTableGroupV1}
::= { dcpOchMIBCompliances 1 }
END
--
-- DCP-OCH-MIB.mib
--

32
mibs/smartoptics/SO-MIB Normal file
View File

@@ -0,0 +1,32 @@
--
-- SO-MIB.mib
-- Smartoptics Enterprise Specific MIB.
--
-- Copyright (c) 2018, Smartoptics
-- All rights reserved
--
SO-MIB DEFINITIONS ::= BEGIN
IMPORTS
enterprises, MODULE-IDENTITY
FROM SNMPv2-SMI;
smartoptics MODULE-IDENTITY
LAST-UPDATED "201810081444Z"
ORGANIZATION "Smartoptics"
CONTACT-INFO "http://www.smartoptics.com"
DESCRIPTION
"This is the enterprise specific MIB for Smartoptics.
The root of the OID sub-tree assigned to Smartoptics."
REVISION "201810081444Z"
DESCRIPTION
"The initial revision."
::= { enterprises 30826 }
END
--
-- SO-MIB.mib
--

113
mibs/smartoptics/SO-TC-MIB Normal file
View File

@@ -0,0 +1,113 @@
--
-- SO-TC-MIB.mib
-- Smartoptics Enterprise Specific TC MIB
--
-- Copyright (c) 2021, Smartoptics
-- All rights reserved
--
SO-TC-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, Integer32
FROM SNMPv2-SMI
TEXTUAL-CONVENTION
FROM SNMPv2-TC
smartoptics
FROM SO-MIB;
soTcMIB MODULE-IDENTITY
LAST-UPDATED "202104121049Z"
ORGANIZATION "Smartoptics"
CONTACT-INFO "http://www.smartoptics.com"
DESCRIPTION "This is the enterprise specific TC MIB for
Smartoptics containing common textual conventions."
REVISION "202104121049Z"
DESCRIPTION "Added DcpTenth, DcpHundreds, OchPortMode textual convention.
Updated description for InterfaceStatus."
REVISION "201810081444Z"
DESCRIPTION "The initial revision"
::= { smartoptics 3 }
-- Textual conventions
--
-- definitions of the textual convetions
--
OpticalPower1Decimal ::= TEXTUAL-CONVENTION
DISPLAY-HINT
"d-1"
STATUS current
DESCRIPTION
"Power level at an interface in units of 0.1 dBm."
SYNTAX Integer32
DcpTenths ::= TEXTUAL-CONVENTION
DISPLAY-HINT
"d-1"
STATUS current
DESCRIPTION
"An integer to be displayed with 1 decimal place. 100 is displayes as 10.0"
SYNTAX Integer32
DcpHundreds ::= TEXTUAL-CONVENTION
DISPLAY-HINT
"d-2"
STATUS current
DESCRIPTION
"An integer to be displayed with 2 decimal place. 100 is displayes as 1.0"
SYNTAX Integer32
InterfaceStatus ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The operational state for a port, interface or optical channel.
idle - The port, interface or optical channel is not activated.
down - The port, interface or optical channel traffic is lost.
up - There is traffic on the port, interface or optical channel."
SYNTAX INTEGER
{
idle (1),
down (2),
up (3)
}
ItuPerceivedSeverity ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"ITU perceived severity values"
SYNTAX INTEGER
{
cleared (1),
indeterminate (2),
critical (3),
major (4),
minor (5),
warning (6)
}
OchPortMode ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The operational state for a port, interface or optical channel.
on - The channel is enabled.
off - The channel is disabled.
edfa - The channel is enabled and connected to the edfa port.
express - The channel is enabled and connected to the express port."
SYNTAX INTEGER
{
on (1),
off (2),
edfa (3),
express (4)
}
END
--
-- SO-TC-MIB.mib
--

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff