I have created my first extension2.0 to scrape a Prometheus OpenMetrics endpoint but before I can reap the rewards of my labour it looks like I’m getting stuck near the very end.
ActiveGate 1.263.143 is deployed onto a Linux host.
The extension never gets pushed to the ActiveGate, even hours after being submitted.
<span>Failed to assign monitoring configuration to ActiveGate. Reason: Extension custom:ome.extension(</span><span class="">0</span><span>.</span><span class="">0</span><span>.</span><span class="">1</span><span>) not available in cache yet (queued for download)</span><br><span>Failed to assign monitoring configuration to ActiveGate. Reason: Cannot extract extension from /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/download/custom_ome.extension: checking signature failed</span>
I’m not sure where to go to find out more detail in the logs.
Extension’s logs are in “/var/lib/dynatrace/remotepluginmodule<CONFIG>/remotepluginmodule” following this link.
I would check if all folder and sub-folders in “/opt/dynatrace/remotepluginmodule<INSTALL>/remotepluginmodule” have correct permisions and I would restart extension service.
Have you made sure to upload your certificate that was used to sign the extension to the ActiveGate Host, it needs to be present in the credential vault as well as in all of the ActiveGate Hosts that will run the extension?Sign extensions — Dynatrace Docs
I’m using VSCode to build extension. When I create certificate it said that already uploaded to credential vault.
Then how to get the certificate file so I could upload it to activegate?
In VSCode, you can download the certificate from your user or workspace settings depending on your configuration, in there it will show the local path where the created certs are store. You can copy it and upload it to the AG server.
If I use VScode then the certificate is named as CA.pem. Copying the file to the AG under the following location and restarting the DEC service is enough or should I do additional steps.