<?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: State field for Process Group in Host Overview in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274123#M36198</link>
    <description>&lt;P&gt;Correct!&amp;nbsp; &amp;nbsp; They are very happy with the Notebook.&amp;nbsp; &amp;nbsp; Alerting will be the next discussion.&amp;nbsp; &amp;nbsp; The customer is just starting to look at workflows.&amp;nbsp; &amp;nbsp; But I did give them a good overview of what we would require and next steps.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Apr 2025 18:12:26 GMT</pubDate>
    <dc:creator>jerry_lobenstei</dc:creator>
    <dc:date>2025-04-01T18:12:26Z</dc:date>
    <item>
      <title>State field for Process Group in Host Overview</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/273991#M36176</link>
      <description>&lt;DIV class=""&gt;Hello Team,&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&amp;nbsp; There are at least half a dozen Icons with a messages that shows up here on Processes in the Host Overview.&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;I have seen variations of messages that are associated to processes, but most recently a couple around Host Group issues.&amp;nbsp;&amp;nbsp;&amp;nbsp; Other than seeing them in the UI.&amp;nbsp; I had no idea they existed unless I ran across them looking at the host overview.&amp;nbsp; &amp;nbsp;I am trying to see if these events are tracked and stored anywhere?&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;I would like to be able to report or alert when these types of things when they occur.&amp;nbsp; In these two cases the agent is installed and injected and gathering data, its just stating inconsistency with host groups.&amp;nbsp; I am looking at reporting on a few of the other status issues that are available.&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;Where is this message coming from?&lt;/DIV&gt;
