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

Generix Linux Commands extension frequency

g_kat
Helper

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

22 REPLIES 22

radek_jasinski
DynaMight Guru
DynaMight Guru

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.

Have a nice day!

Miguel_RinconG
Dynatrace Advisor
Dynatrace Advisor

JamesKitson
Dynatrace Guru
Dynatrace Guru

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.

@g_kat We just pushed a fix for this today. If you check the Hub page you linked you'll see the new version.

Good news 😉

Have a nice day!

Great, will download and check it out.

Thank you James!

Tried to get it today, but the extension is not available on the Hub. Did it need more fixing?

 

Mike_L
Dynatrace Guru
Dynatrace Guru

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).

Mike

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.

Mike_L
Dynatrace Guru
Dynatrace Guru

Shared.

Mike

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

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.

Mike

Hi MIke,

Ok Ok, I understand, I'm sorry for the confusion on my part.

Thanks, 

Best Regards

Luis

Hi @Mike_L 

Can you share the link to me too please!

 

hello Mike,

Can you share the link to me please!

Mike_L
Dynatrace Guru
Dynatrace Guru

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.

Mike

Thank you Mike. 🙂

Martin-MW
Observer

hello @Mike_L can you share the link with me? 

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.

Mike

Great thnx, I know we will migrate the functionality before October. Just need this to buy some time.

BR Martin

tonicbenn2023
Frequent Guest

Any updates on this? We too are trying to find an alternative that is safe but somewhat similar to the previous functionality. 

PierreGutierrez
Dynatrace Pro
Dynatrace Pro

Hi Community

The link with more information about the migration to Extension Framework 2.0 is this > Unmatched scalability and security of Dynatrace extensions

PierreGutierrez_1-1726631185510.png

 

The Linux Command extension will stop working from 2 Factor ActiveGate and Dynatrace SaaS

PierreGutierrez_0-1726631024988.png

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 💪

 

Pierre Gutierrez - LATAM ACE Consultant - Loving Cats! Loving Technology !

Featured Posts