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

Read .PEM files and add data in Dynatrace

bhushansoni
Visitor

Hi, we have some .PEM certs that Dynatrace doesn't identify using SSL cert extension, as these certs are not running on any domain or port. 

So we want to read all details from these certs and add the result in Dynatrace. 

I created a python scripts and added result in excel, but I want to do it in automated way using Dynatrace extension. 


Please let us know how to achieve that. 

Thank you 

3 REPLIES 3

sujit_k_singh
Advisor

Hello @bhushansoni 

Since you already have a Python script parsing .pem files, you can turn that into a Dynatrace Extension 2.0 (Python). At a high level, the steps are: install the Dynatrace Extensions SDK, define an activation schema, implement the logic in __main__.py, then build and upload the extension.
However, this process can be a bit complex. In one of my client projects, I followed another approach:

Ran the Python script externally. Pushed the parsed certificate data into Dynatrace using the Metrics v2 API (or OpenPipeline for richer data). Finally, created dashboards and alerts based on the ingested metrics.

Dynatrace Professional Certified

Thank you for your reply , i dont want any manual steps to run the script and upload result to dynatrace , i will try other approach with extension , thank you 

Yes, that’s definitely the best approach. In my case, the requirement was for a lower environment, so I opted for the external script method to avoid adding extra overhead on the ActiveGate and keep things lightweight. For production or long-term automation, building an Extension is the right choice because it ensures native integration, better maintainability, and avoids manual intervention
Dynatrace Professional Certified

Featured Posts