<?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: DQL to Get specific process in availability monitoring on multiple Host in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DQL-to-Get-specific-process-in-availability-monitoring-on/m-p/272094#M1786</link>
    <description>&lt;P&gt;Hey!&lt;BR /&gt;That is not a very straight-forward thing to accomplish, as the process availability monitoring is set through the settings 2.0 and is not a property of a process. There is one thing you could potentially do through DQL - you can look for events that were created when the settings were changed - there is a limitation that you would only be able to get settings that were touched since mid 2024.&lt;/P&gt;&lt;P&gt;Query would look something like this to start with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;fetch dt.system.events
| filter event.kind == "AUDIT_EVENT"
| filter event.provider == "SETTINGS"
| filter details.dt.settings.schema_id == "builtin:availability.process-group-alerting"
| sort timestamp desc&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;There you'd be interested in the&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;details.json_after &lt;/EM&gt;&lt;/STRONG&gt;to see what was the change made (either disabling/enabling)&amp;nbsp;and&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;details.dt.settings.scope_id&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;where you would find the process group that was changed.&lt;BR /&gt;&lt;BR /&gt;Other than that, I believe environment API v2 has an endpoint that could help you accomplish a similar result but it wouldn't be through DQL.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 12:17:06 GMT</pubDate>
    <dc:creator>PiotrG</dc:creator>
    <dc:date>2025-03-11T12:17:06Z</dc:date>
    <item>
      <title>DQL to Get specific process in availability monitoring on multiple Host</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-to-Get-specific-process-in-availability-monitoring-on/m-p/268449#M1641</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I have a requirement to pull down a specific process kept in availability monitoring on my environment and wanted to generate a report and gather info that on which machine availability monitoring is enabled for this specific process. Is this possible to get the data from DQL??&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EX: Host&amp;nbsp; A, Process xyz --&amp;gt; getting monitored for availability alerts&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Host&amp;nbsp; B, Process xyz --&amp;gt; getting monitored for availability alerts&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Host&amp;nbsp; C, Process xyz --&amp;gt; Not enabled&amp;nbsp; for availability alerts&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 07:00:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-to-Get-specific-process-in-availability-monitoring-on/m-p/268449#M1641</guid>
      <dc:creator>Dest-Roh</dc:creator>
      <dc:date>2025-01-28T07:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: DQL to Get specific process in availability monitoring on multiple Host</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-to-Get-specific-process-in-availability-monitoring-on/m-p/272094#M1786</link>
      <description>&lt;P&gt;Hey!&lt;BR /&gt;That is not a very straight-forward thing to accomplish, as the process availability monitoring is set through the settings 2.0 and is not a property of a process. There is one thing you could potentially do through DQL - you can look for events that were created when the settings were changed - there is a limitation that you would only be able to get settings that were touched since mid 2024.&lt;/P&gt;&lt;P&gt;Query would look something like this to start with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;fetch dt.system.events
| filter event.kind == "AUDIT_EVENT"
| filter event.provider == "SETTINGS"
| filter details.dt.settings.schema_id == "builtin:availability.process-group-alerting"
| sort timestamp desc&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;There you'd be interested in the&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;details.json_after &lt;/EM&gt;&lt;/STRONG&gt;to see what was the change made (either disabling/enabling)&amp;nbsp;and&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;details.dt.settings.scope_id&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;where you would find the process group that was changed.&lt;BR /&gt;&lt;BR /&gt;Other than that, I believe environment API v2 has an endpoint that could help you accomplish a similar result but it wouldn't be through DQL.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 12:17:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-to-Get-specific-process-in-availability-monitoring-on/m-p/272094#M1786</guid>
      <dc:creator>PiotrG</dc:creator>
      <dc:date>2025-03-11T12:17:06Z</dc:date>
    </item>
  </channel>
</rss>

