<?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 GET All Agents by Rest API in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/GET-All-Agents-by-Rest-API/m-p/733034#M8274</link>
    <description>&lt;P&gt;Is there a Rest API that lists all the agents running in the controller? (Mainly the machine agents.)&lt;/P&gt;

&lt;P&gt;Can I just see the agents by the nodes?&lt;/P&gt;</description>
    <pubDate>Fri, 03 May 2019 15:18:41 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2019-05-03T15:18:41Z</dc:date>
    <item>
      <title>GET All Agents by Rest API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/GET-All-Agents-by-Rest-API/m-p/733034#M8274</link>
      <description>&lt;P&gt;Is there a Rest API that lists all the agents running in the controller? (Mainly the machine agents.)&lt;/P&gt;

&lt;P&gt;Can I just see the agents by the nodes?&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 15:18:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/GET-All-Agents-by-Rest-API/m-p/733034#M8274</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-05-03T15:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: GET All Agents by Rest API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/GET-All-Agents-by-Rest-API/m-p/733035#M8275</link>
      <description>&lt;P&gt;yes, take a look at this link.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/PRO45/AppDynamics+APIs" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO45/AppDynamics+APIs&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I use Postman with Basic Auth (my login details) to get the info, but you can build a Python or Java client to do it also.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 15:34:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/GET-All-Agents-by-Rest-API/m-p/733035#M8275</guid>
      <dc:creator>Thomas_Miller</dc:creator>
      <dc:date>2019-05-03T15:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: GET All Agents by Rest API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/GET-All-Agents-by-Rest-API/m-p/733036#M8276</link>
      <description>&lt;P&gt;Hello Thomas, I am making use of these APIs, however, I have not found any that I can see the agents in use or a list of them that are in use by the controller. The limit I found was to access each node. But that would exclude me from the machine agents.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 15:56:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/GET-All-Agents-by-Rest-API/m-p/733036#M8276</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-05-03T15:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: GET All Agents by Rest API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/GET-All-Agents-by-Rest-API/m-p/733037#M8277</link>
      <description>&lt;P&gt;after you access the node and get the nodeid you can execute this rest call:&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;https://&amp;lt;your-appd-controller&amp;gt;/controller/rest/applications/&amp;lt;nodeid&amp;gt;/nodes&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;In the output you get a description of the nodes and there is a field&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;&amp;lt;machineAgentPresent&amp;gt;&lt;STRONG&gt;false&lt;/STRONG&gt;&amp;lt;/machineAgentPresent&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;that tells you if there is a machine agent on that node.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;But it doesn't give you any more details on the machineagent than whether or not it is installed and reporting into the controller.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Thomas&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 18:05:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/GET-All-Agents-by-Rest-API/m-p/733037#M8277</guid>
      <dc:creator>Thomas_Miller</dc:creator>
      <dc:date>2019-05-03T18:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: GET All Agents by Rest API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/GET-All-Agents-by-Rest-API/m-p/733038#M8278</link>
      <description>&lt;P&gt;Ok. Thank you very much.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 07:50:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/GET-All-Agents-by-Rest-API/m-p/733038#M8278</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-05-06T07:50:39Z</dc:date>
    </item>
  </channel>
</rss>

