# Run "SQL data source" locally on OneAgent

**URL:** <https://community.dynatrace.com/t/run-sql-data-source-locally-on-oneagent/48069>\
**Category:** Extensions\
**Tags:** databases, oracle, extensions\
**Created:** [October 1, 2024, 9:48am UTC](https://community.dynatrace.com/t/run-sql-data-source-locally-on-oneagent/48069 "2024-10-01T09:48:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [October 1, 2024, 9:48am UTC](https://community.dynatrace.com/t/run-sql-data-source-locally-on-oneagent/48069/1 "2024-10-01T09:48:17Z")

</div>

Hello,

From the extension documentation I read:&nbsp;As of now, only&nbsp;[WMI extensions](https://docs.dynatrace.com/docs/extend-dynatrace/extensions20/data-sources/wmi-extensions)&nbsp;and&nbsp;[Prometheus extensions](https://docs.dynatrace.com/docs/extend-dynatrace/extensions20/data-sources/prometheus-extensions)&nbsp;can be run locally.

And from “The Oracle Database Monitoring Configuration”

> **[Oracle Database monitoring configuration](https://docs.dynatrace.com/docs/ingest-from/extensions/develop-your-extensions/data-sources/sql/oracle-monitoring)**
>
> Create and activate a monitoring configuration for an SQL data source based extension for Oracle Database.

I read: “you need to identify the databases you’d like to collect data from and identify the ActiveGates that will execute the extension”

So this means that the “SQL data source” can only be activated on an ActiveGate.

Does this have any practical reason or is this an implementation limitation?

KR Henk

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [October 5, 2024, 6:06pm UTC](https://community.dynatrace.com/t/run-sql-data-source-locally-on-oneagent/48069/2 "2024-10-05T18:06:46Z")

</div>

Hello&nbsp;[@henk\_stobbe](https://community.dynatrace.com/user/11427)

**Thanks for raising these points, we have already exposed such scenario where :**

- We had AG group containing the installed AGs to run extensions.
- These AGs were intended for Oracle DBs monitoring.
- Once you add the extension to the target monitoring tenant \> Select the Ag Group \> accept Dynatrace redistribution license agreement for Oracle JDBC Driver.
- Let’s agree it’s a limitation in monitoring Oracle DBs or SQL DB through Oneagents deployments but Dynatrace developed the new Oracle Database monitoring extension to deliver an extended level of Oracle DBs insights which actually fascinated the customers.
- Via the oneagent deployment through the app server which connects to oracle DB server, you will not get the same metrics or insights as what you get from the deployed extension on the AGs in the AG group.
- From the the app server who initiates communications to Oracle DB server you will get a preliminary insights into the called Oracle Dbs.
- While having the oracle DB extension installed on 2 or more AGs in AG group at least you will be able to configure a dedicated Oracle dashboard containing 85 - 90 metrics to show the deepest level of insights to Oracle DB team.

**Oracle DB monitoring requires configuring one agent features :**

- Node.js Oracle DB
- PHP Oracle

Mainly the communications between the AGs and the Oracle DB instances should be conducted properly on port 1521.

**You can either configure it through:**

- User name and Password.
- Connection string.

 ![2024-10-05_21h50_59.png](https://global.discourse-cdn.com/dynatrace/original/3X/3/3/33963dffe85ef2e66a268768284bccf7e0f7bd2a.png)

 ![2024-10-05_21h52_31.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/6b937f6e33a530d683c8d9178414d8ba09421e75.png)

 ![2024-10-05_21h54_21.png](https://global.discourse-cdn.com/dynatrace/original/3X/3/e/3e36e79fb21cfa8fd04eb7d48a10686f5b02a51f.png)

 ![2024-10-05_21h55_53.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/5/557d5da98b087c0d8f99109c48d17621bc988c49.png)

 ![Peter_Youssef_0-1728151198646.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/7/a74e277546271b0b1b96bc8bdbb4569aefdd9b55.png)

You’re right regarding&nbsp;&nbsp;[WMI extensions](https://docs.dynatrace.com/docs/extend-dynatrace/extensions20/data-sources/wmi-extensions)&nbsp;and&nbsp;[Prometheus extensions](https://docs.dynatrace.com/docs/extend-dynatrace/extensions20/data-sources/prometheus-extensions)&nbsp;can be run locally.

KR,

Peter.

---

<div class="post-metadata">

**Author:** ![Bernhard\_ES](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@Bernhard\_ES](https://community.dynatrace.com/u/Bernhard_ES)\
**Post date:** [April 10, 2025, 12:37pm UTC](https://community.dynatrace.com/t/run-sql-data-source-locally-on-oneagent/48069/3 "2025-04-10T12:37:36Z")

</div>

Hi Peter,  
would I be able to use the local OneAgent on the DB server, using an instant client with an Oracle wallet?  
The advantage would be, that Dynatrace don’t need to have the password for the DynaTrace Oracle user and that the DB responsible can change the PW in DB & Wallet without updating the credentials in Dynatrace  
Rgds  
Bernhard
