<?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 Triggering script on Health rule violation - Real time use cases in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Triggering-script-on-Health-rule-violation-Real-time-use-cases/m-p/719684#M1644</link>
    <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;Recently I got to know about a feature in AppDynamics where we can trigger scripts on a HR violation.&lt;/P&gt;&lt;P&gt;I am really excited to use this functionality for our project. I am looking for some real time use cases where this has been implemented and has resolved a great problem.&lt;/P&gt;&lt;P&gt;1. Currently I have written a script where I will be restarting an application when ever it goes down (App Availability HR get violated). This has been working successfully.&lt;/P&gt;&lt;P&gt;2. I have also written a script to purge the old logs when disk space utilization goes above certain threshold. This works fine as well.&lt;/P&gt;&lt;P&gt;I am looking for some other use cases where this has been used or can be used. It would be really great if I can get suggestions and ideas on this.&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Saad.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2022 19:16:45 GMT</pubDate>
    <dc:creator>saad</dc:creator>
    <dc:date>2022-10-17T19:16:45Z</dc:date>
    <item>
      <title>Triggering script on Health rule violation - Real time use cases</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Triggering-script-on-Health-rule-violation-Real-time-use-cases/m-p/719684#M1644</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;Recently I got to know about a feature in AppDynamics where we can trigger scripts on a HR violation.&lt;/P&gt;&lt;P&gt;I am really excited to use this functionality for our project. I am looking for some real time use cases where this has been implemented and has resolved a great problem.&lt;/P&gt;&lt;P&gt;1. Currently I have written a script where I will be restarting an application when ever it goes down (App Availability HR get violated). This has been working successfully.&lt;/P&gt;&lt;P&gt;2. I have also written a script to purge the old logs when disk space utilization goes above certain threshold. This works fine as well.&lt;/P&gt;&lt;P&gt;I am looking for some other use cases where this has been used or can be used. It would be really great if I can get suggestions and ideas on this.&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Saad.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 19:16:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Triggering-script-on-Health-rule-violation-Real-time-use-cases/m-p/719684#M1644</guid>
      <dc:creator>saad</dc:creator>
      <dc:date>2022-10-17T19:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering script on Health rule violation - Real time use cases</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Triggering-script-on-Health-rule-violation-Real-time-use-cases/m-p/719685#M1645</link>
      <description>&lt;P&gt;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/157247"&gt;@Saad.Ahmed&lt;/A&gt;&amp;nbsp;,&amp;nbsp;AppDynamics has a feature to configure an action to run Remediation Scripts.&amp;nbsp; Here are some real-time use cases where a script can be triggered on a Health Rule violation:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;CPU utilization: Trigger a script to analyze the processes that are consuming CPU resources and optimize the system.&lt;/LI&gt;
&lt;LI&gt;Memory usage: Trigger a script to analyze the memory usage and take appropriate actions such as garbage collection or memory optimizations.&lt;/LI&gt;
&lt;LI&gt;Network latency: Trigger a script to analyze network latency and take appropriate actions such as network optimizations or switching to alternative communication protocols.&lt;/LI&gt;
&lt;LI&gt;Database connectivity: Trigger a script to run diagnostics to identify and fix connectivity issues.&lt;/LI&gt;
&lt;LI&gt;Automatic scaling:&amp;nbsp; Trigger a script to scale up or down resources based on health rule violations whenever the tool detects a high traffic load on a web server.&lt;/LI&gt;
&lt;LI&gt;Garbage collection: Trigger a script to analyze the garbage collection patterns and take appropriate actions such as optimizing memory usage.&lt;/LI&gt;
&lt;LI&gt;Security breaches: Trigger a script to alert the security team and take appropriate actions such as blocking the attacker's IP address.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Let me know your thoughts.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Sunil Agarwal&lt;/P&gt;

&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2023 05:42:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Triggering-script-on-Health-rule-violation-Real-time-use-cases/m-p/719685#M1645</guid>
      <dc:creator>Sunil_Agarwal</dc:creator>
      <dc:date>2023-03-25T05:42:55Z</dc:date>
    </item>
  </channel>
</rss>

