<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MnT API call takes too long in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/mnt-api-call-takes-too-long/m-p/4582323#M573763</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on an integration via MnT API calls where I can provide to end-users the status of their endpoints (if they are getting blocked or allowed by ISE) as well as some location (port and switch).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a distributed deployment running version 2.7 patch 4 and I'm using the session API calls towards the monitor node (which is running on a SNS-3655 hardware). Every time that I trigger the API call it takes ~ 3.5 minutes to get the response, is this ok? It takes a lot of time to pull out information from the endpoints. Also, I would like to know if there is any way where I can just get certain information from the session, I tried to use a filter but had no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the current call that I'm using to get endpoint session information:&lt;/P&gt;&lt;P&gt;&lt;A href="https://MnT_node/admin/API/mnt/Session/MACAddress/xx:xx:xx:xx:xx:xx" target="_blank"&gt;https://MnT_node/admin/API/mnt/Session/MACAddress/xx:xx:xx:xx:xx:xx&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I want to run some filter then I would use this query:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://MnT_node/admin/API/mnt/Session/MACAddress/xx:xx:xx:xx:xx:xx?filter=EQ.selected_azn_profiles" target="_blank"&gt;https://MnT_node/admin/API/mnt/Session/MACAddress/xx:xx:xx:xx:xx:xx?filter=EQ.selected_azn_profiles&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I still get the same output with the same time (~3.5 minutes).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Finally I also would like to know if this is impactful to the monitor node, I don't expect 100 queries per minute but I don't want to open the gates to everyone if this might impact the reporting capabilities for the monitoring nodes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Mar 2022 00:07:02 GMT</pubDate>
    <dc:creator>pabloayalas</dc:creator>
    <dc:date>2022-03-31T00:07:02Z</dc:date>
    <item>
      <title>MnT API call takes too long</title>
      <link>https://community.cisco.com/t5/network-access-control/mnt-api-call-takes-too-long/m-p/4582323#M573763</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on an integration via MnT API calls where I can provide to end-users the status of their endpoints (if they are getting blocked or allowed by ISE) as well as some location (port and switch).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a distributed deployment running version 2.7 patch 4 and I'm using the session API calls towards the monitor node (which is running on a SNS-3655 hardware). Every time that I trigger the API call it takes ~ 3.5 minutes to get the response, is this ok? It takes a lot of time to pull out information from the endpoints. Also, I would like to know if there is any way where I can just get certain information from the session, I tried to use a filter but had no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the current call that I'm using to get endpoint session information:&lt;/P&gt;&lt;P&gt;&lt;A href="https://MnT_node/admin/API/mnt/Session/MACAddress/xx:xx:xx:xx:xx:xx" target="_blank"&gt;https://MnT_node/admin/API/mnt/Session/MACAddress/xx:xx:xx:xx:xx:xx&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I want to run some filter then I would use this query:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://MnT_node/admin/API/mnt/Session/MACAddress/xx:xx:xx:xx:xx:xx?filter=EQ.selected_azn_profiles" target="_blank"&gt;https://MnT_node/admin/API/mnt/Session/MACAddress/xx:xx:xx:xx:xx:xx?filter=EQ.selected_azn_profiles&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I still get the same output with the same time (~3.5 minutes).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Finally I also would like to know if this is impactful to the monitor node, I don't expect 100 queries per minute but I don't want to open the gates to everyone if this might impact the reporting capabilities for the monitoring nodes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 00:07:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/mnt-api-call-takes-too-long/m-p/4582323#M573763</guid>
      <dc:creator>pabloayalas</dc:creator>
      <dc:date>2022-03-31T00:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: MnT API call takes too long</title>
      <link>https://community.cisco.com/t5/network-access-control/mnt-api-call-takes-too-long/m-p/4582992#M573769</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Every time that I trigger the API call it takes ~ 3.5 minutes to get the response, is this ok?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-I personally have never seen this long of a delay when consuming MNT APIs.&amp;nbsp; If possible, I would work with TAC on this one.&amp;nbsp; FYSA here are some filters that may be useful.&amp;nbsp; Note:&amp;nbsp; I think not all APIs support each one; pretty sure it varies; check documentation:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;--Cisco ISE REST API filters--&lt;/P&gt;
