mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Luminato: CPU, HW type, HW ver, Fan state discovery (#13608)
* Luminato: CPU, HW type, HW ver, Fan state discovery * CPU / yaml * test data
This commit is contained in:
parent
a0de9083b5
commit
fefeceb0d0
@ -1,22 +1,33 @@
|
||||
mib: TELESTE-COMMON-MIB
|
||||
mib: TELESTE-COMMON-MIB:UCD-SNMP-MIB:ENTITY-MIB
|
||||
modules:
|
||||
os:
|
||||
hardware: TELESTE-LUMINATO-MIB::deviceName.0
|
||||
hardware:
|
||||
- TELESTE-LUMINATO-MIB::hwType.0
|
||||
- TELESTE-LUMINATO-MIB::hwVersion.0
|
||||
hardware_template: '{{ TELESTE-LUMINATO-MIB::hwType.0 }} {{ TELESTE-LUMINATO-MIB::hwVersion.0 }}'
|
||||
serial: TELESTE-LUMINATO-MIB::hwSerialNumber.0
|
||||
version: TELESTE-LUMINATO-MIB::swVersion.0
|
||||
|
||||
processors:
|
||||
data:
|
||||
-
|
||||
oid: laLoadInt
|
||||
num_oid: '.1.3.6.1.4.1.2021.10.1.5.{{ $index }}'
|
||||
descr: Chassis CPU
|
||||
index: 2
|
||||
sensors:
|
||||
pre-cache:
|
||||
data:
|
||||
-
|
||||
oid:
|
||||
- moduleSlotNo
|
||||
- moduleHwType
|
||||
- entPhysicalDescr
|
||||
- entPhysicalName
|
||||
temperature:
|
||||
data:
|
||||
-
|
||||
oid: statusInternalTemperature
|
||||
num_oid: '.1.3.6.1.4.1.3715.99.2.2.1.1.3.{{ $index }}'
|
||||
descr: "Slot {{ $moduleSlotNo }} ({{ $moduleHwType }}) "
|
||||
descr: "{{ $entPhysicalName }} ({{ $entPhysicalDescr }}) "
|
||||
index: '{{ $index }}'
|
||||
divisor: 10
|
||||
skip_value_lt: -50
|
||||
@ -46,8 +57,8 @@ modules:
|
||||
-
|
||||
oid: statusFan
|
||||
num_oid: '.1.3.6.1.4.1.3715.99.1.2.6.{{ $index }}'
|
||||
descr: Temperature Status
|
||||
state_name: statusTemperature
|
||||
descr: Fan Status
|
||||
state_name: statusFan
|
||||
states:
|
||||
- { descr: Normal, graph: 1, value: 1, generic: 0 }
|
||||
- { descr: Failure, graph: 1, value: 2, generic: 3}
|
||||
|
@ -65,7 +65,7 @@
|
||||
-- 1.2 05.11.2001 Rainer Salminen
|
||||
-- - added repairIndex and changed indexing of repairLogTable.
|
||||
--
|
||||
-- 1.1 2.11.2001 Pasi Pöri
|
||||
-- 1.1 2.11.2001 Pasi Pöri
|
||||
-- - trapEnryId added to elementTrapReceiverTable as index
|
||||
-- in order to enable multiple null IP addresses (0.0.0.0).
|
||||
-- Thus no table row manipulation is needed.
|
||||
|
@ -1227,7 +1227,129 @@
|
||||
the current interface."
|
||||
::= { proMpegFecEntry 7 }
|
||||
|
||||
|
||||
|
||||
-- Input service information
|
||||
-- 1.3.6.1.4.1.3715.17.3.4
|
||||
inputServiceTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF InputServiceEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { interface 4 }
|
||||
|
||||
|
||||
-- 1.3.6.1.4.1.3715.17.3.4.1
|
||||
inputServiceEntry OBJECT-TYPE
|
||||
SYNTAX InputServiceEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
INDEX { ifExtIndex }
|
||||
::= { inputServiceTable 1 }
|
||||
|
||||
|
||||
InputServiceEntry ::=
|
||||
SEQUENCE {
|
||||
iSID
|
||||
INTEGER,
|
||||
iServiceName
|
||||
DisplayString,
|
||||
iServiceBitrate
|
||||
INTEGER
|
||||
}
|
||||
|
||||
-- 1.3.6.1.4.1.3715.17.3.4.1.2
|
||||
iSID OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..65535)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Unique service id number inside the transport stream."
|
||||
::= { inputServiceEntry 2 }
|
||||
|
||||
-- 1.3.6.1.4.1.3715.17.3.4.1.3
|
||||
iServiceName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the service."
|
||||
::= { inputServiceEntry 3 }
|
||||
|
||||
|
||||
-- 1.3.6.1.4.1.3715.17.3.4.1.4
|
||||
iServiceBitrate OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..65535)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The bitrate of service"
|
||||
::= { inputServiceEntry 4 }
|
||||
|
||||
-- Output service information
|
||||
|
||||
-- 1.3.6.1.4.1.3715.17.3.5
|
||||
outputServiceTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF OutputServiceEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { interface 5 }
|
||||
|
||||
|
||||
-- 1.3.6.1.4.1.3715.17.3.5.1
|
||||
outputServiceEntry OBJECT-TYPE
|
||||
SYNTAX OutputServiceEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
INDEX { ifExtIndex }
|
||||
::= { outputServiceTable 1 }
|
||||
|
||||
|
||||
OutputServiceEntry ::=
|
||||
SEQUENCE {
|
||||
oSID
|
||||
INTEGER,
|
||||
oServiceName
|
||||
DisplayString,
|
||||
oServiceBitrate
|
||||
INTEGER
|
||||
}
|
||||
|
||||
-- 1.3.6.1.4.1.3715.17.3.5.1.2
|
||||
oSID OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..65535)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Unique service id number inside the transport stream."
|
||||
::= { outputServiceEntry 2 }
|
||||
|
||||
-- 1.3.6.1.4.1.3715.17.3.5.1.2
|
||||
oServiceName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the service."
|
||||
::= { outputServiceEntry 3 }
|
||||
|
||||
|
||||
-- 1.3.6.1.4.1.3715.17.3.5.1.3
|
||||
oServiceBitrate OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..65535)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The bitrate of service"
|
||||
::= { outputServiceEntry 4 }
|
||||
----------------------------------------------------------------------
|
||||
|
||||
-- 1.3.6.1.4.1.3715.17.4
|
||||
notifications OBJECT IDENTIFIER ::= { luminato 4 }
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,7 @@
|
||||
"sysDescr": "Teleste Luminato 8.2.6",
|
||||
"sysContact": "dohlad@gecom.sk",
|
||||
"version": "8.2.6",
|
||||
"hardware": "Luminato",
|
||||
"hardware": "LCH-D C12",
|
||||
"features": null,
|
||||
"os": "luminato",
|
||||
"type": "network",
|
||||
@ -457,8 +457,8 @@
|
||||
"ifName": "MGMT 1",
|
||||
"portName": null,
|
||||
"ifIndex": 1,
|
||||
"ifSpeed": null,
|
||||
"ifSpeed_prev": 0,
|
||||
"ifSpeed": 0,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": "true",
|
||||
"ifPromiscuousMode": "false",
|
||||
"ifOperStatus": "up",
|
||||
@ -562,8 +562,8 @@
|
||||
"ifName": "MGMT 2",
|
||||
"portName": null,
|
||||
"ifIndex": 2,
|
||||
"ifSpeed": null,
|
||||
"ifSpeed_prev": 0,
|
||||
"ifSpeed": 0,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": "true",
|
||||
"ifPromiscuousMode": "false",
|
||||
"ifOperStatus": "up",
|
||||
@ -667,8 +667,8 @@
|
||||
"ifName": "GE 1",
|
||||
"portName": null,
|
||||
"ifIndex": 3,
|
||||
"ifSpeed": null,
|
||||
"ifSpeed_prev": 0,
|
||||
"ifSpeed": 0,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": "true",
|
||||
"ifPromiscuousMode": "false",
|
||||
"ifOperStatus": "up",
|
||||
@ -772,8 +772,8 @@
|
||||
"ifName": "GE 2",
|
||||
"portName": null,
|
||||
"ifIndex": 4,
|
||||
"ifSpeed": null,
|
||||
"ifSpeed_prev": 0,
|
||||
"ifSpeed": 0,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": "true",
|
||||
"ifPromiscuousMode": "false",
|
||||
"ifOperStatus": "up",
|
||||
@ -870,38 +870,34 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"storage": {
|
||||
"processors": {
|
||||
"discovery": {
|
||||
"storage": [
|
||||
"processors": [
|
||||
{
|
||||
"storage_mib": "hrstorage",
|
||||
"storage_index": "1",
|
||||
"storage_type": "hrStorageFlashMemory",
|
||||
"storage_descr": "user partition",
|
||||
"storage_size": 27262976,
|
||||
"storage_units": 1024,
|
||||
"storage_used": 2146304,
|
||||
"storage_free": 0,
|
||||
"storage_perc": 0,
|
||||
"storage_perc_warn": 60,
|
||||
"storage_deleted": 0
|
||||
"entPhysicalIndex": 0,
|
||||
"hrDeviceIndex": 0,
|
||||
"processor_oid": ".1.3.6.1.4.1.2021.10.1.5.3",
|
||||
"processor_index": "2",
|
||||
"processor_type": "luminato",
|
||||
"processor_usage": 29,
|
||||
"processor_descr": "Chassis CPU",
|
||||
"processor_precision": 1,
|
||||
"processor_perc_warn": 75
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": {
|
||||
"storage": [
|
||||
"processors": [
|
||||
{
|
||||
"storage_mib": "hrstorage",
|
||||
"storage_index": "1",
|
||||
"storage_type": "hrStorageFlashMemory",
|
||||
"storage_descr": "user partition",
|
||||
"storage_size": 27262976,
|
||||
"storage_units": 1024,
|
||||
"storage_used": 2146304,
|
||||
"storage_free": 25116672,
|
||||
"storage_perc": 8,
|
||||
"storage_perc_warn": 60,
|
||||
"storage_deleted": 0
|
||||
"entPhysicalIndex": 0,
|
||||
"hrDeviceIndex": 0,
|
||||
"processor_oid": ".1.3.6.1.4.1.2021.10.1.5.3",
|
||||
"processor_index": "2",
|
||||
"processor_type": "luminato",
|
||||
"processor_usage": 10,
|
||||
"processor_descr": "Chassis CPU",
|
||||
"processor_precision": 1,
|
||||
"processor_perc_warn": 75
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -909,6 +905,30 @@
|
||||
"sensors": {
|
||||
"discovery": {
|
||||
"sensors": [
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.99.1.2.6.0",
|
||||
"sensor_index": "0",
|
||||
"sensor_type": "statusFan",
|
||||
"sensor_descr": "Fan Status",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": "statusFan"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
@ -985,7 +1005,7 @@
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.99.1.2.6.0",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.99.1.2.5.0",
|
||||
"sensor_index": "0",
|
||||
"sensor_type": "statusTemperature",
|
||||
"sensor_descr": "Temperature Status",
|
||||
@ -1012,7 +1032,7 @@
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.99.2.2.1.1.3.1",
|
||||
"sensor_index": "1",
|
||||
"sensor_type": "luminato",
|
||||
"sensor_descr": "Slot 1 (LQM-C) ",
|
||||
"sensor_descr": "Slot1 (LQM-C) ",
|
||||
"group": null,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
@ -1036,7 +1056,7 @@
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.99.2.2.1.1.3.10",
|
||||
"sensor_index": "10",
|
||||
"sensor_type": "luminato",
|
||||
"sensor_descr": "Slot 0 (LCH-D) ",
|
||||
"sensor_descr": "Chassis (LCH-D) ",
|
||||
"group": null,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
@ -1060,7 +1080,7 @@
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.99.2.2.1.1.3.2",
|
||||
"sensor_index": "2",
|
||||
"sensor_type": "luminato",
|
||||
"sensor_descr": "Slot 2 (LQM-C) ",
|
||||
"sensor_descr": "Slot2 (LQM-C) ",
|
||||
"group": null,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
@ -1084,7 +1104,7 @@
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.99.2.2.1.1.3.3",
|
||||
"sensor_index": "3",
|
||||
"sensor_type": "luminato",
|
||||
"sensor_descr": "Slot 3 (LQM-C) ",
|
||||
"sensor_descr": "Slot3 (LQM-C) ",
|
||||
"group": null,
|
||||
"sensor_divisor": 10,
|
||||
"sensor_multiplier": 1,
|
||||
@ -1103,6 +1123,20 @@
|
||||
}
|
||||
],
|
||||
"state_indexes": [
|
||||
{
|
||||
"state_name": "statusFan",
|
||||
"state_descr": "Normal",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "statusFan",
|
||||
"state_descr": "Failure",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 2,
|
||||
"state_generic_value": 3
|
||||
},
|
||||
{
|
||||
"state_name": "statusGeneral",
|
||||
"state_descr": "Normal",
|
||||
@ -1182,13 +1216,70 @@
|
||||
},
|
||||
{
|
||||
"state_name": "statusTemperature",
|
||||
"state_descr": "Failure",
|
||||
"state_descr": "Hihi",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 2,
|
||||
"state_generic_value": 3
|
||||
},
|
||||
{
|
||||
"state_name": "statusTemperature",
|
||||
"state_descr": "Hi",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 3,
|
||||
"state_generic_value": 3
|
||||
},
|
||||
{
|
||||
"state_name": "statusTemperature",
|
||||
"state_descr": "Lo",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 4,
|
||||
"state_generic_value": 2
|
||||
},
|
||||
{
|
||||
"state_name": "statusTemperature",
|
||||
"state_descr": "Lolo",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 5,
|
||||
"state_generic_value": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
},
|
||||
"storage": {
|
||||
"discovery": {
|
||||
"storage": [
|
||||
{
|
||||
"storage_mib": "hrstorage",
|
||||
"storage_index": "1",
|
||||
"storage_type": "hrStorageFlashMemory",
|
||||
"storage_descr": "user partition",
|
||||
"storage_size": 27262976,
|
||||
"storage_units": 1024,
|
||||
"storage_used": 2146304,
|
||||
"storage_free": 0,
|
||||
"storage_perc": 0,
|
||||
"storage_perc_warn": 60,
|
||||
"storage_deleted": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": {
|
||||
"storage": [
|
||||
{
|
||||
"storage_mib": "hrstorage",
|
||||
"storage_index": "1",
|
||||
"storage_type": "hrStorageFlashMemory",
|
||||
"storage_descr": "user partition",
|
||||
"storage_size": 27262976,
|
||||
"storage_units": 1024,
|
||||
"storage_used": 2146304,
|
||||
"storage_free": 25116672,
|
||||
"storage_perc": 8,
|
||||
"storage_perc_warn": 60,
|
||||
"storage_deleted": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user