All scripts
isp
Intermediate
2–5 min
T-ISP-026 · CPU / Memory Triage Collector
Sweep the fleet for control-plane health: poll CPU, memory, and top processes via SSH, rank devices by pressure, and flag those above warning/critical thresholds for NOC triage.
Cisco IOS/XE
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
- CPU + memory poll
- Top-process capture
- Warn/critical thresholds
- Pressure ranking
- Concurrent collection
- JSON triage report
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
CPU warn (%) cpu_warn | number | 75 | — |
Memory warn (%) mem_warn | number | 80 | — |
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 19:00:00 INFO Polling 47 devices (cpu_warn=75 mem_warn=80) 2026-06-15 19:00:03 WARN core-rtr-02: CPU 91% CRITICAL (top: bgp_router) 2026-06-15 19:00:03 WARN pe-rtr-09: MEM 84% WARN 2026-06-15 19:00:03 INFO Triage report written to triage.json (2 flagged)