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

111 lines
4.8 KiB
YAML

mib: Sentry3-MIB
modules:
os:
hardware: Sentry3-MIB::towerModelNumber.1
serial: Sentry3-MIB::towerProductSN.1
version: Sentry3-MIB::systemVersion.0
version_regex: '/Version (?<version>\S+)/'
sensors:
# note 2-dimensional index tower.infeed for infeed
# and 3-dimensional index tower.infeed.outlet for outlets
current:
options:
divisor: 100
skip_value_lt: 0
data:
- oid: infeedTable
value: infeedLoadValue
num_oid: '.1.3.6.1.4.1.1718.3.2.2.1.7.{{ $index }}'
descr: infeedName
index: 'infeedID.{{ $index }}'
## limits need to be excluded from the divisor somehow
#warn_limit: infeedLoadHighThresh
#high_limit: infeedCapacity
- oid: outletTable
value: outletLoadValue
num_oid: '.1.3.6.1.4.1.1718.3.2.3.1.7.{{ $index }}'
descr: outletName
index: 'outletID.{{ $index }}'
## limits need to be excluded from the divisor somehow
#low_warn_limit: outletLoadLowThresh
#warn_limit: outletLoadHighThresh
#high_limit: outputCapacity
voltage:
options:
divisor: 10
skip_value_lt: 0
data:
- oid: infeedTable
value: infeedVoltage
num_oid: '.1.3.6.1.4.1.1718.3.2.2.1.11.{{ $index }}'
descr: infeedName
# recording voltage for additional feeds (3-phase)
# would require reindexing and moving RRD files;
# this is a configured value, not measured.
# ^ yeah, you broke it anyway by setting "index: '{{ $subindex0 }}'"
group: 'Configured Voltage'
power:
options:
skip_value_lt: 0
data:
- oid: infeedTable
value: infeedPower
num_oid: '.1.3.6.1.4.1.1718.3.2.2.1.12.{{ $index }}'
descr: infeedName
skip_value_lt: 0
- oid: systemTotalPower
num_oid: '.1.3.6.1.4.1.1718.3.1.6.{{ $index }}'
descr: 'System Total Power'
power_factor:
data:
- oid: systemPowerFactor
num_oid: '.1.3.6.1.4.1.1718.3.1.10.{{ $index }}'
descr: 'System Power Factor'
group: 'Configured Power Factor'
humidity:
data:
-
oid: Sentry3-MIB::tempHumidSensorTable
value: Sentry3-MIB::tempHumidSensorHumidValue
num_oid: '.1.3.6.1.4.1.1718.3.2.5.1.10.{{ $index }}'
descr: 'Removable Sensor {{ $Sentry3-MIB::tempHumidSensorID }}'
index: 'tempHumidSensorHumidValue1.{{ $subindex1 }}'
high_limit: Sentry3-MIB::tempHumidSensorHumidHighThresh
low_limit: Sentry3-MIB::tempHumidSensorHumidLowThresh
skip_value_lt: 0
temperature:
data:
-
oid: Sentry3-MIB::tempHumidSensorTable
value: Sentry3-MIB::tempHumidSensorTempValue
num_oid: '.1.3.6.1.4.1.1718.3.2.5.1.6.{{ $index }}'
descr: 'Removable Sensor {{ $Sentry3-MIB::tempHumidSensorID }}'
index: 'tempHumidSensorTempValue1.{{ $subindex1 }}'
divisor: 10
high_limit: Sentry3-MIB::tempHumidSensorTempHighThresh
low_limit: Sentry3-MIB::tempHumidSensorTempLowThresh
skip_value_lt: 0
skip_values:
-
oid: Sentry3-MIB::tempHumidSensorTempScale
op: '=='
value: '1'
-
oid: Sentry3-MIB::tempHumidSensorTable
value: Sentry3-MIB::tempHumidSensorTempValue
num_oid: '.1.3.6.1.4.1.1718.3.2.5.1.6.{{ $index }}'
descr: 'Removable Sensor {{ $Sentry3-MIB::tempHumidSensorID }}'
index: 'tempHumidSensorTempValue1.{{ $subindex1 }}'
divisor: 10
high_limit: Sentry3-MIB::tempHumidSensorTempHighThresh
low_limit: Sentry3-MIB::tempHumidSensorTempLowThresh
user_func: fahrenheit_to_celsius
skip_value_lt: 0
skip_values:
-
oid: Sentry3-MIB::tempHumidSensorTempScale
op: '!='
value: '1'