cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Openldap implement with Oneagent agent

sitthaja
Newcomer

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

 

10 REPLIES 10

skrystosik
DynaMight Guru
DynaMight Guru

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, 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


Regards, Sebastian

sitthaja
Newcomer

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


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

https://www.dynatrace.com/news/blog/extend-dynatrace-custom-monitoring-plugins/

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


Regards, Sebastian

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

Sittha


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


Regards, Sebastian

Thanks a lot, Sebastian


Julius_Loman
DynaMight Legend
DynaMight Legend

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.


Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

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.


You can read more here:

https://www.dynatrace.com/news/blog/dynatrace-oneagent-sdk-c-service-transaction-monitoring-c-native-applications/

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.


Regards, Sebastian

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.


Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts