mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
newdevice: Added temperature sensor to datacom switches. (#7522)
* Update most recent Mib * Added switch emeperature sensor. * Revert manual limits.
This commit is contained in:
committed by
Neil Lathwood
parent
e3c0714ede
commit
0f8966a564
11
includes/definitions/discovery/datacom.yaml
Normal file
11
includes/definitions/discovery/datacom.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
mib: DMswitch-MIB
|
||||
modules:
|
||||
sensors:
|
||||
temperature:
|
||||
data:
|
||||
-
|
||||
oid: SwitchInfoEntry
|
||||
value: swTemperature
|
||||
num_oid: .1.3.6.1.4.1.3709.3.5.201.1.1.2.1.12.
|
||||
descr: 'Temperature {{ $index }}'
|
||||
index: 'swTemperature.{{ $index }}'
|
@@ -779,7 +779,7 @@ swChassisModel OBJECT-TYPE
|
||||
::= { switchMgt 17 }
|
||||
|
||||
switchSessionTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF SwitchSessionEntry
|
||||
SYNTAX SEQUENCE OF SwitchIndivAlarmOutEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION "Table about CLI sessions informations."
|
||||
@@ -4820,4 +4820,44 @@ ddTransceiversTxBias OBJECT-TYPE
|
||||
DESCRIPTION "Transceiver tx bias information in Amperes"
|
||||
::= { ddTransceiversEntry 6 }
|
||||
|
||||
ddTransceiversTemperatureValue OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
UNITS "Celsius (degrees C)"
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Transceiver temperature infomation"
|
||||
::= { ddTransceiversEntry 7 }
|
||||
|
||||
ddTransceiversVcc3v3Value OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
UNITS "0.1 V"
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Transceiver Vcc 3v3 infomation"
|
||||
::= { ddTransceiversEntry 8 }
|
||||
|
||||
ddTransceiversRxPowerValue OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
UNITS "0.1 dBm"
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Transceiver rx power infomation"
|
||||
::= { ddTransceiversEntry 9 }
|
||||
|
||||
ddTransceiversTxPowerValue OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
UNITS "0.1 dBm"
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Transceiver tx power infomation"
|
||||
::= { ddTransceiversEntry 10 }
|
||||
|
||||
ddTransceiversTxBiasValue OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
UNITS "0.1 mA"
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Transceiver tx bias infomation"
|
||||
::= { ddTransceiversEntry 11 }
|
||||
|
||||
END
|
||||
|
Reference in New Issue
Block a user