09 Apr 2024 09:43 PM - last edited on 10 May 2024 03:12 PM by Michal_Gebacki
Hello,
So in my ongoing quest of developping custom extensions, I have recently encountered an issued linked to paramiko. When I include paramiko the package it seems to make the runtime environment on the one agent unable to run it, now bear in mind I have included paramiko in the setup.py file and the .whl file is also in the extension.
My primary hypothesis is the 100 KB limit on extensions since paramiko is a large module and it goes well beyond the limit. However, the Remote Unix Monitoring 2.0 extension also include paramiko and is well over 10 MB runs perfectly on our environment.
So my questions are:
1- Am I correct in assuming that the 100KB limit is what's preventing the extension from working?
2- If so, is there a way to go around this limit like the Remote Unix Monitoring 2.0 extension?
Thanks,
Benji_Dynatrace
Solved! Go to Solution.
10 Apr 2024 03:39 PM
Hi,
The limit is actually 25MB so that size should not be a problem. I'd say try with a support ticket as someone needs to have a look at the logs to troubleshoot it.
11 Apr 2024 01:51 PM
You're probably right, I think the package included doesn't seem to want to open, I have included it in my setup:
The version number is the same as my extension.yaml file:
and Paramiko is included in the lib in the extension:
Do you have any idea why it crashes on the one agent?
15 Apr 2024 02:45 PM
I've used paramiko primarily in ActiveGate extensions but occasionally in OneAgent extensions and haven't run across anything like that. Like Mike mentioned, it likely needs to be reviewed with support.