<?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 do I setup an email alert for a particular server when the SQL Server &amp; SQL Agent services is down? in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-do-I-setup-an-email-alert-for-a-particular-server-when-the/m-p/719925#M1763</link>
    <description>&lt;P data-pm-slice="1 1 []"&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/166178"&gt;@aina.rahman&lt;/A&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for posting on community. To monitor the SQL Server and SQL Agent services and set up email alerts when they are down,&lt;BR /&gt;you can follow these steps:&lt;/P&gt;
&lt;OL class="ak-ol" start="1"&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Enable the Email Server&lt;/STRONG&gt; if not yet set up.&lt;BR /&gt;&amp;nbsp;steps to&amp;nbsp;&lt;A href="https://docs.appdynamics.com/appd/24.x/24.7/en/cisco-appdynamics-essentials/getting-started/controller-tenant-overview-and-administration/enable-the-email-server" target="_blank" rel="nofollow noopener noreferrer"&gt;&amp;nbsp;Enable the Email Server&lt;/A&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Set up Related Health Rules, Policies, and Actions to Monitor Services&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;for &lt;STRONG&gt;SQL Server Monitoring,&lt;/STRONG&gt; utilize AppDynamics Database Agent:&lt;BR /&gt;&lt;A href="https://docs.appdynamics.com/appd/24.x/24.7/en/database-visibility/administer-the-database-agent/install-the-database-agent" target="_blank" rel="nofollow noopener noreferrer"&gt;Install Database Agent&lt;BR /&gt;&lt;/A&gt;&lt;A href="https://docs.appdynamics.com/appd/24.x/24.7/en/database-visibility/monitor-databases-and-database-servers/database-health-rules-and-alerts" target="_blank" rel="nofollow noopener noreferrer"&gt;Monitor Databases and Database Servers&lt;BR /&gt;&lt;/A&gt;&lt;STRONG&gt;Steps&lt;/STRONG&gt;:&lt;BR /&gt;Set Health Rule: On Controller &amp;gt; Databases &amp;gt; Alert &amp;amp; Respond, configure a health rule. Use the metric DB|KPI|Database Availability to monitor whether the SQL Server is running.&lt;/P&gt;
&lt;DIV data-node-type="mediaSingle" data-layout="center" data-width=""&gt;
&lt;DIV title="Attachment" data-id="" data-node-type="media" data-type="external" data-collection="" data-width="2376" data-height="1504" data-url="https://trello.com/1/cards/66a0551649c96950d7cdd5f8/attachments/66a9bd9605bf9e479dec1168/download/Pasted_Graphic_14.png" data-alt=""&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-07-31 at 10.16.29.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35545i9A9B5A9B3B7071BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV data-node-type="mediaSingle" data-layout="center" data-width=""&gt;
&lt;DIV title="Attachment" data-id="" data-node-type="media" data-type="external" data-collection="" data-width="1212" data-height="1138" data-url="https://trello.com/1/cards/66a0551649c96950d7cdd5f8/attachments/66a9bda5fd08f3a744ed2a6c/download/Metric_Selection.png" data-alt=""&gt; &lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-07-31 at 10.16.42.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35544iBFFF099F02174062/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;
&lt;P&gt; &lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Set Policies: &lt;STRONG&gt;Policies&lt;/STRONG&gt;: On Controller &amp;gt; Alert &amp;amp; Respond &amp;gt; Policies, create a new policy. Set the Trigger, Health Rule Scope, and Actions. Add action and configure email to specify where to send alert emails.&lt;/P&gt;
&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-07-31 at 10.17.18.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35548iF82F86981EAB84E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;
&lt;P&gt; &lt;/P&gt;
&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-07-31 at 10.18.24.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35551iC615AA2E9C0E04C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;
&lt;P&gt; &lt;/P&gt;
&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35546iF94DBCD744BF5A07/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;
&lt;P&gt;By following these steps, I received email alerts when health rules are violated (SQL server down/SQL server stopped).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;SQL Server Agent Monitoring,&lt;/STRONG&gt;&lt;SPAN&gt; utilize AppDynamics Machine Agent. AppDynamics Machine Agent can monitor processes on server.&lt;BR /&gt;&lt;/SPAN&gt;&lt;A style="font-family: inherit;" href="https://docs.appdynamics.com/appd/24.x/24.7/en/infrastructure-visibility/machine-agent/machine-agent-requirements-and-supported-environments" target="_blank" rel="nofollow noopener noreferrer"&gt;Machine Agent&lt;/A&gt;&lt;BR /&gt;&lt;A style="font-family: inherit;" href="https://docs.appdynamics.com/appd/24.x/24.7/en/infrastructure-visibility/server-visibility/monitor-your-servers-using-server-visibility/server-process-metrics" target="_blank" rel="nofollow noopener noreferrer"&gt;Server Process Metrics&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="font-family: inherit;"&gt;Steps&lt;/STRONG&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Set up health rule, policy, and action similarly to the database agent above. Notes: When setting up the health rules, under Affected Entities, select Custom Health Rule Type to set process metrics such as memory usage or count in the Critical/Warning area.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-07-31 at 10.27.31.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35557i96B8247F003816FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;By following these steps, I received email alerts when the SQL Agent service is down.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;Other Monitoring Alternatives&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Below are some possible alternatives to monitor your windows services status:&lt;/P&gt;
&lt;OL class="ak-ol" start="1"&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;.NET Agent Extension&lt;BR /&gt;&lt;/STRONG&gt;.NET Agent extension to monitor windows services. &lt;STRONG&gt;Reference&lt;/STRONG&gt;: &lt;A href="https://developer.cisco.com/codeexchange/github/repo/Appdynamics/DotNetAgentExtensionManager" target="_blank" rel="nofollow noopener noreferrer"&gt;.NET Agent Extension Documentation&lt;/A&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Write your own Machine Agent Extension&lt;BR /&gt;&lt;/STRONG&gt;Machine Agent for custom monitoring of services.　&lt;STRONG&gt;Reference&lt;/STRONG&gt;: &lt;A href="https://docs.appdynamics.com/appd/24.x/latest/en/infrastructure-visibility/machine-agent/extensions-and-custom-metrics/build-a-monitoring-extension-using-scripts" target="_blank" rel="nofollow noopener noreferrer"&gt;Machine Agent Documentation&lt;/A&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Hope this help.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Martina&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 04:46:19 GMT</pubDate>
    <dc:creator>MARTINA_MELIAN1</dc:creator>
    <dc:date>2024-07-31T04:46:19Z</dc:date>
    <item>
      <title>How do I setup an email alert for a particular server when the SQL Server &amp; SQL Agent services is down?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-do-I-setup-an-email-alert-for-a-particular-server-when-the/m-p/719924#M1762</link>
      <description>&lt;P&gt;&lt;FONT size="4"&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;
