All scripts
isp
Advanced
2–6 min
T-ISP-027 · Optical Degradation Detector
Read transceiver DOM telemetry (Rx/Tx power, temperature, bias current) per interface, compare against vendor thresholds and historical baseline, and flag fibers trending toward failure.
Cisco IOS-XR
Juniper Junos
Arista EOS
You're viewing a preview
The full script, parameters, and execution console are available with a free account.
Already have access? Sign in →
Capabilities
- DOM Rx/Tx power read
- Vendor threshold compare
- Baseline trend delta
- Temp/bias check
- Pre-failure flagging
- JSON report
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
Rx low warn (dBm) rx_low_dbm | number | -14 | — |
Trend drop warn (dB) trend_drop_db | number | 3 | — |
Sample inventory schema
Authoritative shape of the device/policy data this script consumes.
No bundled inventory sample. The script accepts standard device lists (CSV/YAML) with hostname, mgmt IP, vendor, and credentials.
Expected output
Reference terminal output the script should produce — used as a stylistic and structural target.
terminal
2026-06-15 20:00:00 INFO Evaluated 312 transceivers across 47 devices 2026-06-15 20:00:00 WARN core-rtr-01 Hu0/0/0/3: Rx -15.8dBm (< -14 threshold) 2026-06-15 20:00:00 WARN pe-rtr-04 Te0/1/2: Rx dropped 3.6dB vs baseline 2026-06-15 20:00:00 INFO Report written to optical-health.json (2 degrading)