mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
bdcom/fs-bdcom: add transceiver threshold support (#16203)
* update BDCOM NMS-IF-MIB * bdcom/fs-bdcom: add transceiver threshold support
This commit is contained in:
committed by
GitHub
parent
04101c2c6f
commit
5e69d89791
@@ -412,6 +412,50 @@ nmsIfObjects OBJECT IDENTIFIER ::= { nmsIfMIB 1 }
|
||||
sfpMismatchStatus
|
||||
INTEGER,
|
||||
sfpSeqNum
|
||||
OCTET STRING,
|
||||
-- new added
|
||||
|
||||
voltageHighAlarm
|
||||
INTEGER,
|
||||
voltageHighWarning
|
||||
INTEGER,
|
||||
voltageLowWarning
|
||||
INTEGER,
|
||||
voltageLowAlarm
|
||||
INTEGER,
|
||||
temperatureHighAlarm
|
||||
INTEGER,
|
||||
temperatureHighWarning
|
||||
INTEGER,
|
||||
temperatureLowWarning
|
||||
INTEGER,
|
||||
temperatureLowAlarm
|
||||
INTEGER,
|
||||
biasHighAlarm
|
||||
INTEGER,
|
||||
biasHighWarning
|
||||
INTEGER,
|
||||
biasLowWarning
|
||||
INTEGER,
|
||||
biasLowAlarm
|
||||
INTEGER,
|
||||
txPowerHighAlarm
|
||||
INTEGER,
|
||||
txPowerHighWarning
|
||||
INTEGER,
|
||||
txPowerLowWarning
|
||||
INTEGER,
|
||||
txPowerLowAlarm
|
||||
INTEGER,
|
||||
rxPowerHighAlarm
|
||||
INTEGER,
|
||||
rxPowerHighWarning
|
||||
INTEGER,
|
||||
rxPowerLowWarning
|
||||
INTEGER,
|
||||
rxPowerLowAlarm
|
||||
INTEGER,
|
||||
vendorPN
|
||||
OCTET STRING
|
||||
|
||||
}
|
||||
@@ -603,10 +647,176 @@ nmsIfObjects OBJECT IDENTIFIER ::= { nmsIfMIB 1 }
|
||||
DESCRIPTION
|
||||
"SFP sequence number. "
|
||||
::= { ifSfpParameterEntry 23 }
|
||||
|
||||
|
||||
|
||||
|
||||
-- new added
|
||||
voltageHighAlarm OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Voltage High Alarm Threshold. Unit is 0.1mV."
|
||||
::= { ifSfpParameterEntry 24 }
|
||||
|
||||
voltageHighWarning OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Voltage High Warning Threshold. Unit is 0.1mV."
|
||||
::= { ifSfpParameterEntry 25 }
|
||||
|
||||
voltageLowWarning OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Voltage Low Warning Threshold. Unit is 0.1mV."
|
||||
::= { ifSfpParameterEntry 26 }
|
||||
|
||||
voltageLowAlarm OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"VoltageLowAlarm Threshold. Unit is 0.1mV."
|
||||
::= { ifSfpParameterEntry 27 }
|
||||
|
||||
temperatureHighAlarm OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Temperature High Alarm Threshold. Unit is 1/256 degree."
|
||||
::= { ifSfpParameterEntry 28 }
|
||||
|
||||
temperatureHighWarning OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Temperature High Warning Threshold. Unit is 1/256 degree."
|
||||
::= { ifSfpParameterEntry 29 }
|
||||
|
||||
temperatureLowWarning OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Temperature Low Warning Threshold. Unit is 1/256 degree."
|
||||
::= { ifSfpParameterEntry 30 }
|
||||
|
||||
temperatureLowAlarm OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Temperature Low Alarm Threshold. Unit is 1/256 degree."
|
||||
::= { ifSfpParameterEntry 31 }
|
||||
|
||||
biasHighAlarm OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Bias High Alarm Threshold. Unit is 2uA."
|
||||
::= { ifSfpParameterEntry 32 }
|
||||
|
||||
biasHighWarning OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Bias High Warning Threshold. Unit is 2uA."
|
||||
::= { ifSfpParameterEntry 33 }
|
||||
|
||||
biasLowWarning OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Bias Low Warning Threshold. Unit is 2uA."
|
||||
::= { ifSfpParameterEntry 34 }
|
||||
|
||||
biasLowAlarm OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Bias Low Alarm Threshold. Unit is 2uA."
|
||||
::= { ifSfpParameterEntry 35 }
|
||||
|
||||
txPowerHighAlarm OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Tx Power High Alarm Threshold. Unit is 0.01dBm."
|
||||
::= { ifSfpParameterEntry 36 }
|
||||
|
||||
txPowerHighWarning OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Tx Power High Warning Threshold. Unit is 0.01dBm."
|
||||
::= { ifSfpParameterEntry 37 }
|
||||
|
||||
txPowerLowWarning OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Tx Power Low Warning Threshold. Unit is 0.01dBm."
|
||||
::= { ifSfpParameterEntry 38 }
|
||||
|
||||
txPowerLowAlarm OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Tx Power Low Alarm Threshold. Unit is 0.01dBm."
|
||||
::= { ifSfpParameterEntry 39 }
|
||||
|
||||
rxPowerHighAlarm OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Rx Power High Alarm Threshold. Unit is 0.01dBm."
|
||||
::= { ifSfpParameterEntry 40 }
|
||||
|
||||
rxPowerHighWarning OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Rx Power High Warning Threshold. Unit is 0.01dBm."
|
||||
::= { ifSfpParameterEntry 41 }
|
||||
|
||||
|
||||
rxPowerLowWarning OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Rx Power Low Warning Threshold. Unit is 0.01dBm."
|
||||
::= { ifSfpParameterEntry 42 }
|
||||
|
||||
rxPowerLowAlarm OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Rx Power Low Alarm Threshold. Unit is 0.01dBm."
|
||||
::= { ifSfpParameterEntry 43 }
|
||||
|
||||
|
||||
vendorPN OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"SFP vendor part number."
|
||||
::= { ifSfpParameterEntry 44 }
|
||||
|
||||
|
||||
|
||||
@@ -729,7 +939,7 @@ nmsIfObjects OBJECT IDENTIFIER ::= { nmsIfMIB 1 }
|
||||
"Set the MTU size in bytes <1500-9216>."
|
||||
::= { ifportMtuEntry 2 }
|
||||
|
||||
-- stormctlWarning<6E><67>STORM-CONTROL<4F>澯<EFBFBD><E6BEAF>1.3.6.1.4.1.3320.9.63.1.10
|
||||
|
||||
|
||||
stormctlWarning OBJECT IDENTIFIER ::= { nmsIfObjects 10 }
|
||||
|
||||
@@ -790,7 +1000,7 @@ nmsIfObjects OBJECT IDENTIFIER ::= { nmsIfMIB 1 }
|
||||
|
||||
|
||||
|
||||
-- trafficNotify<66><79>traffic notify<66>澯<EFBFBD><E6BEAF>1.3.6.1.4.1.3320.9.63.1.11
|
||||
|
||||
|
||||
trafficNotify OBJECT IDENTIFIER ::= { nmsIfObjects 11 }
|
||||
|
||||
@@ -873,7 +1083,7 @@ nmsIfObjects OBJECT IDENTIFIER ::= { nmsIfMIB 1 }
|
||||
::= { trafficNotifyConfig 2 }
|
||||
|
||||
|
||||
-- ifTrafficNotifyTable <20><><EFBFBD>˿ڵ<CBBF>traffic notify<66><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʣ<EFBFBD>1.3.6.1.4.1.3320.9.63.1.12
|
||||
|
||||
ifTrafficNotifyTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF IfTrafficNotifyEntry
|
||||
ACCESS not-accessible
|
||||
@@ -960,7 +1170,7 @@ ifTrafficNotifyTable OBJECT-TYPE
|
||||
|
||||
|
||||
|
||||
-- port-security-violation-notify<66><79><EFBFBD>˿ڰ<CBBF>ȫ<EFBFBD><C8AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><D6BE>1.3.6.1.4.1.3320.9.63.1.13
|
||||
|
||||
|
||||
portSecurityViolationNotify OBJECT IDENTIFIER ::= { nmsIfObjects 13 }
|
||||
|
||||
@@ -1008,6 +1218,105 @@ ifTrafficNotifyTable OBJECT-TYPE
|
||||
|
||||
|
||||
|
||||
|
||||
physicalIfConfig2Table OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF PhysicalIfConfig2Entry
|
||||
ACCESS not-accessible
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"A interface list of physical mode configuration."
|
||||
::= { nmsIfObjects 14 }
|
||||
|
||||
physicalIfConfig2Entry OBJECT-TYPE
|
||||
SYNTAX PhysicalIfConfig2Entry
|
||||
ACCESS not-accessible
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"A collection of physical mode configuration in the
|
||||
interface table."
|
||||
INDEX { ifConfigIndex }
|
||||
::= { physicalIfConfig2Table 1 }
|
||||
|
||||
PhysicalIfConfig2Entry ::=
|
||||
SEQUENCE {
|
||||
ifConfigIndex
|
||||
INTEGER,
|
||||
fiberAutoConfig
|
||||
INTEGER,
|
||||
autoNegoConfig
|
||||
INTEGER,
|
||||
speedConfig
|
||||
INTEGER,
|
||||
duplexConfig
|
||||
INTEGER
|
||||
|
||||
}
|
||||
|
||||
ifConfigIndex OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Index of interface. The same value as ifIndex in ifTable of RFC1213."
|
||||
::= { physicalIfConfig2Entry 1 }
|
||||
|
||||
fiberAutoConfig OBJECT-TYPE
|
||||
SYNTAX INTEGER{
|
||||
enable(1),
|
||||
disable(2)
|
||||
}
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Fiber port auto config mode,include speed ,duplex and autonego. "
|
||||
::= { physicalIfConfig2Entry 2 }
|
||||
|
||||
autoNegoConfig OBJECT-TYPE
|
||||
SYNTAX INTEGER{
|
||||
enable(1),
|
||||
disable(2)
|
||||
}
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Port Auto Negotiation Config.if enable,can't configure speed or Duplex. "
|
||||
::= { physicalIfConfig2Entry 3 }
|
||||
|
||||
|
||||
speedConfig OBJECT-TYPE
|
||||
SYNTAX INTEGER{
|
||||
speed-10M(1),
|
||||
speed-100M(2),
|
||||
speed-1000M(3),
|
||||
speed-10000M(4),
|
||||
speed-40000M(5),
|
||||
speed-100000M(6)
|
||||
}
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Interface speed. Only valid for non-PON interface.If AutoNegoConfig or fiberAutoConfig is enable,Speed Configuration is not in operation. "
|
||||
::= { physicalIfConfig2Entry 4 }
|
||||
|
||||
|
||||
duplexConfig OBJECT-TYPE
|
||||
SYNTAX INTEGER{
|
||||
full(1),
|
||||
half(2)
|
||||
}
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Interface duplex. Only valid for non-PON interface.If AutoNegoConfig or fiberAutoConfig is enable,Duplex Configuration is not in operation. "
|
||||
::= { physicalIfConfig2Entry 5 }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
END
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user