<?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 Re: Synthetic Port and Ping test - add multiple tests in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/214754#M3097</link>
    <description>&lt;P&gt;I completely understand the limits as this is encountered where I'm currently at.&amp;nbsp; I prefer using the API but creating a new endpoint for the extension either in the UI or by using the API could be painful if done manually one instance at a time.&amp;nbsp; The blog post about the Extensions API makes reference to a mass update but I didn't see it even after reading it a few times.&amp;nbsp; I'm thinking of some type of Postman script.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jun 2023 19:09:26 GMT</pubDate>
    <dc:creator>bill_scheuernst</dc:creator>
    <dc:date>2023-06-12T19:09:26Z</dc:date>
    <item>
      <title>Synthetic Port and Ping test - add multiple tests</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/169085#M1631</link>
      <description>&lt;P&gt;I'm looking for some guidance on the easiest way to add a few hundred Port and Ping tests.&amp;nbsp; We have tested the extension for a while now against 50 or so items. We're interested in expanding usage across our Infrastructure Monitoring to hundreds of devices.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to update a configuration file or some other means other than the UI?&amp;nbsp; The UI will take us way too long to add so many devices.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We run the extension on multiple ActiveGates to spread the load so the same solution to setup via a configuration file would also allow us to put some on AG1, some on AG2, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for the help to whoever has some ideas.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 16:57:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/169085#M1631</guid>
      <dc:creator>ct_27</dc:creator>
      <dc:date>2021-07-12T16:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Port and Ping test - add multiple tests</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/169088#M1632</link>
      <description>&lt;P&gt;I would imagine you could use either the API or something like postman to mass import the jobs and custom extension to a range of AG's. I would reach out to support on how to do this though as it is probably unique to the extension.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 18:23:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/169088#M1632</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2021-07-12T18:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Port and Ping test - add multiple tests</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/169096#M1633</link>
      <description>&lt;P&gt;You're right....I had not seen the Extensions EarlyAdopter API until you mentioned something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For those looking to do the same here are the steps taken:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;1) Build an instance of the extension first using the UI
     note: take note of the unique name you give it

2) Obtain the id of the instance you just created
     a) Use API : Get /extensions/{id}/instances
     b) Provide the id of your extension (e.g.    custom.remote.python.thirdparty_ping)
          Note: You can find this by navigating in a browser to the extension in question. Click on it and within the URL you will find 'id='. Copy the text between the '=' and the ';'
    c) Run the API and you should get a Code 200.  
    d) Scroll down the response list until you find the "name" of the instance you created in Step 1
     e) copy the "id"

3) Obtain a copy of the instance configuration
    a) Use API: Get /extensions/{id}/instances/{configurationId}
    b) Provide the same ID of the extension used above (e.g.    custom.remote.python.thirdparty_ping) and the ID of the instance you found in Step 2e
    c) Run the API and you should get a Code 200
    d) Copy the Response body

4) Let's test creating a new instance with the API
     a) Use API: POST /extensions/{id}/instances/validator
     b) Provide the same ID of the extension used above (e.g. custom.remote.python.thirdparty_ping)
     c) Paste in the Response body copied in step 3d to the "Request body" for this API
     d) In the pasted JSON; Fill in your api_token and put double quotes around it
     e)  In the pasted JSON; Delete the line that starts with "endpointId" (this is the id of the existing one and you're trying to create a new one right now)
     f) Run the API, debug, fix, repeat until you get a Code 204
     g) Be sure to change attributes that uniquely identify the new instance you are trying to create.
     h) Copy the final JSON that works
  
5) Final Step - Create a new instance
       a) Use API: POST /extensions/{id}/instances
       b) Provide the same ID of the extension used above (e.g. custom.remote.python.thirdparty_ping)
       c) Paste in the JSON from Step 4h
       d) Run the API and you should get Code 201 with a new "id" in the Response body&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's it, you should be able to refresh the UI and see your new Extension Instance.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 20:04:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/169096#M1633</guid>
      <dc:creator>ct_27</dc:creator>
      <dc:date>2021-07-12T20:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Port and Ping test - add multiple tests</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/214750#M3094</link>
      <description>&lt;P&gt;How did this solution work for you when deploying "a few hundred" instances?&amp;nbsp; I'm doing the same thing for the LDAP Synthetic plugin for approximately 25-30 LDAP endpoints.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 19:10:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/214750#M3094</guid>
      <dc:creator>bill_scheuernst</dc:creator>
      <dc:date>2023-06-12T19:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Port and Ping test - add multiple tests</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/214752#M3095</link>
      <description>&lt;P&gt;I will provide a quick response.&amp;nbsp; The script to create the Extension Instances worked well, we brought it into a technology called NodeRed so we could repeat, delete, and update.&amp;nbsp; But we later abandoned the testing due to poor responsiveness of Dynatrace and too difficult to maintain.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The details are fuzzy because it was a few months back but any PING automation, not just Dynatrace, can only do so many pings from a single machine before you impact the local network card and host machine itself.&amp;nbsp; &amp;nbsp;We were running 1,000's and according to some online research you shouldn't even be able to do 1,000 from one machine.&amp;nbsp; Plus Dynatrace attempts to run all 1,000 in the same 1 minute interval, you can't stagger them or anything. We then split the ping checks across multiple ActiveGates.&amp;nbsp; It bought us some time but we were still having isssues with the Dyntrace 1 minute run cycles.&lt;/P&gt;&lt;P&gt;[NOTE: I've used two other monitoring technologies for Ping checks and they too require multiple host systems to run to handle the large quantity.&amp;nbsp; Nagios though had the best solution because you can put the nagios script on each host you want to check and have the host ping a single mothership and send the results to your monitoring aggregator.&amp;nbsp; This works well because there is no, one host to handle all ping checks]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Dynatrace Extensions 1.0 screens made it impossible to manage the 1,000's we had.&amp;nbsp;&amp;nbsp;If one had a problem you had to manually go through multiple pages, which isn't even in alphabetical order, to find the instance.&amp;nbsp; We built a custom Admin Interfaces in NodeRed to mange the CRUD via API calls.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We then hit the MAX of synthetics permitted by DT in a SaaS tenant.&amp;nbsp; They extended this for us once we brought it to their attention.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment we have just 400 or so ping checks. We're no longer having unreliable monitoring and for the most part can use the clunky DT UI to manage them.&amp;nbsp; So, as long as you're just doing a few 100 you'll be ok. But a few 1,000, for us, wasn't manageable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 19:01:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/214752#M3095</guid>
      <dc:creator>ct_27</dc:creator>
      <dc:date>2023-06-12T19:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Port and Ping test - add multiple tests</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/214753#M3096</link>
      <description>&lt;P&gt;We are looking to create out of the box functionality for ping and port tests which scale much better. Keep your ears open later this year or so &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 19:08:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/214753#M3096</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2023-06-12T19:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Port and Ping test - add multiple tests</title>
      <link>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/214754#M3097</link>
      <description>&lt;P&gt;I completely understand the limits as this is encountered where I'm currently at.&amp;nbsp; I prefer using the API but creating a new endpoint for the extension either in the UI or by using the API could be painful if done manually one instance at a time.&amp;nbsp; The blog post about the Extensions API makes reference to a mass update but I didn't see it even after reading it a few times.&amp;nbsp; I'm thinking of some type of Postman script.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 19:09:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Synthetic-Port-and-Ping-test-add-multiple-tests/m-p/214754#M3097</guid>
      <dc:creator>bill_scheuernst</dc:creator>
      <dc:date>2023-06-12T19:09:26Z</dc:date>
    </item>
  </channel>
</rss>

