<?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: Oracle Database Extension - Useful Metrics to Monitor in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Oracle-Database-Extension-Useful-Metrics-to-Monitor/m-p/267366#M5821</link>
    <description>&lt;P&gt;Check the extension information you can find it under&lt;BR /&gt;&lt;A href="https://www.dynatrace.com/hub/detail/oracle-database/" target="_blank" rel="noopener"&gt;Log Management and Analytics&lt;/A&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;H3&gt;Audit log files tracking&lt;/H3&gt;&lt;H4&gt;Check log file's location&lt;/H4&gt;&lt;UL&gt;&lt;LI&gt;SELECT name, value FROM v$parameter WHERE name = 'audit_trail';&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;OS&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;means that the audit logs are stored locally in the file.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SELECT value FROM v$parameter WHERE name = 'audit_file_dest';&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;specifies the log file's location&lt;/P&gt;&lt;H4&gt;Add LogAgent security rules&lt;/H4&gt;&lt;P&gt;Configure LogAgent's security rules to allow access to local files, by adding the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;oracle.json&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file under :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;on Linux/UNIX:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/var/lib/dynatrace/oneagent/agent/config/logmodule&lt;/LI&gt;&lt;LI&gt;on Windows:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;%PROGRAMDATA%\dynatrace\oneagent\agent\config\logmodule&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;{
    "@version": "1.0.0",
    "allowed-log-paths-configuration": [
        {
            "directory-pattern": "/u01/app/oracle/admin/oracle_standalone/adump/",
            "file-pattern": "*.aud",
            "action": "INCLUDE"
        }
    ]
}&lt;/PRE&gt;&lt;P&gt;Agent restart is not required, this config will be applied within 1 minute.&lt;/P&gt;&lt;H4&gt;Configure custom log source and log ingest rules&lt;/H4&gt;&lt;H5&gt;Custom log source&lt;/H5&gt;&lt;P&gt;Use the log file location fetched via the query executed in the first step, e.g.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/u01/app/oracle/admin/oracle_standalone/adump/*.&lt;/P&gt;&lt;H5&gt;Log ingest rules&lt;/H5&gt;&lt;P&gt;An example configuration that includes only&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ORA-01017&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that reports invalid username or password logon attempts could be configured using:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Log content is any of: (.*)RETURNCODE:\[(\d+)\] "1017 AND Log source is any of: /u01/app/oracle/admin/oracle_standalone/adump/*&lt;/P&gt;&lt;H4&gt;Accessing logs&lt;/H4&gt;&lt;P&gt;Logs collected the way described above can be accessed using following DQL query:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fetch logs | filter matchesValue(log.source, "/u01/app/oracle/admin/oracle_standalone/adump/*").&lt;/P&gt;&lt;H4&gt;Metrics extraction&lt;/H4&gt;&lt;H5&gt;Log processing rule&lt;/H5&gt;&lt;P&gt;Configure log processing rule to extract log attributes out of the log content:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Rule name: preferred name&lt;/LI&gt;&lt;LI&gt;Matcher:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;matchesValue(log.source, "/u01/app/oracle/admin/oracle_standalone/adump/*")&lt;/LI&gt;&lt;LI&gt;Processor definition:&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;PARSE(content, "
  DATA ' RETURNCODE:['INT']' SPACE '\"' INT:ora.returncode LD") |
PARSE(content, "
  DATA ' USERID:['INT']'SPACE CSVDQS:ora.userid LD") | 
PARSE(content, "
  DATA ' USERHOST:['INT']'SPACE CSVDQS:ora.userhost LD") &lt;/PRE&gt;&lt;H5&gt;Metric extraction&lt;/H5&gt;&lt;P&gt;Extract metrics from log entries to enable alerting:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Metric key: e.g.log.oracle.invalid_credentials&lt;/LI&gt;&lt;LI&gt;Matcher:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;matchesValue(log.source, "/u01/app/oracle/admin/oracle_standalone/adump/*")&lt;/LI&gt;&lt;LI&gt;Metric measurement:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Occurence of logs records&lt;/LI&gt;&lt;LI&gt;Dimensions: specify the log attributes to be used as metric dimensions&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 14 Jan 2025 11:24:25 GMT</pubDate>
    <dc:creator>PacoPorro</dc:creator>
    <dc:date>2025-01-14T11:24:25Z</dc:date>
    <item>
      <title>Oracle Database Extension - Useful Metrics to Monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Database-Extension-Useful-Metrics-to-Monitor/m-p/267242#M5803</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Just wondering on what metrics are useful to monitor/alert? Curious how everyone has set it up in their environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 13:58:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Database-Extension-Useful-Metrics-to-Monitor/m-p/267242#M5803</guid>
      <dc:creator>badgerfifteen</dc:creator>
      <dc:date>2025-01-13T13:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Database Extension - Useful Metrics to Monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Database-Extension-Useful-Metrics-to-Monitor/m-p/267261#M5805</link>
      <description>&lt;P&gt;My suggestion as minimum:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;STRONG&gt;Related to performance&lt;/STRONG&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;CPU Usage: total amount of CPU time consumed by the Oracle database. High CPU usage could indicate inefficient queries or resource contention.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Database's memory utilization to prevent memory-related issues&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Duration of SQL queries to identify if there's a problem with slow-running/problematic statements&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Logical Reads: number of data blocks read from the buffer cache during query execution. High numbers of logical reads may indicate inefficient SQL queries or missing indexes.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;SQL parse time:&amp;nbsp; High parse times can impact database responsiveness.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Related to resource&lt;/STRONG&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Disk I/O Statistics: read and write operations to evaluate storage subsystem performance&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Average Active Sessions (AAS) and Blocked Sessions compared with Total sessions.&amp;nbsp; This insights into database activity and helps identify bottlenecks related to CPU usage&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Database Health&lt;/STRONG&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Space utilization of tablespaces&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Redo log wait time: High wait times can signify that the log buffer is too small or that the LGWR process isn't writing to disk fast enough&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Wait Events:&amp;nbsp; to identify resource contention and performance bottlenecks&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Others:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Process availability&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Error Rates&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 15:23:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Database-Extension-Useful-Metrics-to-Monitor/m-p/267261#M5805</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2025-01-13T15:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Database Extension - Useful Metrics to Monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Database-Extension-Useful-Metrics-to-Monitor/m-p/267363#M5819</link>
      <description>&lt;P&gt;Thanks. This is a good starter &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed in the extension that it mentioned that you could pull up login calls through the logs. I've tried logging in several times but I've not been able to find an entry relating to logins at all within the logs. Just wondering if you know how to get the most out of the logs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 11:15:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Database-Extension-Useful-Metrics-to-Monitor/m-p/267363#M5819</guid>
      <dc:creator>badgerfifteen</dc:creator>
      <dc:date>2025-01-14T11:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Database Extension - Useful Metrics to Monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Database-Extension-Useful-Metrics-to-Monitor/m-p/267366#M5821</link>
      <description>&lt;P&gt;Check the extension information you can find it under&lt;BR /&gt;&lt;A href="https://www.dynatrace.com/hub/detail/oracle-database/" target="_blank" rel="noopener"&gt;Log Management and Analytics&lt;/A&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;H3&gt;Audit log files tracking&lt;/H3&gt;&lt;H4&gt;Check log file's location&lt;/H4&gt;&lt;UL&gt;&lt;LI&gt;SELECT name, value FROM v$parameter WHERE name = 'audit_trail';&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;OS&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;means that the audit logs are stored locally in the file.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SELECT value FROM v$parameter WHERE name = 'audit_file_dest';&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;specifies the log file's location&lt;/P&gt;&lt;H4&gt;Add LogAgent security rules&lt;/H4&gt;&lt;P&gt;Configure LogAgent's security rules to allow access to local files, by adding the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;oracle.json&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file under :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;on Linux/UNIX:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/var/lib/dynatrace/oneagent/agent/config/logmodule&lt;/LI&gt;&lt;LI&gt;on Windows:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;%PROGRAMDATA%\dynatrace\oneagent\agent\config\logmodule&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;{
    "@version": "1.0.0",
    "allowed-log-paths-configuration": [
        {
            "directory-pattern": "/u01/app/oracle/admin/oracle_standalone/adump/",
            "file-pattern": "*.aud",
            "action": "INCLUDE"
        }
    ]
}&lt;/PRE&gt;&lt;P&gt;Agent restart is not required, this config will be applied within 1 minute.&lt;/P&gt;&lt;H4&gt;Configure custom log source and log ingest rules&lt;/H4&gt;&lt;H5&gt;Custom log source&lt;/H5&gt;&lt;P&gt;Use the log file location fetched via the query executed in the first step, e.g.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/u01/app/oracle/admin/oracle_standalone/adump/*.&lt;/P&gt;&lt;H5&gt;Log ingest rules&lt;/H5&gt;&lt;P&gt;An example configuration that includes only&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ORA-01017&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that reports invalid username or password logon attempts could be configured using:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Log content is any of: (.*)RETURNCODE:\[(\d+)\] "1017 AND Log source is any of: /u01/app/oracle/admin/oracle_standalone/adump/*&lt;/P&gt;&lt;H4&gt;Accessing logs&lt;/H4&gt;&lt;P&gt;Logs collected the way described above can be accessed using following DQL query:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fetch logs | filter matchesValue(log.source, "/u01/app/oracle/admin/oracle_standalone/adump/*").&lt;/P&gt;&lt;H4&gt;Metrics extraction&lt;/H4&gt;&lt;H5&gt;Log processing rule&lt;/H5&gt;&lt;P&gt;Configure log processing rule to extract log attributes out of the log content:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Rule name: preferred name&lt;/LI&gt;&lt;LI&gt;Matcher:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;matchesValue(log.source, "/u01/app/oracle/admin/oracle_standalone/adump/*")&lt;/LI&gt;&lt;LI&gt;Processor definition:&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;PARSE(content, "
  DATA ' RETURNCODE:['INT']' SPACE '\"' INT:ora.returncode LD") |
PARSE(content, "
  DATA ' USERID:['INT']'SPACE CSVDQS:ora.userid LD") | 
PARSE(content, "
  DATA ' USERHOST:['INT']'SPACE CSVDQS:ora.userhost LD") &lt;/PRE&gt;&lt;H5&gt;Metric extraction&lt;/H5&gt;&lt;P&gt;Extract metrics from log entries to enable alerting:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Metric key: e.g.log.oracle.invalid_credentials&lt;/LI&gt;&lt;LI&gt;Matcher:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;matchesValue(log.source, "/u01/app/oracle/admin/oracle_standalone/adump/*")&lt;/LI&gt;&lt;LI&gt;Metric measurement:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Occurence of logs records&lt;/LI&gt;&lt;LI&gt;Dimensions: specify the log attributes to be used as metric dimensions&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Jan 2025 11:24:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Database-Extension-Useful-Metrics-to-Monitor/m-p/267366#M5821</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2025-01-14T11:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Database Extension - Useful Metrics to Monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Database-Extension-Useful-Metrics-to-Monitor/m-p/267367#M5822</link>
      <description>&lt;P&gt;Does this require a OneAgent on the actual database server itself?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 11:40:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Database-Extension-Useful-Metrics-to-Monitor/m-p/267367#M5822</guid>
      <dc:creator>badgerfifteen</dc:creator>
      <dc:date>2025-01-14T11:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Database Extension - Useful Metrics to Monitor</title>
      <link>https://community.dynatrace.com/t5/Extensions/Oracle-Database-Extension-Useful-Metrics-to-Monitor/m-p/267370#M5823</link>
      <description>&lt;P&gt;yes&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 11:53:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Oracle-Database-Extension-Useful-Metrics-to-Monitor/m-p/267370#M5823</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2025-01-14T11:53:52Z</dc:date>
    </item>
  </channel>
</rss>

