21 Nov 2023 12:22 PM - last edited on 22 Nov 2023 09:30 AM by MaciejNeumann
Hi,
I have installed the Generic Linux Commands extension (https://www.dynatrace.com/hub/detail/generic-linux-commands/?query=generix+linux&filter=all) and I'm unable to set the frequency of the command execution. No matter the number I set(or even leave blank) on the execution frequency tab, the command runs and ingests to Dynatrace every minute.
Has anyone else faced the same issue on this extension?
George
Solved! Go to Solution.
21 Nov 2023 01:56 PM
Perhaps there is an error in the setting of the "Frequency" parameter. I understand that you set the value here?
Would suggest reporting the problem to support.
21 Nov 2023 03:39 PM
Hi,
I recommend you can use the Remote Unix Monitoring 2.0: https://www.dynatrace.com/hub/detail/remote-unix-monitoring-20/?query=Remote+Unix+Monitorin&filter=a...
22 Nov 2023 03:22 PM
Hi George, I looked into this and was able to reproduce. It looks like there was an issue incrementing the counter that is used in setting the frequency. I have a fix and will be updating on the Hub once it is ready. I'll post here at that time once it is available.
23 Nov 2023 03:43 AM
@g_kat We just pushed a fix for this today. If you check the Hub page you linked you'll see the new version.
23 Nov 2023 06:37 AM
Good news 😉
23 Nov 2023 07:06 AM
Great, will download and check it out.
Thank you James!
24 Nov 2023 09:37 AM
Tried to get it today, but the extension is not available on the Hub. Did it need more fixing?
24 Nov 2023 09:46 AM - edited 24 Nov 2023 09:47 AM
The extension is seen as a potential security risk due to the ability to execute commands on any server where the extension is present, and it is therefore removed. If you still want to use it I can reach out to you over email with a link to the new version. Just let me know here (there is no need to share your email address).
24 Nov 2023 09:50 AM
Hi Mike,
I understand the potential risk, but I'd still like to have that option. I would greatly appreciate if you could share it with me.
30 Nov 2023 01:16 PM
Hello Mike
I would like to use this extention, I installed "Linux Commands (version 1.021)", because this the disponible version in Dynatrace Hub, It's this the last version? I would like to known more about the security risk.
Thanks
Luis
30 Nov 2023 01:25 PM
The latest version of the Generic Linux Commands extension is version 1.0.5, but it was removed due to a potential security risk as it allows people with access to the UI to execute commands as dtuser on OneAgent monitored hosts.
We do require a manual interaction of copying the extension file to the OneAgent, proving that you have access to the host and are accepting that the code is being executed on said host. However, not everyone might be aware of what the implications are of said extension when they copy the files to the host.
As you mentioned version 1.021, you're probably referring to another extension than what this thread is about, the Synthetic Monitor SSH extension.
30 Nov 2023 01:29 PM
Hi MIke,
Ok Ok, I understand, I'm sorry for the confusion on my part.
Thanks,
Best Regards
Luis
01 Apr 2024 04:49 PM
hello Mike,
Can you share the link to me please!
02 Apr 2024 11:35 AM
Will do. Please keep in mind that the extensions discussed in this thread is built in extension framework 1.0, and will stop working in October.
15 Apr 2024 08:56 AM
hello @Mike_L can you share the link with me?
16 Apr 2024 01:00 PM - edited 16 Apr 2024 01:00 PM
Coming right up. Please keep in mind that the extensions in question are written in extension framework 1.0 and will stop working in October.
16 Apr 2024 01:32 PM
Great thnx, I know we will migrate the functionality before October. Just need this to buy some time.
BR Martin
04 Sep 2024 05:16 PM
Any updates on this? We too are trying to find an alternative that is safe but somewhat similar to the previous functionality.
18 Sep 2024 04:49 AM
Hi Community
The link with more information about the migration to Extension Framework 2.0 is this > Unmatched scalability and security of Dynatrace extensions
The Linux Command extension will stop working from 2 Factor ActiveGate and Dynatrace SaaS
With version 1.301 of both ActiveGate and Dynatrace SaaS, this extension will no longer work.
I suggest you could create a Dynatrace ticket, so a workaround can be evaluated. 💪
I hope it's helpful 💪