towerops/priv/profiles/os_discovery/opengear.yaml
2026-01-21 14:30:04 -06:00

149 lines
6.8 KiB
YAML

mib: OG-STATUSv2-MIB:OG-OMTELEM-MIB
modules:
os:
hardware_mib: OG-PRODUCTS-MIB
hardware_regex: '/og(?<hardware>\S+)/'
version:
- OG-STATUSv2-MIB::ogFirmwareVersion
- OG-OMTELEM-MIB::ogOmSystemFirmwareVersion.0
version_regex: '/(?<version>\S+)/'
serial:
- OG-STATUSv2-MIB::ogSerialNumber
- OG-OMTELEM-MIB::ogOmSystemSerialNumber.0
sensors:
additional_oids:
data:
-
oid:
- OG-STATUSv2-MIB::ogCellModemTable
current:
data:
-
oid: OG-OMTELEM-MIB::ogOmPowerSupplyTable
value: OG-OMTELEM-MIB::ogOmPowerSupplyOutputCurrent
divisor: 1000
num_oid: '.1.3.6.1.4.1.25049.10.19.8.1.1.5.{{ $index }}'
descr: 'PSU {{ $index }} Output Current'
-
oid: OG-STATUSv2-MIB::ogPowerSupplyTable
value: OG-STATUSv2-MIB::ogPowerSupplyOutputCurrent
divisor: 100
num_oid: '.1.3.6.1.4.1.25049.17.13.1.4.{{ $index }}'
descr: '{{ OG-STATUSv2-MIB::ogPowerSupplyName }} Output Current'
skip_values:
-
oid: OG-STATUSv2-MIB::ogPowerSupplyName
op: 'exists'
value: false
voltage:
data:
-
oid: OG-OMTELEM-MIB::ogOmPowerSupplyTable
value: OG-OMTELEM-MIB::ogOmPowerSupplyInputVoltage
divisor: 1000
num_oid: '.1.3.6.1.4.1.25049.10.19.8.1.1.4.{{ $index }}'
descr: 'PSU {{ $index }} Input Voltage'
-
oid: OG-STATUSv2-MIB::ogPowerSupplyTable
value: OG-STATUSv2-MIB::ogPowerSupplyInputVoltage
num_oid: '.1.3.6.1.4.1.25049.17.13.1.3.{{ $index }}'
descr: '{{ OG-STATUSv2-MIB::ogPowerSupplyName }} Input Voltage'
skip_values:
- oid: OG-STATUSv2-MIB::ogPowerSupplyName
op: 'exists'
value: false
power:
data:
-
oid: OG-OMTELEM-MIB::ogOmPowerSupplyTable
value: OG-OMTELEM-MIB::ogOmPowerSupplyOutputPower
num_oid: '.1.3.6.1.4.1.25049.10.19.8.1.1.6.{{ $index }}'
descr: 'PSU {{ $index }} Output Power'
temperature:
data:
-
oid: OG-STATUSv2-MIB::ogPowerSupplyTable
value: OG-STATUSv2-MIB::ogPowerSupplyTemperature
num_oid: '.1.3.6.1.4.1.25049.17.13.1.5.{{ $index }}'
descr: OG-STATUSv2-MIB::ogPowerSupplyName
skip_values:
- oid: OG-STATUSv2-MIB::ogPowerSupplyName
op: 'exists'
value: false
-
oid: OG-STATUSv2-MIB::ogEmdTemperatureTable
value: OG-STATUSv2-MIB::ogEmdTemperatureValue
num_oid: '.1.3.6.1.4.1.25049.17.9.1.5.{{ $index }}'
descr: OG-STATUSv2-MIB::ogEmdTemperatureName
index: 'ogEmdTemperatureValue.{{ $index }}'
-
oid: OG-OMTELEM-MIB::ogOmTempSensorTable
value: OG-OMTELEM-MIB::ogOmTempSensorValue
divisor: 1000
num_oid: '.1.3.6.1.4.1.25049.10.19.9.1.1.4.{{ $index }}'
descr: OG-OMTELEM-MIB::ogOmTempSensorName
humidity:
data:
-
oid: OG-STATUSv2-MIB::ogEmdHumidityTable
value: OG-STATUSv2-MIB::ogEmdHumidityValue
num_oid: '.1.3.6.1.4.1.25049.17.10.1.5.{{ $index }}'
descr: OG-STATUSv2-MIB::ogEmdHumidityName
index: 'ogEmdHumidityValue.{{ $index }}'
signal:
data:
-
oid: OG-STATUSv2-MIB::ogCellModemTable
value: OG-STATUSv2-MIB::ogCellModem3gRssi
num_oid: '.1.3.6.1.4.1.25049.17.17.1.11.{{ $index }}'
descr: 'Cellular 3G Modem RSSI'
index: '11.{{ $index }}'
-
oid: OG-STATUSv2-MIB::ogCellModemTable
value: OG-STATUSv2-MIB::ogCellModem4gRssi
num_oid: '.1.3.6.1.4.1.25049.17.17.1.12.{{ $index }}'
descr: 'Cellular 4G Modem RSSI'
index: '12.{{ $index }}'
count:
data:
-
oid: OG-STATUSv2-MIB::ogCellModemTable
value: OG-STATUSv2-MIB::ogCellModemSelectedSimCard
num_oid: '.1.3.6.1.4.1.25049.17.17.1.14.{{ $index }}'
descr: 'Selected Active SIM Card'
index: 'ogCellModemSelectedSimCard.{{ $index }}'
state:
data:
-
oid: OG-STATUSv2-MIB::ogCellModemTable
value: OG-STATUSv2-MIB::ogCellModemConnected
num_oid: '.1.3.6.1.4.1.25049.17.17.1.5.{{ $index }}'
descr: 'Modem Connection State'
index: 'ogCellModemConnected.{{ $index }}'
state_name: ogCellModemConnected
states:
- { value: 1, descr: Connected, graph: 1, generic: 0 }
- { value: 2, descr: Disconnected, graph: 2, generic: 2 }
skip_values:
-
oid: 'OG-STATUSv2-MIB::ogCellModemEnabled'
op: '='
value: 2
-
oid: OG-STATUSv2-MIB::ogCellModemTable
value: OG-STATUSv2-MIB::ogCellModemRadioTechnology
num_oid: '.1.3.6.1.4.1.25049.17.17.1.9.{{ $index }}'
descr: 'Radio Access Technology'
index: 'ogCellModemRadioTechnology.{{ $index }}'
skip_values: 1
state_name: ogCellModemRadioTechnology
states:
- { value: 1, descr: Unavailable, graph: 1, generic: 3 }
- { value: 2, descr: CDMA, graph: 2, generic: 0 }
- { value: 3, descr: EVDO, graph: 3, generic: 0 }
- { value: 4, descr: GSM, graph: 4, generic: 0 }
- { value: 5, descr: UMTS, graph: 5, generic: 0 }
- { value: 6, descr: LTE, graph: 6, generic: 0 }