<?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 Database User Account Health Rule Setup in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Database-User-Account-Health-Rule-Setup/m-p/739794#M11591</link>
    <description>&lt;P&gt;Hoping this is the correct board to post this question.&amp;nbsp; I need help in setting up a health rule for our Oracle database so I can be alerted if one of our application user accounts get locked.&amp;nbsp; For the life of me I can't seem to find where I can define that.&amp;nbsp; Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;</description>
    <pubDate>Wed, 03 Feb 2021 16:31:48 GMT</pubDate>
    <dc:creator>Gregory_Barnes</dc:creator>
    <dc:date>2021-02-03T16:31:48Z</dc:date>
    <item>
      <title>Database User Account Health Rule Setup</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Database-User-Account-Health-Rule-Setup/m-p/739794#M11591</link>
      <description>&lt;P&gt;Hoping this is the correct board to post this question.&amp;nbsp; I need help in setting up a health rule for our Oracle database so I can be alerted if one of our application user accounts get locked.&amp;nbsp; For the life of me I can't seem to find where I can define that.&amp;nbsp; Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 16:31:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Database-User-Account-Health-Rule-Setup/m-p/739794#M11591</guid>
      <dc:creator>Gregory_Barnes</dc:creator>
      <dc:date>2021-02-03T16:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Database User Account Health Rule Setup</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Database-User-Account-Health-Rule-Setup/m-p/739795#M11592</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/145841"&gt;@Gregory.Barnes&lt;/A&gt;,&lt;/P&gt;

&lt;P&gt;Database custom metrics can be used in this situation.&lt;BR /&gt;&lt;A href="https://docs.appdynamics.com/21.7/en/database-visibility/monitor-databases-and-database-servers/configure-custom-metrics" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/21.7/en/database-visibility/monitor-databases-and-database-servers/configure-custom-metrics&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can create a custom metric by specifying SQL queries to run on the monitored database.&lt;BR /&gt;A custom metric with a number of locked users from the user table may work for you.&lt;/P&gt;

&lt;P&gt;Then you can create a health rule and a policy to get an alert.&lt;BR /&gt;Please see the document below for alert and respond policy structure.&lt;BR /&gt;&lt;A href="https://docs.appdynamics.com/21.7/en/appdynamics-essentials/alert-and-respond#AlertandRespond-AlertandRespondPolicyStructure" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/21.7/en/appdynamics-essentials/alert-and-respond#AlertandRespond-AlertandRespondPolicyStructure&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;As a side note, you can query pdb by &amp;lt;tablenamme&amp;gt;@&amp;lt;pdb name&amp;gt;. &lt;BR /&gt;Also, please remove semicolon at the end of the query.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px" style="padding-left : 30px;"&gt;e.g. select count(*) from ABC@XYZ&lt;BR /&gt;XYZ is PDB and ABC is the table name.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px" style="padding-left : 30px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Hiroki&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 05:47:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Database-User-Account-Health-Rule-Setup/m-p/739795#M11592</guid>
      <dc:creator>Hiroki_Ito</dc:creator>
      <dc:date>2021-07-21T05:47:13Z</dc:date>
    </item>
  </channel>
</rss>

