Database Monitoring provides deep visibility into your Oracle databases by exposing query samples that help profile different workloads and quickly diagnose performance issues. The Atatus Infrastructure Agent collects telemetry directly from the database by logging in as a read-only Oracle user, ensuring safe and non-intrusive monitoring.

Before You Begin

To enable Oracle Database Monitoring with Atatus, complete the following steps:

1. Create the Atatus user

Create a read-only Atatus user and grant the required permissions.

2. Grant the user access to the database

Run the following commands while logged in as sysdba.
If metrics are not visible after granting the above permissions, the database may be using a custom profile. In such cases, Atatus requires access to DBMS_LOB for internal query execution. You can grant this access by executing the following command:
If you have configured custom queries on a Pluggable Database (PDB), the monitoring user must be allowed to switch containers. You can enable this by executing the following command:

3. Create Required View

Create the required view, and grant access to the Atatus database user. while logged in as sysdba.

4. Configure Atatus Infra Agent

Update the configuration file by adding the following configuration to /etc/atatus-infra-agent/conf.d/oracle.d/oracle.yml:
Note: Replace the placeholders (<PORT>, <REPLACE_PASSWORD>, and <REPLACE_SERVICE_NAME>) with your actual Oracle database connection details.

5. Restart the Atatus Infra Agent

Restart the Atatus Infra Agent to apply the changes: