# Openldap implement with Oneagent agent

**URL:** <https://community.dynatrace.com/t/openldap-implement-with-oneagent-agent/18950>\
**Category:** Open Q&A\
**Tags:** oneagent, ldap\
**Created:** [December 24, 2018, 6:53am UTC](https://community.dynatrace.com/t/openldap-implement-with-oneagent-agent/18950 "2018-12-24T06:53:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![sitthaja](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sitthaja](https://community.dynatrace.com/u/sitthaja)\
**Post date:** [December 24, 2018, 6:53am UTC](https://community.dynatrace.com/t/openldap-implement-with-oneagent-agent/18950/1 "2018-12-24T06:53:59Z")

</div>

Hi Dynatrace,

I’d like to monitoring OpenLDAP DB server by Oneagent agent.  
So, does Oneagent can monitoring OpenLDAP similar with MongoDB ?  
I’ve try to install on this server but have no transaction found.

Thanks  
Regards,  
Sittha Jaidee

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [December 24, 2018, 8:27am UTC](https://community.dynatrace.com/t/openldap-implement-with-oneagent-agent/18950/2 "2018-12-24T08:27:18Z")

</div>

Hello,

Dynatrace will not recognize transactions on DB when you will install agent only on DB host. Such informations are recorded on application endpoint ([ado.net](http://ado.net), jdbc, php pdo etc). You should install agent there.

Installing on DB host only will give you informations about hosts and maybe process performance without transactions. You can also write plugin which will take additional metrics from your DB but you will never catch transactions there.

Regards,

Sevastan

---

<div class="post-metadata">

**Author:** ![sitthaja](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sitthaja](https://community.dynatrace.com/u/sitthaja)\
**Post date:** [December 24, 2018, 8:36am UTC](https://community.dynatrace.com/t/openldap-implement-with-oneagent-agent/18950/3 "2018-12-24T08:36:24Z")

</div>

Hi

Thank you for your answer and suggestion.  
Any document or tutorial that I can following for write plugin which will take additional metrics from my OpenLDAP server please.  
I’ve try to searching but found nothing related with OpenLDAP server.

Thank you  
Regards,  
Sittha

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [December 24, 2018, 9:43am UTC](https://community.dynatrace.com/t/openldap-implement-with-oneagent-agent/18950/4 "2018-12-24T09:43:48Z")

</div>

I don’t think that any exist now but it’s quite easy to develop using Dynatrace tools:

> **[Dynatrace Blog](https://www.dynatrace.com/news/blog/)**
>
> Stay updated on the latest news on observability, automation, AI, and app security. Look here for actionable insights for optimizing your digital ecosystem.

Here is good article about that, there is also a link to some examples of plugins that are included in dynatrace. You can use them as starting point 🙂

Sebastian

---

<div class="post-metadata">

**Author:** ![sitthaja](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sitthaja](https://community.dynatrace.com/u/sitthaja)\
**Post date:** [December 24, 2018, 9:47am UTC](https://community.dynatrace.com/t/openldap-implement-with-oneagent-agent/18950/5 "2018-12-24T09:47:10Z")

</div>

This mean Oneagent doesn’t out of the box support OpenLDAP, am I correct ?

Sittha

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [December 24, 2018, 9:54am UTC](https://community.dynatrace.com/t/openldap-implement-with-oneagent-agent/18950/6 "2018-12-24T09:54:23Z")

</div>

I didn’t find openldap in supported technology so I’m afraid not. As I said, those extra metrics can be acheaved via plugin (for example for mssql you will se deadlock, pagelife etc). But this will be not transaction metrics. But If you have application process that is communicating with this DB i it possible that you will see DB transactions from application end (as I’ve said previously).

Sebastian

---

<div class="post-metadata">

**Author:** ![sitthaja](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sitthaja](https://community.dynatrace.com/u/sitthaja)\
**Post date:** [December 25, 2018, 2:54am UTC](https://community.dynatrace.com/t/openldap-implement-with-oneagent-agent/18950/7 "2018-12-25T02:54:11Z")

</div>

Thanks a lot, Sebastian

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [December 27, 2018, 9:10am UTC](https://community.dynatrace.com/t/openldap-implement-with-oneagent-agent/18950/8 "2018-12-27T09:10:08Z")

</div>

To get transaction data (PurePaths) it would be necessary to instrument the OpenLDAP manually by the Dynatrace SDK. This is almost certainly achievable but will require a decent C knowledge and you will need to use your custom build of OpenLDAP.

I don’t know your environment and situation, I don’t think it worth the effort.

With OneAgent plugins, you can get just metrics, but no individual transactions.

---

<div class="post-metadata">

**Author:** ![sitthaja](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sitthaja](https://community.dynatrace.com/u/sitthaja)\
**Post date:** [December 27, 2018, 10:11am UTC](https://community.dynatrace.com/t/openldap-implement-with-oneagent-agent/18950/9 "2018-12-27T10:11:28Z")

</div>

Hi Julius,

Thank you for an answer.  
Is it possible to give me an example metrics that I’d get if I implement with Dynatrace SDK.  
Our core platform use OpenLDAP in term of main database. So, I’d like to see end to end monitoring.

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [December 27, 2018, 10:20am UTC](https://community.dynatrace.com/t/openldap-implement-with-oneagent-agent/18950/10 "2018-12-27T10:20:55Z")

</div>

You can read more here:

> **[Dynatrace OneAgent](https://www.dynatrace.com/platform/oneagent/)**
>
> Experience end-to-end data collection from OneAgent from Dynatrace. Never need another application stack monitoring tool again.

I’ve read more about open LDAP and actually there is like Julius said. If you will compile your own build of OpenLDAP and instrument using tools from dynatrace you should be able to see transactions. But it is really hard work to do if you don’t know the actual code of app and has to create revere engineering.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [December 27, 2018, 12:03pm UTC](https://community.dynatrace.com/t/openldap-implement-with-oneagent-agent/18950/11 "2018-12-27T12:03:05Z")

</div>

You have to distinguish between OneAgent SDK and OneAgent plugins.  
Plugins are written in Python and you are able to collect custom metrics using the Python code and push the metrics to monitored processes (or host).  
SDK is in fact a library that you need to use in the code of your monitored application. It enables you capture transactions, remote calls, etc. So basically the transaction data.

For SDK it is essential that you understand the application code to be able to insert the SDK calls where necessary. Also, keep in mind you will need to use your customized build of the application. It’s definitely a long journey to success.
