04-26-2021 07:49 AM
I want to write code able to get all active monitoring sessions an hour back (using the
04-28-2021 01:57 PM
Can you please clarify which Cisco product and API(s) you are using?
04-29-2021 12:05 AM
I'm using the ISE monitoring API. I want to get all the active sessions from the last hour, but don't know the ISE's configured timezone. I tried always using UTC, but find it's often configured to local time which causes me to actually query a future time and never get results.
05-10-2021 03:18 PM
I see. Well, we need the API to give up a timestamp. I know the ISE API set has something called the Authentication Status API Call (about 1/3 of the way down the page here). This will return this parameter (among others):
name=”acs_timestamp”
Time stamp that is associated with the Cisco ISE authentication request
So you can use the ISE API to get the timestamp and work with it that way.
05-12-2021 04:05 AM
But then I would need a certain MAC to give the API call, no? And I don't know what the last sessions to be authenticated are.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide