All scripts
isp
Intermediate
2–5 min
T-ISP-023 · Customer Bandwidth Usage Reporter
Poll customer access interfaces via SNMP, compute 95th-percentile billing utilization against CIR, and emit a per-customer usage report flagging sustained over-CIR burst patterns.
Cisco IOS/XE
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
- SNMP interface poll
- 95th-percentile billing
- Over-CIR burst flag
- Per-customer rollup
- CSV/JSON report
- Threshold alerting
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
Billing percentile percentile | number | 95 | — |
Poll interval (s) interval_s | number | 300 | — |
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 16:00:00 INFO Loaded 18 customer interfaces 2026-06-15 16:00:00 INFO ACME (CIR 100): 95th=88.2Mbps OK 2026-06-15 16:00:00 WARN GLOBEX (CIR 50): 95th=61.4Mbps OVER-CIR (+22%) 2026-06-15 16:00:00 INFO Report written to bandwidth-report.csv