All scripts
sase
Advanced
2–8 min
Prisma Access Tunnel Health Monitor
Prisma Access API: service-connection tunnel state, PoP latency trends, mobile-user session count, certificate expiry, policy push status and Slack alerting on tunnel down.
Palo Alto Prisma Access
You're viewing a preview
The full script, parameters, and execution console are available with a free account.
Already have access? Sign in →
Capabilities
- Prisma Access API
- Service-connection tunnel state
- PoP latency trends
- Mobile-user session count
- Certificate expiry
- Policy push status
- Slack alerts
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
PoP latency alert (ms) latency_alert_ms | number | 120 | — |
Cert expiry warning (days) cert_warn_days | number | 30 | — |
Slack webhook slack_webhook | string | — | — |
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-12] INFO Prisma Access: checking service connections + PoPs... SC/POP STATE LATENCY CERT-EXP STATUS SC-Mumbai up 18ms 412d OK SC-Singapore down - 88d TUNNEL-DOWN ← PoP-Frankfurt up 138ms 210d LATENCY ← [ALERT→Slack] SC-Singapore tunnel down Summary: 1 down · 1 high-latency