Setup guide
Get ready to run ISE Snapshot
You need a read-only admin account, the ISE APIs turned on, and a machine that can reach your primary admin node.
1. Turn on the APIs
On the primary admin node, go to Administration > System > Settings > API Settings > API Service Settings and enable ERS and Open API for the primary admin node. The toggles may be labelled Read/Write; the collector still only reads, and the read-only account below can't change anything.
2. Create a read-only admin account
- Go to Administration > System > Admin Access > Administrators > Admin Users and add a user, for example
ise-readonly. - Add it to the Read Only Admin group and the ERS Operator group. ERS Operator can read but not change network devices and other ERS objects.
- For active session counts, the account also needs monitoring access (for example the MnT Admin group). It's optional: without it the report just skips session counts.
- Sign in once through the web UI with the new account in case ISE asks for a password change. A pending change makes API calls fail with 401.
Exact role names and API access can vary by release. If a call fails, the collector names it and the report's Coverage table tells you what to adjust.
3. Pick where to run it
- A Windows jump host with PowerShell 5.1 or later, or any machine with Python 3.8 or later.
- It needs HTTPS (TCP 443) to the primary admin node, and to the monitoring node if that's different. If ERS only listens on 9060 in your release, add
-ErsPort 9060or--ers-port 9060. - If ISE restricts admin access by source IP (Administration > System > Admin Access > Settings > Access), allow that machine.
4. Run it
Windows:
powershell -ExecutionPolicy Bypass -File .\ise-snapshot.ps1 -Pan ise-pan.corp.local -User ise-readonly
macOS or Linux:
python3 ise_snapshot.py --pan ise-pan.corp.local --user ise-readonly
Useful options: -Mnt / --mnt for a separate monitoring node, -Anonymize / --anonymize to hide hostnames and IPs, and -Verify / --verify (or --ca-bundle) to enforce certificate validation.
-ExecutionPolicy Bypass applies to this one run only. If Windows still blocks the downloaded file, right-click it, choose Properties and tick Unblock, or run Unblock-File .\ise-snapshot.ps1.
If something fails
- 401 on every call: ISE rejected the login. Check the password, whether the account is locked or needs a password change, and the admin authentication method. Check Operations > Reports > Audit > Administrator Logins for the reason.
- 403: the account signed in but lacks the role for that API. Add the group named above.
- 404: the API isn't available on your release or isn't enabled (step 1).
- Timeouts: a firewall or admin access restriction is blocking the machine.