All scripts
analysis
Expert
~10 min
gNMI Streaming Telemetry Collector
Async gRPC/gNMI subscription engine: SAMPLE and ON_CHANGE mode streaming, YANG path monitoring, real-time anomaly detection via z-score, automatic Prometheus metrics export, and threshold alerting.
cisco-iosxr
arista
juniper
You're viewing a preview
The full script, parameters, and execution console are available with a free account.
Already have access? Sign in โ
Capabilities
- gNMI
- gRPC
- Streaming
- YANG
- Prometheus
- asyncio
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
Sample Interval (s) sample_interval | number | 10 | โ |
Duration (s) duration_s | number | 60 | โ |
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
[INFO] Subscribed to 12 paths on 6 devices (10s sample) [INFO] Streaming at 720 updates/min, 0 dropped [WARN] spine-02 Et1/1: input-errors increasing 12/s [OK] CPU < 35% on all devices [INFO] Wrote 432 samples โ telemetry.parquet