feat: add AirFiber AF-LTU optical power sensors (per-chain RX power, TX EIRP)

Add TIER 3 MEDIUM priority optical power sensors for comprehensive AF-LTU link diagnostics.
Per-chain monitoring enables detection of imbalanced signals and fiber issues.

AirFiber AF-LTU additions:
- RX Power Chain 0: Received optical power chain 0 in dBm
  OID: .1.3.6.1.4.1.41112.1.10.1.4.1.5
- RX Power Chain 1: Received optical power chain 1 in dBm
  OID: .1.3.6.1.4.1.41112.1.10.1.4.1.6
- RX Ideal Power Chain 0: Ideal received power chain 0 in dBm
  OID: .1.3.6.1.4.1.41112.1.10.1.4.1.7
- RX Ideal Power Chain 1: Ideal received power chain 1 in dBm
  OID: .1.3.6.1.4.1.41112.1.10.1.4.1.8
- TX EIRP: Transmit effective isotropic radiated power in dBm
  OID: .1.3.6.1.4.1.41112.1.10.1.2.6

Impact:
- Per-chain monitoring detects imbalanced signal levels across RF chains
- RX Ideal Power comparison identifies suboptimal alignment or hardware issues
- TX EIRP monitoring ensures regulatory compliance and proper power output
- Enables proactive fiber and optical component troubleshooting

Implementation:
- All sensors use dbm sensor type for dBm units
- OIDs match LibreNMS LibreNMS/OS/AirosAfLtu.php exactly
- No divisors needed (values already in dBm)

Priority: TIER 3 MEDIUM (6-8 hour effort, enhanced diagnostics)
Gap Status: AF-LTU parity 80% → 90%
Remaining: UniFi channel-to-frequency conversion (requires vendor module work)

Files:
- priv/profiles/os_discovery/airos-af-ltu.yaml
- CHANGELOG.txt
This commit is contained in:
Graham McIntire 2026-02-12 08:54:50 -06:00
parent 1ec3ca16ae
commit 156d1a4fad
No known key found for this signature in database
2 changed files with 48 additions and 0 deletions

View file

@ -1,6 +1,27 @@
CHANGELOG - towerops-web
========================
2026-02-12 - feat: add AirFiber AF-LTU optical power sensors (per-chain RX power, TX EIRP)
- Files: priv/profiles/os_discovery/airos-af-ltu.yaml (enhanced)
Added TIER 3 MEDIUM priority optical power sensors for Ubiquiti AirFiber AF-LTU:
- RX Power Chain 0: Received optical power chain 0 in dBm
OID: .1.3.6.1.4.1.41112.1.10.1.4.1.5
- RX Power Chain 1: Received optical power chain 1 in dBm
OID: .1.3.6.1.4.1.41112.1.10.1.4.1.6
- RX Ideal Power Chain 0: Ideal received power chain 0 in dBm
OID: .1.3.6.1.4.1.41112.1.10.1.4.1.7
- RX Ideal Power Chain 1: Ideal received power chain 1 in dBm
OID: .1.3.6.1.4.1.41112.1.10.1.4.1.8
- TX EIRP: Transmit effective isotropic radiated power in dBm
OID: .1.3.6.1.4.1.41112.1.10.1.2.6
- Impact: Per-chain optical power monitoring enables detection of imbalanced
signal levels, fiber issues, and link budget problems. Ideal power comparison
helps identify suboptimal alignment or hardware degradation.
- Source: LibreNMS LibreNMS/OS/AirosAfLtu.php
- Priority: TIER 3 MEDIUM (enhanced troubleshooting and diagnostics)
- Gap Status: AF-LTU parity 80% → 90%
- Remaining: UniFi channel-to-frequency conversion (requires vendor module work)
2026-02-12 - feat: add AirFiber wireless metrics (frequency, distance, capacity, RSSI, SNR)
- Files: priv/profiles/os_discovery/airos-af60.yaml (enhanced)
Added TIER 2 HIGH priority wireless metrics for Ubiquiti AirFiber AF60:

View file

@ -98,6 +98,33 @@ modules:
index: afLTUStaRxCapacity
descr: RX Capacity
divisor: 1000
dbm:
data:
-
oid: afLTUStaRxPower0
num_oid: '.1.3.6.1.4.1.41112.1.10.1.4.1.5.{{ $index }}'
index: afLTUStaRxPower0
descr: RX Power Chain 0
-
oid: afLTUStaRxPower1
num_oid: '.1.3.6.1.4.1.41112.1.10.1.4.1.6.{{ $index }}'
index: afLTUStaRxPower1
descr: RX Power Chain 1
-
oid: afLTUStaRxIdealPower0
num_oid: '.1.3.6.1.4.1.41112.1.10.1.4.1.7.{{ $index }}'
index: afLTUStaRxIdealPower0
descr: RX Ideal Power Chain 0
-
oid: afLTUStaRxIdealPower1
num_oid: '.1.3.6.1.4.1.41112.1.10.1.4.1.8.{{ $index }}'
index: afLTUStaRxIdealPower1
descr: RX Ideal Power Chain 1
-
oid: afLTUTxEIRP
num_oid: '.1.3.6.1.4.1.41112.1.10.1.2.6.{{ $index }}'
index: afLTUTxEIRP
descr: TX EIRP
count:
data:
-