mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
initial support for Supermicro BMC (#15750)
* initial support for Supermicro BMC * removed pre-cache entry * removed forced disable from yaml
This commit is contained in:
97
includes/definitions/discovery/supermicro-bmc.yaml
Normal file
97
includes/definitions/discovery/supermicro-bmc.yaml
Normal file
@@ -0,0 +1,97 @@
|
||||
mib: ATEN-IPMI-MIB
|
||||
modules:
|
||||
os:
|
||||
version:
|
||||
- ATEN-IPMI-MIB::bmcMajorVesion.0
|
||||
- ATEN-IPMI-MIB::bmcMinorVesion.0
|
||||
version_template: "FW {{ ATEN-IPMI-MIB::bmcMajorVesion.0 }}.{{ ATEN-IPMI-MIB::bmcMinorVesion.0 }}"
|
||||
features: ATEN-IPMI-MIB::biosVesion.0
|
||||
features_template: "Bios {{ ATEN-IPMI-MIB::biosVesion.0 }}"
|
||||
sensors:
|
||||
temperature:
|
||||
data:
|
||||
-
|
||||
oid: sensorTable
|
||||
value: sensorReading
|
||||
num_oid: '.1.3.6.1.4.1.21317.1.3.1.2.{{ $index }}'
|
||||
descr: sensorIDString
|
||||
index: sensorTableSensorNr.{{ $index }}
|
||||
low_limit: lcThreshold
|
||||
low_warn_limit: lncThreshold
|
||||
warn_limit: uncThreshold
|
||||
high_limit: ucThreshold
|
||||
skip_values:
|
||||
-
|
||||
oid: sensorIDString
|
||||
op: 'not_contains'
|
||||
value: 'Temp'
|
||||
fanspeed:
|
||||
data:
|
||||
-
|
||||
oid: sensorTable
|
||||
value: sensorReading
|
||||
num_oid: '.1.3.6.1.4.1.21317.1.3.1.2.{{ $index }}'
|
||||
descr: sensorIDString
|
||||
index: sensorTableSensorNr.{{ $index }}
|
||||
low_limit: lcThreshold
|
||||
low_warn_limit: lncThreshold
|
||||
warn_limit: uncThreshold
|
||||
high_limit: ucThreshold
|
||||
skip_values:
|
||||
-
|
||||
oid: sensorIDString
|
||||
op: 'not_contains'
|
||||
value: 'FAN'
|
||||
voltage:
|
||||
data:
|
||||
-
|
||||
oid: sensorTable
|
||||
value: sensorReading
|
||||
num_oid: '.1.3.6.1.4.1.21317.1.3.1.2.{{ $index }}'
|
||||
descr: sensorIDString
|
||||
index: sensorTableSensorNr.{{ $index }}
|
||||
low_limit: lcThreshold
|
||||
low_warn_limit: lncThreshold
|
||||
warn_limit: uncThreshold
|
||||
high_limit: ucThreshold
|
||||
skip_values:
|
||||
-
|
||||
oid: sensorIDString
|
||||
op: 'not_in_array'
|
||||
value:
|
||||
- Vcpu
|
||||
- VDIMM
|
||||
- 12V
|
||||
- 5VCC
|
||||
- 3.3VCC
|
||||
- VBAT
|
||||
- AVCC
|
||||
- VSB
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: sensorTable
|
||||
value: sensorReading
|
||||
num_oid: '.1.3.6.1.4.1.21317.1.3.1.2.{{ $index }}'
|
||||
descr: sensorIDString
|
||||
index: sensorTableSensorNr.{{ $index }}
|
||||
state_name: smSensorState
|
||||
skip_values:
|
||||
-
|
||||
oid: sensorIDString
|
||||
op: 'not_contains'
|
||||
value: 'Status'
|
||||
states:
|
||||
- { descr: On, graph: 1, value: 1, generic: 0 }
|
||||
- { descr: Off, graph: 1, value: 0, generic: 2 }
|
||||
-
|
||||
oid: powerStatus
|
||||
value: powerStatus
|
||||
num_oid: '.1.3.6.1.4.1.21317.1.4.{{ $index }}'
|
||||
descr: 'Power Status {{ $index }}'
|
||||
index: powerStatusSensorNr.{{ $index }}
|
||||
state_name: smPowerState
|
||||
states:
|
||||
- { descr: On, graph: 1, value: 1, generic: 0 }
|
||||
- { descr: Off, graph: 1, value: 0, generic: 2 }
|
||||
- { descr: Reset, graph: 1, value: 2, generic: 1 }
|
17
includes/definitions/supermicro-bmc.yaml
Normal file
17
includes/definitions/supermicro-bmc.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
os: supermicro-bmc
|
||||
text: 'Supermicro-BMC'
|
||||
type: appliance
|
||||
icon: supermicro
|
||||
snmp_bulk: false
|
||||
mib_dir: supermicro
|
||||
group: supermicro
|
||||
over:
|
||||
- { graph: device_temperature, text: 'Temperatures' }
|
||||
- { graph: device_fanspeed, text: 'Fan Speed' }
|
||||
discovery:
|
||||
-
|
||||
sysObjectID: .1.3.6.1.4.1.8072.3.2.10
|
||||
snmpget:
|
||||
oid: ATEN-IPMI-MIB::bmcMajorVesion.0
|
||||
op: '!='
|
||||
value: false
|
Reference in New Issue
Block a user