&lt;H1 id="toc-hId-477865328"&gt;&lt;FONT size="4"&gt;What are the steps for setting up an email alert when SQL Server and SQL Agent services is down?&lt;/FONT&gt;&lt;/H1&gt;</description>
      <pubDate>Tue, 07 Nov 2023 06:58:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-do-I-setup-an-email-alert-for-a-particular-server-when-the/m-p/719924#M1762</guid>
      <dc:creator>aina_rahman</dc:creator>
      <dc:date>2023-11-07T06:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I setup an email alert for a particular server when the SQL Server &amp; SQL Agent services is down?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-do-I-setup-an-email-alert-for-a-particular-server-when-the/m-p/719925#M1763</link>
      <description>&lt;P data-pm-slice="1 1 []"&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/166178"&gt;@aina.rahman&lt;/A&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for posting on community. To monitor the SQL Server and SQL Agent services and set up email alerts when they are down,&lt;BR /&gt;you can follow these steps:&lt;/P&gt;
&lt;OL class="ak-ol" start="1"&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Enable the Email Server&lt;/STRONG&gt; if not yet set up.&lt;BR /&gt;&amp;nbsp;steps to&amp;nbsp;&lt;A href="https://docs.appdynamics.com/appd/24.x/24.7/en/cisco-appdynamics-essentials/getting-started/controller-tenant-overview-and-administration/enable-the-email-server" target="_blank" rel="nofollow noopener noreferrer"&gt;&amp;nbsp;Enable the Email Server&lt;/A&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Set up Related Health Rules, Policies, and Actions to Monitor Services&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;for &lt;STRONG&gt;SQL Server Monitoring,&lt;/STRONG&gt; utilize AppDynamics Database Agent:&lt;BR /&gt;&lt;A href="https://docs.appdynamics.com/appd/24.x/24.7/en/database-visibility/administer-the-database-agent/install-the-database-agent" target="_blank" rel="nofollow noopener noreferrer"&gt;Install Database Agent&lt;BR /&gt;&lt;/A&gt;&lt;A href="https://docs.appdynamics.com/appd/24.x/24.7/en/database-visibility/monitor-databases-and-database-servers/database-health-rules-and-alerts" target="_blank" rel="nofollow noopener noreferrer"&gt;Monitor Databases and Database Servers&lt;BR /&gt;&lt;/A&gt;&lt;STRONG&gt;Steps&lt;/STRONG&gt;:&lt;BR /&gt;Set Health Rule: On Controller &amp;gt; Databases &amp;gt; Alert &amp;amp; Respond, configure a health rule. Use the metric DB|KPI|Database Availability to monitor whether the SQL Server is running.&lt;/P&gt;
&lt;DIV data-node-type="mediaSingle" data-layout="center" data-width=""&gt;
&lt;DIV title="Attachment" data-id="" data-node-type="media" data-type="external" data-collection="" data-width="2376" data-height="1504" data-url="https://trello.com/1/cards/66a0551649c96950d7cdd5f8/attachments/66a9bd9605bf9e479dec1168/download/Pasted_Graphic_14.png" data-alt=""&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-07-31 at 10.16.29.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35545i9A9B5A9B3B7071BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV data-node-type="mediaSingle" data-layout="center" data-width=""&gt;
&lt;DIV title="Attachment" data-id="" data-node-type="media" data-type="external" data-collection="" data-width="1212" data-height="1138" data-url="https://trello.com/1/cards/66a0551649c96950d7cdd5f8/attachments/66a9bda5fd08f3a744ed2a6c/download/Metric_Selection.png" data-alt=""&gt; &lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-07-31 at 10.16.42.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35544iBFFF099F02174062/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;
&lt;P&gt; &lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Set Policies: &lt;STRONG&gt;Policies&lt;/STRONG&gt;: On Controller &amp;gt; Alert &amp;amp; Respond &amp;gt; Policies, create a new policy. Set the Trigger, Health Rule Scope, and Actions. Add action and configure email to specify where to send alert emails.&lt;/P&gt;
&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-07-31 at 10.17.18.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35548iF82F86981EAB84E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;
&lt;P&gt; &lt;/P&gt;
&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-07-31 at 10.18.24.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35551iC615AA2E9C0E04C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;
&lt;P&gt; &lt;/P&gt;
&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35546iF94DBCD744BF5A07/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;
&lt;P&gt;By following these steps, I received email alerts when health rules are violated (SQL server down/SQL server stopped).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;SQL Server Agent Monitoring,&lt;/STRONG&gt;&lt;SPAN&gt; utilize AppDynamics Machine Agent. AppDynamics Machine Agent can monitor processes on server.&lt;BR /&gt;&lt;/SPAN&gt;&lt;A style="font-family: inherit;" href="https://docs.appdynamics.com/appd/24.x/24.7/en/infrastructure-visibility/machine-agent/machine-agent-requirements-and-supported-environments" target="_blank" rel="nofollow noopener noreferrer"&gt;Machine Agent&lt;/A&gt;&lt;BR /&gt;&lt;A style="font-family: inherit;" href="https://docs.appdynamics.com/appd/24.x/24.7/en/infrastructure-visibility/server-visibility/monitor-your-servers-using-server-visibility/server-process-metrics" target="_blank" rel="nofollow noopener noreferrer"&gt;Server Process Metrics&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="font-family: inherit;"&gt;Steps&lt;/STRONG&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Set up health rule, policy, and action similarly to the database agent above. Notes: When setting up the health rules, under Affected Entities, select Custom Health Rule Type to set process metrics such as memory usage or count in the Critical/Warning area.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-07-31 at 10.27.31.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35557i96B8247F003816FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;By following these steps, I received email alerts when the SQL Agent service is down.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;Other Monitoring Alternatives&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Below are some possible alternatives to monitor your windows services status:&lt;/P&gt;
&lt;OL class="ak-ol" start="1"&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;.NET Agent Extension&lt;BR /&gt;&lt;/STRONG&gt;.NET Agent extension to monitor windows services. &lt;STRONG&gt;Reference&lt;/STRONG&gt;: &lt;A href="https://developer.cisco.com/codeexchange/github/repo/Appdynamics/DotNetAgentExtensionManager" target="_blank" rel="nofollow noopener noreferrer"&gt;.NET Agent Extension Documentation&lt;/A&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Write your own Machine Agent Extension&lt;BR /&gt;&lt;/STRONG&gt;Machine Agent for custom monitoring of services.　&lt;STRONG&gt;Reference&lt;/STRONG&gt;: &lt;A href="https://docs.appdynamics.com/appd/24.x/latest/en/infrastructure-visibility/machine-agent/extensions-and-custom-metrics/build-a-monitoring-extension-using-scripts" target="_blank" rel="nofollow noopener noreferrer"&gt;Machine Agent Documentation&lt;/A&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Hope this help.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Martina&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 04:46:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-do-I-setup-an-email-alert-for-a-particular-server-when-the/m-p/719925#M1763</guid>
      <dc:creator>MARTINA_MELIAN1</dc:creator>
      <dc:date>2024-07-31T04:46:19Z</dc:date>
    </item>
  </channel>
</rss>

