Files
212c9aad95 Add support for Advantech switches (#11415)
* Add Advantech logo.

Taken from https://commons.wikimedia.org/wiki/File:Advantech_logo.svg
with minor edits (removed width and height).

* Add Advantech MIB files.

* Add Advantech definitions.

* Add suppor for version and hardware polling.

* Add advantech snmp recording.

* Add sensors for SFP ports

Each SFP will have temperature, voltage, tx bias, Tx/Rx power.
Also update snmp recording to include new data.

* Rename ADVANTECH-EKI-PRONEER-MIB_1_01.mib to ADVANTECH-EKI-PRONEER-MIB

* Rename advantech-common-mib.mib to ADVANTECH-COMMON-MIB

* Update advantech.yaml

* Update advantech.svg

* Create advantech.json

Co-authored-by: PipoCanaja <[email protected]>
2020-04-14 11:05:22 +02:00

82 lines
3.6 KiB
YAML

mib: ADVANTECH-EKI-PRONEER-MIB
modules:
sensors:
pre-cache:
data:
- oid:
- sfpPortIndex
- sfpDMITempLowAlarmValue
- sfpDMITempLowWarnValue
- sfpDMITempHighWarnValue
- sfpDMITempHighAlarmValue
- sfpDMIVoltageLowAlarmValue
- sfpDMIVoltageLowWarnValue
- sfpDMIVoltageHighWarnValue
- sfpDMIVoltageHighAlarmValue
- sfpDMITxBasisLowAlarmValue
- sfpDMITxBasisLowWarnValue
- sfpDMITxBasisHighWarnValue
- sfpDMITxBasisHighAlarmValue
- sfpDMITxPowerLowAlarmValue
- sfpDMITxPowerLowWarnValue
- sfpDMITxPowerHighWarnValue
- sfpDMITxPowerHighAlarmValue
- sfpDMIRxPowerLowAlarmValue
- sfpDMIRxPowerLowWarnValue
- sfpDMIRxPowerHighWarnValue
- sfpDMIRxPowerHighAlarmValue
temperature:
data:
-
oid: sfpDMITemperature
num_oid: '.1.3.6.1.4.1.10297.202.7000.2.5.2.1.2.{{ $index }}'
descr: '{{ $sfpPortIndex }} Temperature'
index: 'sfp-temp-{{ $index }}'
low_limit: sfpDMITempLowAlarmValue
low_warn_limit: sfpDMITempLowWarnValue
warn_limit: sfpDMITempHighWarnValue
high_limit: sfpDMITempHighAlarmValue
voltage:
data:
-
oid: sfpDMIVoltage
num_oid: '.1.3.6.1.4.1.10297.202.7000.2.5.2.1.3.{{ $index }}'
descr: '{{ $sfpPortIndex }} Voltage'
index: 'sfp-voltage-{{ $index }}'
low_limit: sfpDMIVoltageLowAlarmValue
low_warn_limit: sfpDMIVoltageLowWarnValue
warn_limit: sfpDMIVoltageHighWarnValue
high_limit: sfpDMIVoltageHighAlarmValue
current:
data:
-
oid: sfpDMITxBias
num_oid: '.1.3.6.1.4.1.10297.202.7000.2.5.2.1.4.{{ $index }}'
descr: '{{ $sfpPortIndex }} Tx Bias'
index: 'sfp-current-{{ $index }}'
divisor: 1000
low_limit: sfpDMITxBasisLowAlarmValue
low_warn_limit: sfpDMITxBasisLowWarnValue
warn_limit: sfpDMITxBasisHighWarnValue
high_limit: sfpDMITxBasisHighAlarmValue
dbm:
data:
-
oid: sfpDMITxPower
num_oid: '.1.3.6.1.4.1.10297.202.7000.2.5.2.1.5.{{ $index }}'
descr: '{{ $sfpPortIndex }} Tx Power'
index: 'sfp-tx-dbm-{{ $index }}'
low_limit: sfpDMITxPowerLowAlarmValue
low_warn_limit: sfpDMITxPowerLowWarnValue
warn_limit: sfpDMITxPowerHighWarnValue
high_limit: sfpDMITxPowerHighAlarmValue
-
oid: sfpDMIRxPower
num_oid: '.1.3.6.1.4.1.10297.202.7000.2.5.2.1.6.{{ $index }}'
descr: '{{ $sfpPortIndex }} Rx Power'
index: 'sfp-rx-dbm-{{ $index }}'
low_limit: sfpDMIRxPowerLowAlarmValue
low_warn_limit: sfpDMIRxPowerLowWarnValue
warn_limit: sfpDMIRxPowerHighWarnValue
high_limit: sfpDMIRxPowerHighAlarmValue