jackson-tim f55d98ab03 device: Added Lenovo CNOS support (#8332)
* Lenovo CNOS Discovery+Logo Update

* Lenovo MIBs

* Update lenovo-cnos.yaml

Left example CPU Usage there.

* Update lenovo-cnos.yaml

* Update lenovo-cnos.yaml

* Update and rename lenovo-cnos.yaml to cnos.yaml

* Rename lenovo-cnos.yaml to cnos.yaml

* Rename Lenovo-Env-MIB.mib to LENOVO-ENV-MIB

* Rename Lenovo-Products-MIB.mib to  LENOVO-PRODUCTS-MIB

* Rename Lenovo-SMI-MIB.mib to LENOVO-SMI-MIB

* Update lenovo.svg

* Create cnos.json

* Create cnos.snmprec

* Update cnos.json

* Update cnos.yaml
2018-03-13 11:59:35 +00:00

56 lines
2.6 KiB
YAML

mib: LENOVO-ENV-MIB
modules:
sensors:
state:
data:
-
oid: lenovoEnvMibPowerSupplyEntry
value: lenovoEnvMibPowerSupplyState
num_oid: .1.3.6.1.4.1.19046.2.3.11.1.1.1.5.
descr: 'PS{{ $lenovoEnvMibPowerSupplyID }}'
index: 'lenovoEnvMibPowerSupplyState.{{ $index }}'
states:
- { value: 0, descr: off, graph: 1, generic: 1 }
- { value: 1, descr: on, graph: 1, generic: 0 }
- { value: 2, descr: absent, graph: 1, generic: 1 }
- { value: 3, descr: outputFault, graph: 1, generic: 2 }
- { value: -1, descr: unknown, graph: 1, generic: 3 }
-
oid: lenovoEnvMibFanEntry
value: lenovoEnvMibFanState
num_oid: .1.3.6.1.4.1.19046.2.3.11.1.2.1.1.5.
descr: lenovoEnvMibFanName
index: 'lenovoEnvMibFanState.{{ $index }}'
states:
- { value: 0, descr: ok, graph: 1, generic: 0 }
- { value: 1, descr: absent, graph: 1, generic: 1 }
- { value: 2, descr: fault, graph: 1, generic: 2 }
- { value: -1, descr: unknown, graph: 1, generic: 3 }
-
oid: lenovoEnvMibTempSensorEntry
value: lenovoEnvMibTempSensorState
num_oid: .1.3.6.1.4.1.19046.2.3.11.1.3.1.1.5.
descr: lenovoEnvMibTempSensorDesc
index: 'lenovoEnvMibTempSensorState.{{ $index }}'
states:
- { value: 0, descr: ok, graph: 1, generic: 0 }
- { value: 1, descr: fault, graph: 1, generic: 2 }
- { value: -1, descr: unknown, graph: 1, generic: 3 }
fanspeed:
data:
-
oid: lenovoEnvMibFanEntry
value: lenovoEnvMibFanSpeedRPM
num_oid: .1.3.6.1.4.1.19046.2.3.11.1.2.1.8.
index: 'lenovoEnvMibFanSpeedRPM.{{ $index }}'
descr: lenovoEnvMibFanName
temperature:
data:
-
oid: lenovoEnvMibTempSensorEntry
value: lenovoEnvMibTempSensorTemperature
num_oid: .1.3.6.1.4.1.19046.2.3.11.1.3.1.6.
index: 'lenovoEnvTempSensorTemperature.{{ $index }}'
descr: lenovoEnvMibTempSensorName