<?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: How to extract 'restart pending' processes list from Deployment status page? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-restart-pending-processes-list-from-Deployment/m-p/114456#M9507</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I am mnot sure it is published out &lt;/P&gt;&lt;P&gt;but you have to study API docs &lt;A href="https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/"&gt;https://www.dynatrace.com/support/help/extend-dyna...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards, Igor&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 23 Feb 2019 17:51:38 GMT</pubDate>
    <dc:creator>imoskovko1</dc:creator>
    <dc:date>2019-02-23T17:51:38Z</dc:date>
    <item>
      <title>How to extract 'restart pending' processes list from Deployment status page?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-restart-pending-processes-list-from-Deployment/m-p/114455#M9506</link>
      <description>&lt;P&gt;Scenario -&amp;gt; I'm on deployment status page. We are done with all agents update activity. Now I want to send all these server names and respective 'restart pending' processes to a different team. Pls advise how to do it. I don't want to expand each server and manually copy-paste the processes to a text editor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 10:59:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-restart-pending-processes-list-from-Deployment/m-p/114455#M9506</guid>
      <dc:creator>skanchalwar2</dc:creator>
      <dc:date>2021-12-13T10:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract 'restart pending' processes list from Deployment status page?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-restart-pending-processes-list-from-Deployment/m-p/114456#M9507</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I am mnot sure it is published out &lt;/P&gt;&lt;P&gt;but you have to study API docs &lt;A href="https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/"&gt;https://www.dynatrace.com/support/help/extend-dyna...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards, Igor&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 23 Feb 2019 17:51:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-restart-pending-processes-list-from-Deployment/m-p/114456#M9507</guid>
      <dc:creator>imoskovko1</dc:creator>
      <dc:date>2019-02-23T17:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract 'restart pending' processes list from Deployment status page?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-restart-pending-processes-list-from-Deployment/m-p/114457#M9508</link>
      <description>&lt;P&gt;Fresh info here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/spaces/482/dynatrace-open-qa/questions/192233/dynatrace-managed-alert-on-hostprocess-needs-to-be.html" target="_blank"&gt;https://community.dynatrace.com/spaces/482/dynatrace-open-qa/questions/192233/dynatrace-managed-alert-on-hostprocess-needs-to-be.html&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Oct 2023 14:47:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-restart-pending-processes-list-from-Deployment/m-p/114457#M9508</guid>
      <dc:creator>imoskovko1</dc:creator>
      <dc:date>2023-10-16T14:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract 'restart pending' processes list from Deployment status page?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-restart-pending-processes-list-from-Deployment/m-p/114458#M9509</link>
      <description>&lt;P&gt;You need to build code to query Topology Smartscape Processes API and there you got and example answer like this &lt;A href="https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment/topology-and-smartscape-api/topology-smartscape-api-processes/#expand-1098example"&gt;https://www.dynatrace.com/support/help/extend-dyna...&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;"monitoringState": {&lt;BR /&gt;            "actualMonitoringState": "ON",&lt;BR /&gt;            "expectedMonitoringState": "ON",&lt;BR /&gt;	    "restartRequired": false&lt;BR /&gt;        },&lt;/PRE&gt;&lt;P&gt;Then you can process restartRequired parameter and check which ones are &lt;STRONG&gt;true.&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 24 Feb 2019 22:36:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-restart-pending-processes-list-from-Deployment/m-p/114458#M9509</guid>
      <dc:creator>jortiz</dc:creator>
      <dc:date>2019-02-24T22:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract 'restart pending' processes list from Deployment status page?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-restart-pending-processes-list-from-Deployment/m-p/114459#M9510</link>
      <description>&lt;P&gt;Here is a "2-liner " using curl and jq, just set the TENANT and APITOKEN environment variables:&lt;/P&gt;&lt;PRE&gt;curl -X GET "https://$TENANT/api/v1/entity/infrastructure/hosts?relativeTime=day&amp;amp;Api-Token=$APITOKEN" -H "accept: application/json; charset=utf-8" |jq -s '.[]| map({(.entityId): .displayName})|add' &amp;gt;hostsmap&lt;BR /&gt;curl -X GET "https://$TENANT/api/v1/entity/infrastructure/processes?relativeTime=day&amp;amp;Api-Token=$APITOKEN"| jq -s '.[][]|select ( .monitoringState.restartRequired==true )| .fromRelationships.isProcessOf[0]|=$hosts[.] | { "hostname" : .fromRelationships.isProcessOf[0], "processName": .displayName }' --argfile hosts hostsmap&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Feb 2019 07:30:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-restart-pending-processes-list-from-Deployment/m-p/114459#M9510</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2019-02-25T07:30:31Z</dc:date>
    </item>
  </channel>
</rss>