&lt;UL class=""&gt;
&lt;LI&gt;I can't find it in the OneAgent Logs.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;I can't find it in the OneAgent or Process Logs&lt;/LI&gt;
&lt;LI&gt;I don't see a way to get it using the &lt;STRONG&gt;OneAgent CTL Utility&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;I don' see a way to get it via the &lt;STRONG&gt;API&lt;/STRONG&gt; (State ?)&lt;/LI&gt;
&lt;LI&gt;I don't see it in Process, PGI, Entity or Events in any of the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Grail data&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;I don't see it in the OneAgent Health Overview&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;(State ?)&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;I don't see it in the system events&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV class=""&gt;&lt;STRONG&gt;* It seems like this value is in the Tenant or backend hosting somewhere, but not anywhere else but in the WebUI.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;The field is:&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; State&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;is anyone&amp;nbsp;aware of this icon/message and who knows where this data may be kept; any kind of information about it.&amp;nbsp; &amp;nbsp;Even better yet will it be in GRAIL?&amp;nbsp; It would be nice to have this &lt;STRONG&gt;state&lt;/STRONG&gt; field to be able to use DQL on when pulling up OneAgent PG and PGI status.&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Apr 2025 06:50:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/273991#M36176</guid>
      <dc:creator>jerry_lobenstei</dc:creator>
      <dc:date>2025-04-01T06:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: State field for Process Group in Host Overview</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274043#M36187</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As far as I know the only possibility to gather this information is API call to /api/v2/entities (&lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/entity-v2/get-entities-list" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/entity-v2/get-entities-list&lt;/A&gt;). You can filter the data using entitySelector in order to get only process group instances. So I recommend to create a workflow with the JS step that makes an api call, procesess data and then creates an event.&lt;/P&gt;&lt;P&gt;Best Regards&lt;BR /&gt;Patryk&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 10:25:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274043#M36187</guid>
      <dc:creator>patryk_ozimek2</dc:creator>
      <dc:date>2025-04-01T10:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: State field for Process Group in Host Overview</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274062#M36188</link>
      <description>&lt;P&gt;The Problem here is I think this data is coming form the platform itself and not being exposed to the API pushed into EVENTS.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You won't see the values from the State field anywhere in the API output.&amp;nbsp; &amp;nbsp;The only data you get is:&amp;nbsp;&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;Health state (HEALTHY, UNHEALTHY):&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;healthState("HEALTHY")&lt;/LI&gt;&lt;LI&gt;Similar data can be found in the&amp;nbsp;&lt;SPAN&gt;OneAgent health overview&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 01 Apr 2025 12:39:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274062#M36188</guid>
      <dc:creator>jerry_lobenstei</dc:creator>
      <dc:date>2025-04-01T12:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: State field for Process Group in Host Overview</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274084#M36189</link>
      <description>&lt;P&gt;First API call:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -X 'GET' \
  'https://{environmentid}.live.dynatrace.com/api/v2/entities?entitySelector=type%28%22PROCESS_GROUP_INSTANCE%22%29' \
  -H 'accept: application/json; charset=utf-8' \
  -H 'Authorization: Api-Token &amp;lt;token&amp;gt;’&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Then you iterate through all entityId from the response:&lt;/P&gt;&lt;P&gt;Make API call&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -X 'GET' \
  'https://{environmentid}.live.dynatrace.com/api/v2/monitoringstate?entitySelector=entityId%28%22PROCESS_GROUP_INSTANCE-&amp;lt;id&amp;gt;%22%29' \
  -H 'accept: application/json; charset=utf-8' \
  -H 'Authorization: Api-Token &amp;lt;token&amp;gt;’&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;And in the response you will see for example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  "totalCount": 1,
  "monitoringStates": [
    {
      "entityId": "PROCESS_GROUP_INSTANCE-&amp;lt;id&amp;gt;”,
      "state": "restart_required",
      "severity": "warning",
      "params": [
        {
          "key": "pids",
          "values": ""
        }
      ]
    }
  ],
  "pageSize": 500
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;The whole flow can be executed in the &lt;A href="https://docs.dynatrace.com/docs/analyze-explore-automate/workflows/quickstart" target="_self"&gt;Dynatrace Workflow&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best Regards&lt;BR /&gt;Patryk&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 13:47:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274084#M36189</guid>
      <dc:creator>patryk_ozimek2</dc:creator>
      <dc:date>2025-04-01T13:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: State field for Process Group in Host Overview</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274117#M36195</link>
      <description>&lt;P&gt;I must of typed something wrong.&amp;nbsp; Then I thought it could it be because I am trying this on a Process running in a POD/Container?&amp;nbsp; &amp;nbsp;But I got it to work.&amp;nbsp; &amp;nbsp;Thanks for the assistance.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV&gt;&lt;H5&gt;Response body&lt;/H5&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;Download&lt;PRE&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;  &lt;SPAN class=""&gt;"totalCount"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;  &lt;SPAN class=""&gt;"monitoringStates"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;    {
      &lt;SPAN class=""&gt;"entityId"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"PROCESS_GROUP_INSTANCE-CCC9F0446F895C6A"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;      &lt;SPAN class=""&gt;"state"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"agent_injection_suppression"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;      &lt;SPAN class=""&gt;"severity"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"info"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;      &lt;SPAN class=""&gt;"params"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;        {
          &lt;SPAN class=""&gt;"key"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"reason"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;          &lt;SPAN class=""&gt;"values"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"statically_linked_go_injection_disabled"&lt;/SPAN&gt;
        }
      ]
    }
  ],
  &lt;SPAN class=""&gt;"pageSize"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;500&lt;/SPAN&gt;
}&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 17:02:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274117#M36195</guid>
      <dc:creator>jerry_lobenstei</dc:creator>
      <dc:date>2025-04-01T17:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: State field for Process Group in Host Overview</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274121#M36196</link>
      <description>&lt;P&gt;I also found it can be run a Notebook using the Code feature.&amp;nbsp; &amp;nbsp;You can run the JavaScript and call the API and process it within the notebook and produce the tables results.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 17:54:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274121#M36196</guid>
      <dc:creator>jerry_lobenstei</dc:creator>
      <dc:date>2025-04-01T17:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: State field for Process Group in Host Overview</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274122#M36197</link>
      <description>&lt;P&gt;It is true but you wanted to create an alert based on this data and it can be done only in the workflows&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 17:56:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274122#M36197</guid>
      <dc:creator>patryk_ozimek2</dc:creator>
      <dc:date>2025-04-01T17:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: State field for Process Group in Host Overview</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274123#M36198</link>
      <description>&lt;P&gt;Correct!&amp;nbsp; &amp;nbsp; They are very happy with the Notebook.&amp;nbsp; &amp;nbsp; Alerting will be the next discussion.&amp;nbsp; &amp;nbsp; The customer is just starting to look at workflows.&amp;nbsp; &amp;nbsp; But I did give them a good overview of what we would require and next steps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 18:12:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/State-field-for-Process-Group-in-Host-Overview/m-p/274123#M36198</guid>
      <dc:creator>jerry_lobenstei</dc:creator>
      <dc:date>2025-04-01T18:12:26Z</dc:date>
    </item>
  </channel>
</rss>

