<?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: Custom Alerting - BatchJob Method Innvocation Count in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Custom-Alerting-BatchJob-Method-Innvocation-Count/m-p/163197#M2199</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/28206"&gt;@shahrukh_niazi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the maintenance windows for this purpose.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/problem-detection-and-analysis/notifications-and-alerting/maintenance-windows/" target="_blank"&gt;https://www.dynatrace.com/support/help/how-to-use-dynatrace/problem-detection-and-analysis/notifications-and-alerting/maintenance-windows/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;</description>
    <pubDate>Sun, 21 Mar 2021 05:36:53 GMT</pubDate>
    <dc:creator>Babar_Qayyum</dc:creator>
    <dc:date>2021-03-21T05:36:53Z</dc:date>
    <item>
      <title>Custom Alerting - BatchJob Method Innvocation Count</title>
      <link>https://community.dynatrace.com/t5/Alerting/Custom-Alerting-BatchJob-Method-Innvocation-Count/m-p/163127#M2195</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have defined my Batchjobs as a key service&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have 3 Batchjobs,&lt;/P&gt;
&lt;P&gt;(1) runs/hour&lt;/P&gt;
&lt;P&gt;(2) runs/24hour and&lt;/P&gt;
&lt;P&gt;the 3rd one runs/week&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All i want is to be alerted if the Batchjobs method invocation is &amp;lt;1,&amp;nbsp; does not get executed in an hour or in 24 Hours &amp;amp; in the 3rd case once a week&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If BatchJob() count is below &amp;lt;1 in an hour, raise an alert ...This would tell me the BatchJob has not executed in its pre defined execution times&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this even possible in custom alerting? how ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I treid using RequestCount&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but looks like its averging the count which is not i want&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as the average value is below 1 ...looks like its throughput/min&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All i am looking for is when method innvocation count is &amp;lt;1 for more than 24 hours, fire an email alert&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 11:28:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Custom-Alerting-BatchJob-Method-Innvocation-Count/m-p/163127#M2195</guid>
      <dc:creator>shahrukh_niazi</dc:creator>
      <dc:date>2021-05-11T11:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Alerting - BatchJob Method Innvocation Count</title>
      <link>https://community.dynatrace.com/t5/Alerting/Custom-Alerting-BatchJob-Method-Innvocation-Count/m-p/163193#M2197</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/28206"&gt;@shahrukh_niazi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can create a&amp;nbsp;Multidimensional analysis for the key request with the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BabarQayyum_0-1616225093931.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/373i4F67E33241801C91/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BabarQayyum_0-1616225093931.png" alt="BabarQayyum_0-1616225093931.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then create a calculated metric.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BabarQayyum_1-1616225143747.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/374i91796111C7998229/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BabarQayyum_1-1616225143747.png" alt="BabarQayyum_1-1616225143747.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then&amp;nbsp;Create a custom event for alerting.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BabarQayyum_2-1616225385649.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/375iE858D5FB47F2B5E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BabarQayyum_2-1616225385649.png" alt="BabarQayyum_2-1616225385649.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then you can use this&amp;nbsp;custom event for alerting profile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;</description>
      <pubDate>Sat, 20 Mar 2021 07:32:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Custom-Alerting-BatchJob-Method-Innvocation-Count/m-p/163193#M2197</guid>
      <dc:creator>Babar_Qayyum</dc:creator>
      <dc:date>2021-03-20T07:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Alerting - BatchJob Method Innvocation Count</title>
      <link>https://community.dynatrace.com/t5/Alerting/Custom-Alerting-BatchJob-Method-Innvocation-Count/m-p/163195#M2198</link>
      <description>&lt;P&gt;Thanks Baber. That was it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have few BatchJobs that runs daily from 8am to 6pm.&amp;nbsp; They remain off on weekends and after 6pm business days. I doubt Dynatrace can map alerting based on the above conditions. Alert only during business hours if count &amp;lt;1&amp;nbsp; , or in some cases they run on Weekends only , one time on Saturday &amp;amp; once on weekend.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I doubt this alerting requirement can be mapped to Dynatrace alerting profile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Mar 2021 21:11:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Custom-Alerting-BatchJob-Method-Innvocation-Count/m-p/163195#M2198</guid>
      <dc:creator>shahrukh_niazi</dc:creator>
      <dc:date>2021-03-20T21:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Alerting - BatchJob Method Innvocation Count</title>
      <link>https://community.dynatrace.com/t5/Alerting/Custom-Alerting-BatchJob-Method-Innvocation-Count/m-p/163197#M2199</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/28206"&gt;@shahrukh_niazi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the maintenance windows for this purpose.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/problem-detection-and-analysis/notifications-and-alerting/maintenance-windows/" target="_blank"&gt;https://www.dynatrace.com/support/help/how-to-use-dynatrace/problem-detection-and-analysis/notifications-and-alerting/maintenance-windows/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;</description>
      <pubDate>Sun, 21 Mar 2021 05:36:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Custom-Alerting-BatchJob-Method-Innvocation-Count/m-p/163197#M2199</guid>
      <dc:creator>Babar_Qayyum</dc:creator>
      <dc:date>2021-03-21T05:36:53Z</dc:date>
    </item>
  </channel>
</rss>

