Fiber operators care a lot about optical Rx power because connectors get dirty, splices degrade, and patch panels develop bend-radius problems. The data is already in snmp_transceiver_readings — this rule turns it into actionable insights. - Towerops.Recommendations.Rules.OpticalRxLow — single query selects the latest reading per transceiver (last hour), filters to those with rx_power_dbm <= -28, joins back to the device. Critical at <= -32 dBm. One insight per (device, port) via metadata.dedup_key. - Insight.@valid_types extended with optical_rx_low. - LLM prompt hint walks the operator through the standard ladder: clean SC/LC connector with a one-click cleaner, inspect bend radius, verify splices, then replace the transceiver. - UI: cyan card with port, Rx power, Tx power, transceiver type, and wavelength. - Wired into RecommendationsRunWorker. 8 new tests. |
||
|---|---|---|
| .. | ||
| mix/tasks | ||
| snmpkit | ||
| towerops | ||
| towerops_web | ||
| snmp_lib.ex | ||
| snmp_mgr.ex | ||
| snmpkit.ex | ||
| towerops.ex | ||
| towerops_native.ex | ||
| towerops_web.ex | ||