&lt;P&gt;EQ: Equals&lt;/P&gt;
&lt;P&gt;NEQ: Not Equals&lt;/P&gt;
&lt;P&gt;GT: Greater Than&lt;/P&gt;
&lt;P&gt;LT: Less Then&lt;/P&gt;
&lt;P&gt;STARTW: Starts With&lt;/P&gt;
&lt;P&gt;NSTARTSW: Not Starts With&lt;/P&gt;
&lt;P&gt;ENDSW: Ends With&lt;/P&gt;
&lt;P&gt;NENDSW: Not Ends With&lt;/P&gt;
&lt;P&gt;CONTAINS: Contains&lt;/P&gt;
&lt;P&gt;NCONTAINS: Not Contains&lt;/P&gt;
&lt;P&gt;Also for reference:&amp;nbsp;&lt;A href="https://community.cisco.com/t5/security-documents/ise-ers-api-examples/ta-p/3622623#toc-hId--1652157075" target="_blank"&gt;ISE ERS API Examples - Cisco Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 12:19:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/mnt-api-call-takes-too-long/m-p/4582992#M573769</guid>
      <dc:creator>Mike.Cifelli</dc:creator>
      <dc:date>2022-03-31T12:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: MnT API call takes too long</title>
      <link>https://community.cisco.com/t5/network-access-control/mnt-api-call-takes-too-long/m-p/4583093#M573777</link>
      <description>&lt;P&gt;I ran the call a number of times on a very busy 2.7p6 deployment. It averages 6 seconds to get the results. I would patch, then open a TAC case if it persists.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 14:27:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/mnt-api-call-takes-too-long/m-p/4583093#M573777</guid>
      <dc:creator>Damien Miller</dc:creator>
      <dc:date>2022-03-31T14:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: MnT API call takes too long</title>
      <link>https://community.cisco.com/t5/network-access-control/mnt-api-call-takes-too-long/m-p/4587413#M573921</link>
      <description>&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;Thanks for replying. I have used the filters but when I try to get specific information from the database, for example, if I want to get a specific mac address out of all the mac addresses in the system, this is the only place where I get those filters but in the case of the monitoring API's I'm not sure if I can filter only, as a result, specific information, for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output from the API Call:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN&gt;xml&lt;/SPAN&gt; &lt;SPAN&gt;version&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"1.0"&lt;/SPAN&gt; &lt;SPAN&gt;encoding&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"UTF-8"&lt;/SPAN&gt; &lt;SPAN&gt;standalone&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"yes"?&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;sessionParameters&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;passed&lt;/SPAN&gt; &lt;SPAN&gt;xsi:type&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"xs:boolean"&lt;/SPAN&gt; &lt;SPAN&gt;xmlns:xs&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;"&lt;/SPAN&gt; &lt;SPAN&gt;xmlns:xsi&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;passed&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;failed&lt;/SPAN&gt; &lt;SPAN&gt;xsi:type&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"xs:boolean"&lt;/SPAN&gt; &lt;SPAN&gt;xmlns:xs&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;"&lt;/SPAN&gt; &lt;SPAN&gt;xmlns:xsi&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;failed&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;user_name&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;HOSTNAME&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;user_name&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;nas_ip_address&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;192.168&lt;/SPAN&gt;&lt;SPAN&gt;.2.32&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;nas_ip_address&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;calling_station_id&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;MAC_ADDRESS&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;calling_station_id&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;orig_calling_station_id&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;MAC_ADDRESS&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;orig_calling_station_id&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;cpmsession_id&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;SESSION_ID&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;cpmsession_id&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;destination_ip_address&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;192.168.100.1&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;destination_ip_address&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;device_ip_address&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;192.168.200.100&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;device_ip_address&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;identity_group&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;Workstation&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;identity_group&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;network_device_name&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;network_device_name&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Out of this input I only want to display&amp;nbsp;&amp;lt;calling_station_id&amp;gt; and &amp;lt;device_ip_address&amp;gt; and the rest I can just ignore it.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 06 Apr 2022 15:36:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/mnt-api-call-takes-too-long/m-p/4587413#M573921</guid>
      <dc:creator>pabloayalas</dc:creator>
      <dc:date>2022-04-06T15:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: MnT API call takes too long</title>
      <link>https://community.cisco.com/t5/network-access-control/mnt-api-call-takes-too-long/m-p/4587416#M573922</link>
      <description>&lt;P&gt;Damien,&lt;/P&gt;&lt;P&gt;Thanks for replying. I'll patch our ISE environment and see if that makes any difference, I'm not sure why this takes a lot of time, it's not consistent, and I might need to wait 3 minutes, sometimes 30 seconds, or less than 10 seconds. I'll investigate more and if needed I'll open a TAC case if needed.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 15:38:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/mnt-api-call-takes-too-long/m-p/4587416#M573922</guid>
      <dc:creator>pabloayalas</dc:creator>
      <dc:date>2022-04-06T15:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: MnT API call takes too long</title>
      <link>https://community.cisco.com/t5/network-access-control/mnt-api-call-takes-too-long/m-p/4618780#M574988</link>
      <description>&lt;P&gt;Damien, just as FYI I'm hitting a bug (CSCvu33861) and this is causing the problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;A href="https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvu33861" target="_blank" rel="noopener"&gt;https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvu33861&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 May 2022 19:27:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/mnt-api-call-takes-too-long/m-p/4618780#M574988</guid>
      <dc:creator>pabloayalas</dc:creator>
      <dc:date>2022-05-26T19:27:20Z</dc:date>
    </item>
  </channel>
</rss>

